-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add line numbers to Halstead results #248
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm currently adding a feature to wily that allows annotating source code with radon metrics. Cyclomatic Complexity results already have
lineno
andendline
entries, making annotation trivial. However, Halstead metrics don't have this information.We are able to work around this issue by subclassing
HalsteadVisitor
andHCHarvester
to add line numbers, but thought maybe this feature would be accepted upstream.If there's interest, I can submit a PR once #247 either lands or is rejected.
The text was updated successfully, but these errors were encountered: