Skip to content

test(project): complete coverage and self-analysis - #47

Merged
batuthzcode merged 4 commits into
mainfrom
agent/test-coverage-self-analysis
Aug 18, 2026
Merged

test(project): complete coverage and self-analysis#47
batuthzcode merged 4 commits into
mainfrom
agent/test-coverage-self-analysis

Conversation

@batuthzcode

Copy link
Copy Markdown
Owner

Summary

  • completes the remaining CLI, exit-code, JSON, OSV, rule, and demo tests
  • raises combined statement and branch coverage to 98.6%
  • enforces a 97% coverage floor in GitHub Actions
  • adds deterministic whole-project self-analysis generation and drift checking
  • stores the canonical project analysis report
  • documents findings, coverage exclusions, and reproduction commands

Self-analysis result

The initial project scan returned 10 findings. Four maintainability findings in tests were refactored, and one test-fixture false positive was removed without weakening the hardcoded-secret rule test.

The final report contains exactly five intentional true positives from sample_app/analyzer_demo.py. There are no known false positives in the final report.

Verification

  • 1044 tests passed
  • combined statement/branch coverage: 98.6%
  • required CI coverage: 97.0%
  • workflow YAML and pyproject TOML parsing passed
  • Python compile check passed
  • sample-app reports are current
  • whole-project self-analysis report is current
  • git diff check passed

@batuthzcode
batuthzcode marked this pull request as ready for review August 18, 2026 13:23
@batuthzcode
batuthzcode merged commit 8bf26bd into main Aug 18, 2026
3 checks passed
@batuthzcode
batuthzcode deleted the agent/test-coverage-self-analysis branch August 18, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant