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

Fix the executable lines of code count to ignore attributes #1649

Closed
Evangelink opened this issue Aug 9, 2018 · 0 comments
Closed

Fix the executable lines of code count to ignore attributes #1649

Evangelink opened this issue Aug 9, 2018 · 0 comments
Assignees
Labels
Type: False Positive Rule IS triggered when it shouldn't be.
Milestone

Comments

@Evangelink
Copy link
Contributor

Description

Currently doing a concatenation inside of an attribute will result in the count of executable lines of code to be increased. This is a False Positive.

Repro steps

See https://next.sonarqube.com/sonarqube/component_measures?id=sonaranalyzer-csharp-vbnet&metric=coverage&selected=sonaranalyzer-csharp-vbnet%3Asonaranalyzer-csharp-vbnet%3A39CCD086-A7F8-42A0-B402-3C9BD9EB4825%3AProperties%2FAssemblyInfo.cs

@Evangelink Evangelink added Area: Rules Type: False Positive Rule IS triggered when it shouldn't be. labels Aug 9, 2018
@Evangelink Evangelink added this to the 7.4 milestone Aug 9, 2018
@Evangelink Evangelink self-assigned this Aug 9, 2018
@Evangelink Evangelink changed the title Fix the executable lines of code walker with attributes Fix the executable lines of code count to ignore attributes Aug 9, 2018
@ghost ghost removed the Status: Needs Review label Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: False Positive Rule IS triggered when it shouldn't be.
Projects
None yet
Development

No branches or pull requests

1 participant