Skip to content

#3265 step 6: call-derived file edges in the dependency graph (blast radius, PageRank) #3333

Closed

Description

@squid-protocol

Part of #3265 (feature 2). Do last. Depends on #3328, and on #3332 having measured resolution accuracy. Generalizes the open question in #3237 (mainframe call/exec edges) to every language.

Proposal: when a file's functions call confidently resolved functions in another file that it does not import (common in C, PHP, Ruby and mainframe code), add a file-to-file edge. Open questions, all the same as #3237's:

  1. Which confidence levels count (probably unique + scoped only)?
  2. Same weight as an import edge, or lower?
  3. Do they feed the existing pagerank_score / popularity / internal_dependency_links / blast radius, or new parallel columns?

Why last: this is the only step that moves published numbers for every repo. It needs a golden-master bless, a before/after on real corpora, and the Level-2 accuracy from #3332 to justify it. Decide jointly with #3237 so mainframe and non-mainframe edges follow one rule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-engineenhancementquestion

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions