Skip to content

fix(scanner): report physical function line counts (END-175) - #49

Merged
endrilickollari merged 1 commit into
mainfrom
lickollariendri/end-175-python-lines-of-code
Oct 13, 2026
Merged

endrilickollari merged 1 commit into
mainfrom
lickollariendri/end-175-python-lines-of-code

Conversation

@endrilickollari

Copy link
Copy Markdown
Owner

Fixes END-175: Python, JavaScript and Java complexity analyzers now populate lines_of_code using the physical function span (end_line - start_line + 1), matching the Go analyzer.

Function names, source boundaries, severity, complexity and debt calculations remain unchanged. Tests cover Python definition variants and newline boundaries, JavaScript/Java counts, and propagation into public scanner results.

SaaS requires a scanner dependency update after release and a rescan to replace previously stored zero counts.

Type of change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly — no documentation changes required for this metric correction

@debtdrone

debtdrone Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🛡️ DebtDrone PR Analysis

Metric Status
Project Health F 🔴
Total Issues 180
New Issues 0 ✅

🔍 Top New Issues

No technical debt issues were detected in this change. Great job! ✅


View Full Details & AI Remediation on DebtDrone Dashboard


Generated by DebtDrone Automated Scanner

@endrilickollari
endrilickollari merged commit 3adff0a into main Oct 13, 2026
5 checks passed
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