Skip to content

Operater ".?" is counted incorrectly #5

@mobiledeve

Description

@mobiledeve

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions