SENTINEL sentinel-agent
Sentinel Quality Report

SENTINEL QUALITY REPORT

sentinel-agent
c286695 on main
45 finding(s); weakest dimension: Maintainability.
band adequate (provisional)archetype monorepofiles 162lines 12,231scan cold 646msindex 740.1 KB
78
/ 100
adequate
quality band (provisional) - medium confidence

At a glance

46
Source files
23
Test files
0.5:1
Test ratio
212
Max complexity
9
Oversized files
36
TODOs
1
Parse errors

Dimensions 6

ArchMaintTestsDocsDepsSec
Score radar
๐Ÿ—Architecture
A+

monorepo; pyproject.toml; 0 import cycle(s).

score 100/100 | medium confidence
๐ŸงนMaintainability
D

46 source files; 9 over 500 lines; 36 TODOs; max complexity 212; 1 parse error(s).

benchmarks/fixtures/defect_corpus/app/broken.pybenchmarks/fixtures/defect_corpus/app/utils.pydemo/server.py
score 65/100 | medium confidence
๐ŸงชTests
A+

23 test files; ratio 0.50; 6 test-signal finding(s).

src/sentinel2/__main__.pysrc/sentinel2/quality.pysrc/sentinel2/renderers/html.py
score 98/100 | medium confidence
๐Ÿ“šDocs
A+

0 canonical documentation finding(s); translations excluded from scoring.

score 100/100 | medium confidence
๐Ÿ“ฆDependencies
A

2 dependency/hygiene finding(s); no lockfile; 4 unpinned dependency string(s).

benchmarks/fixtures/cpp_repo/CMakeLists.txtpyproject.toml
score 94/100 | medium confidence
๐Ÿ”Security
A

Basic pattern checks only; 5 secret-like match(es); 3 dynamic-execution and 2 debug finding(s).

benchmarks/fixtures/defect_corpus/app/security.pytests/test_s2_analyze.pytests/test_s2_calibration.py
score 96/100 | medium confidence

What to fix first 5 of 45

Python parse error

highmaintainabilityhigh
MNT009 - benchmarks/fixtures/defect_corpus/app/broken.py
  • invalid syntax (line 4)
A file that does not parse cannot be analysed or imported safely.

Very high cyclomatic complexity

highmaintainabilityhigh
MNT007 - benchmarks/fixtures/defect_corpus/app/utils.py:4
  • classify at line 4
  • 58 lines
  • complexity 29
Very high branching complexity makes a function hard to test exhaustively.

Very high cyclomatic complexity

highmaintainabilityhigh
MNT007 - src/sentinel2/analyze.py:442
  • _manifest_meta at line 442
  • 86 lines
  • complexity 41
Very high branching complexity makes a function hard to test exhaustively.

Very high cyclomatic complexity

highmaintainabilityhigh
MNT007 - src/sentinel2/classify.py:499
  • detect_archetype at line 499
  • 40 lines
  • complexity 28
Very high branching complexity makes a function hard to test exhaustively.

Very high cyclomatic complexity

highmaintainabilityhigh
MNT007 - src/sentinel2/findings.py:283
  • detect_findings at line 283
  • 741 lines
  • complexity 212
Very high branching complexity makes a function hard to test exhaustively.

Action plan 2

Add tests around the top hotspots
The riskiest source paths have no direct static test evidence.
high impactmedium effort
Split high-complexity functions and add branch tests
Complex branching is the most expensive code to change safely.
medium impacthigh effort

Architecture

Archetype
monorepo
Components
benchmarksdemoinstall.ps1sentinel.pysentinel2tools
Entry points
pyproject.tomlsrc/sentinel2/__main__.pybenchmarks/fixtures/rust_cli/src/main.rsbenchmarks/fixtures/go_service/cmd/service/main.go
Hotspots
src/sentinel2/findings.pysrc/sentinel2/renderers/html.pysrc/sentinel2/quality.pytools/calibrate.pysrc/sentinel2/analyze.py

Coverage

Source
100%
Tests
100%
Docs
metadata
Vendor
none
Generated
excluded
Examples
excluded

vendor 0 | generated 1 | docs translations 0 | examples 6. Documentation translations, examples, generated files and vendored code do not drive source quality.

Changed since last scan

Baseline

Initial scan - no previous snapshot to compare. This run established the baseline for future deltas.

Notes and limitations

6 limitation(s) - what this report does not claim
  • Security checks are basic pattern checks only; they are not a security audit.
  • Documentation content is read only for README unless --include-docs is used.
  • Churn requires a git repository and recent history.
  • Non-Python languages use conservative heuristics, not deep semantic analysis.
  • 3 file(s) were skipped; see coverage.
  • The overall score is capped at A+: the analysed code is too small to demonstrate the sustained quality the top of the scale implies.