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

Operater ".?" is counted incorrectly #5

Open
mobiledeve opened this issue Sep 22, 2017 · 0 comments
Open

Operater ".?" is counted incorrectly #5

mobiledeve opened this issue Sep 22, 2017 · 0 comments

Comments

@mobiledeve
Copy link

if (valueTable==null || valueTable.Rows==null) { // }
and
if (valueTable?.Rows==null) { // }
should have same complexity value, because they are logically identical and they both have 2 decision points.

But currently if (valueTable?.Rows==null) is counted as 1 decision point.

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

1 participant