Line number storage for functions, methods, and classes (v0.8.4) - #91
Merged
Conversation
- Add line_number field to FunctionInfo and ClassInfo models - Capture lineno from AST nodes during extraction - Store line_number property in Neo4j for Function/Method/Class nodes - Update param_complexity query to use line_number instead of null - All 289 unit tests passing
octo-youcef
force-pushed
the
feature/line-number-storage
branch
from
May 1, 2026 06:00
fca9e69 to
7124f77
Compare
ydkadri
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds line number storage to enable "navigate to source" functionality for quality rule violations.
Closes #87
Changes
line_number: int | Nonefield toFunctionInfoandClassInfolinenoattribute from function and class definition nodesline_numberproperty in Neo4j for Function, Method, and Class nodesnull)Benefits
Testing
Commits
🤖 Generated with Claude Code