Skip to content
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

CFLint - wrong line number in XML report #179

Closed
michalkrol opened this issue Jun 16, 2016 · 1 comment
Closed

CFLint - wrong line number in XML report #179

michalkrol opened this issue Jun 16, 2016 · 1 comment

Comments

@michalkrol
Copy link

michalkrol commented Jun 16, 2016

ERROR: Error during SonarQube Scanner execution
ERROR: 72 is not a valid line for pointer. File [moduleKey=Module, relative=handlers/login.cfc, basedir=C:\sandbox\module] has 28 line(s)
ERROR:

Doing CFLint analyze on ColdFusion code, in the XML report there are wrong line numbers given for errors. Line numbers are way higher than count of numbers in file. This issue is spotted when analyze is performed for project with multiple files. Report for the same file analyzed alone returns proper line numbers.

@michalkrol
Copy link
Author

Error occur when there is the same method name in different files, then files line numbers are summed.

w.txt

ryaneberly added a commit that referenced this issue Jun 17, 2016
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

No branches or pull requests

2 participants