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
5.7to6.6base 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 52% 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
0
3 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__srcsrccligenerationhealthingestionpersiste…servertest_pro…workspaceagent_targe…commandsanalysisgenerationingestionworkspacemcp_serverroutersc4graphcomponen…mcp
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 3,306 of 3,706 files at a readable size, grouped by directory and sized by lines of code. 4 changed here reach 9 more by import. 400 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.…scoring.pysignals.pysql_compl…suggestio…trends.pyRE…ar…ba…bl…bl…bra…bum…cha…chu…co_…cod…com…com…cov…cov…def…dev…dry…fu…hidd…io_…kno…lar…own…pan…pri…regis…re…se…st…un…RE…as…ast_utils.…class_anal…cyclomatic…error_handl…languages.pymodels.pyperf_w…walker.pycfg.pyfacts.…ga…pa…re…slice.pydetector.pyli…pa…to…token…gated.pyio_bound…opportun…promotio…__i…bre…ext…extract_h…extract_m…graph_…models…move_m…recommen…split_file…base.…cpp.pygo.pyjava.pypython.…rust.…ts_js…base.pycpp.pycsharp.pydart.pygo.pyjava.pykotlin.pypython.pyruby.pyru…scala.pyts_js.pyenrich.py

146 files, 3 changed by this PR and 9 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 (0)
  • Nothing added in the changed lines.
Resolved (3)
  • dry violation
    packages/core/src/repowise/core/analysis/health/complexity/models.py
  • function hotspot
    packages/core/src/repowise/core/analysis/health/perf/gated.py
  • dry violation
    packages/core/src/repowise/core/analysis/health/perf/gated.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 100% of 5 commits
  • packages/core/src/repowise/core/analysis/health/complexity/walker.pyRaghav Chamadiya 92% of 20 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.

fix(health): exclude Rust inline test code from perf findings · repowise-dev/repowise #1855 · Repowise