Ross ROSS = Recommend OSS · open-source software intelligence for agents

sebastianbergmann/code-unit-reverse-lookup

Looks up which function or method a line of code belongs to observed · 2026-08-28

github.com/sebastianbergmann/code-unit-reverse-lookup · PHP · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

33/100

  • Activity 23
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3859
  • days_rel: n/a
  • days_push: 465
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

6679 stars · 7 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A small PHP library that maps a line of code to the function or method it belongs to. It is primarily used as a dependency of PHPUnit and is now a low-maintenance project.

Use cases

  • find which function a line of php code belongs to
  • map stack trace line numbers to methods
  • resolve code location for error reporting in php
  • determine enclosing method for a given file line
  • support test failure reporting in phpunit

When to choose

  • you need line-to-function mapping in a PHP project
  • you are building PHP tooling that reports code locations
  • you need it as a PHPUnit dependency

When to avoid

  • you need active development or new features
  • you work outside the PHP ecosystem
  • you need full static analysis rather than simple line lookup

Facets

library · maturity maintenance

parser developer-tools developer-tools testing parsers php cli php-library code-introspection phpunit-dependency composer-package

1 source

Member repositories

RepositoryRoleHealth v2
sebastianbergmann/code-unit-reverse-lookupmain33

For agents

markdown · JSON · MCP: product_card(name="sebastianbergmann/code-unit-reverse-lookup")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem