fix(health): exclude Rust inline test code from perf findings

Analysed against 71e56dc84 files changedby NullSense
Open PR on GitHub

Change-risk score

8.8out of 10Typical
Repository health
6.1to6.8base against this head

This change sits in the middle third of this repository's own risk distribution, so it is about as risky as the work around it. It is riskier than 51% of this repository's own commits.

No changed file lost health in this diff. Nothing outside this PR depends on a contract it changed.

Files changed
4
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
1
1 resolved

Blast radius on the repo map

Every file in the repository, grouped into its own directories and sized by lines. The ones this PR changes are lit, and everything that imports them is marked.

packagestestsapi-clientclicoreserveruivscodewebunitsrcsrc/repowis…src/repowise/coresrc/repowise/server__tests__srcsrcwebviewsrccligenerationhealthingestionpersiste…servertest_pro…workspaceagent_targ…commandsanalysisgenerationingestionworkspacemcp_serverroutersc4graphcomponen…mcp
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 3,381 of 3,795 files at a readable size, grouped by directory and sized by lines of code. 4 changed here reach 11 more by import. 414 are too small to see at this width, which is what the frame below is for.

Inside packages/core/src/repowise/core/analysis/health

biomarkerscomplexitydataflowduplicationperfrefactoringdialectsdialectsllmRE…ch…co…de…engine.pyfix_attr…function…governan…grading.…scorin…signal…sql_co…sugges…trends.pyREADME.…blo…br…ch…ch…co…co…dr…fu…hid…io_…kno…lar…lar…own…pan…pd_…pri…regis…re…se…unte…READM…asser…ast_u…class_ana…cyclomati…error_han…languages.…mode…perf_walk.pywa…__init_…analyze…cfg.pydefuse.…fact…gati…pars…reac…slice.pydetector.pylimit…pair_…rabi…toke…tok…covera…crossf…facts.…gated.…io_bou…opport…opport…promotion.pyranki…sink_reac…break_cy…extract…extract_hel…move_method.…per…recommendations.pysplit_file.pybase…cpp.…jav…py…rust.pyts_…base…cpp.…csharp…dart…go.pyja…kotlin.pypython.pyruby.pyrus…scala.…ts_js.…enrich.py

155 files, 3 changed by this PR and 11 that import one. Click any directory above to frame it instead.

Changed

What this PR added, and what it took away

Introduced findings are the ones inside the lines this PR added, not the file's existing ones. The resolved column is the only place in the product that lists them.

Introduced (1)
  • mediumcomplex method
    packages/core/src/repowise/core/analysis/health/perf/gated.py:57

    collect_centrality_gated has cyclomatic complexity 12

Resolved (1)
  • dry violation
    packages/core/src/repowise/core/analysis/health/complexity/models.py

Who else knows this code

The primary author of each changed file by share of its recent commits, mined from git history. Advisory: it says who has context, not who must review.

  • packages/core/src/repowise/core/analysis/health/perf/gated.pyRaghav Chamadiya 85% of 7 commits
  • packages/core/src/repowise/core/analysis/health/complexity/walker.pyRaghav Chamadiya 92% of 17 commits
  • packages/core/src/repowise/core/analysis/health/complexity/models.pyRaghav Chamadiya 97% of 9 commits

Tests that cover this change

Test files that import a file this PR changes. Not a coverage measurement: it is the import graph, so it says which tests are worth running, not which lines they reach.

  • tests/unit/health/test_ff_track_iljk_structural.py
  • tests/unit/health/test_file_nloc.py
  • tests/unit/health/test_refactoring_extract_class.py

3 changed files have no test importing them.

Get this on your own pull requests

This page came from an index of repowise-dev/repowise. No model calls, no configuration, and it refreshes on every push. Install the bot and every pull request gets one of these.