Skip to content

Patrick Peters

My feedback

1 result found

  1. 25 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Patrick Peters commented  · 

    This is called branch coverage. NCrunch currently only supports line coverage.

    Because we use Sonar, we always get coverage differences because of Sonar's combined line/branch coverage method,

    Coverage = (CT + CF + LC)/(2*B + EL)
    where:

    CT = conditions that have been evaluated to 'true' at least once
    CF = conditions that have been evaluated to 'false' at least once
    LC = covered lines = linestocover - uncovered_lines
    B = total number of conditions
    EL = total number of executable lines (lines_to_cover)

    see https://docs.sonarqube.org/latest/user-guide/metric-definitions/

    Patrick Peters supported this idea  · 

Feedback and Knowledge Base