Source:
<code>public void project_level() { assertThat(getProjectMeasureAsInt(NCLOC)).isEqualTo(1); assertThat(getProjectMeasureAsInt(LINES)).isEqualTo(6); assertThat(getProjectMeasureAsInt(FILES)).isEqualTo(1); assertThat(getProjectMeasureAsInt(STATEMENTS)).isEqualTo(1); assertThat(getProjectMeasureAsInt(FUNCTIONS)).isEqualTo(1); assertThat(getProjectMeasureAsInt(CLASSES)).isEqualTo(0); assertThat(getProjectMeasureAsInt(COMMENT_LINES)).isEqualTo(1); assertThat(getProjectMeasureAsDouble(COMMENT_LINES_DENSITY)).isEqualTo(50.0); assertThat(getProjectMeasureAsDouble(COMPLEXITY)).isEqualTo(2.0); <START> assertThat(getProjectMeasureAsDouble(COGNITIVE_COMPLEXITY)).isEqualTo(1.0); <END> assertThat(getProjectMeasureAsDouble(FUNCTION_COMPLEXITY)).isNull(); assertThat(getProjectMeasure(FUNCTION_COMPLEXITY_DISTRIBUTION).getValue()).isEqualTo("1=0;2=1;4=0;6=0;8=0;10=0;12=0;20=0;30=0"); assertThat(getProjectMeasureAsDouble(FILE_COMPLEXITY)).isEqualTo(2.0); assertThat(getProjectMeasure(FILE_COMPLEXITY_DISTRIBUTION).getValue()).isEqualTo("0=1;5=0;10=0;20=0;30=0;60=0;90=0"); assertThat(getProjectMeasureAsDouble(DUPLICATED_LINES)).isZero(); assertThat(getProjectMeasureAsDouble(DUPLICATED_BLOCKS)).isZero(); assertThat(getProjectMeasureAsDouble(DUPLICATED_FILES)).isZero(); assertThat(getProjectMeasureAsDouble(DUPLICATED_LINES_DENSITY)).isZero(); assertThat(getProjectMeasureAsDouble(VIOLATIONS)).isZero(); assertThat(getProjectMeasureAsInt(TESTS)).isNull(); assertThat(getProjectMeasureAsDouble(COVERAGE)).isZero(); }</code><technical_language>I another file get another for cognitive complexity here, showing is computed file/project functions level anymore</technical_language>

Target:
public void project_level() { assertThat(getProjectMeasureAsInt(NCLOC)).isEqualTo(6); assertThat(getProjectMeasureAsInt(LINES)).isEqualTo(13); assertThat(getProjectMeasureAsInt(FILES)).isEqualTo(2); assertThat(getProjectMeasureAsInt(STATEMENTS)).isEqualTo(5); assertThat(getProjectMeasureAsInt(FUNCTIONS)).isEqualTo(1); assertThat(getProjectMeasureAsInt(CLASSES)).isEqualTo(0); assertThat(getProjectMeasureAsInt(COMMENT_LINES)).isEqualTo(1); assertThat(getProjectMeasureAsDouble(COMMENT_LINES_DENSITY)).isEqualTo(14.3, OFFSET); assertThat(getProjectMeasureAsDouble(COMPLEXITY)).isEqualTo(3.0, OFFSET); assertThat(getProjectMeasureAsDouble(COGNITIVE_COMPLEXITY)).isEqualTo(3.0, OFFSET); assertThat(getProjectMeasureAsDouble(FUNCTION_COMPLEXITY)).isNull(); assertThat(getProjectMeasure(FUNCTION_COMPLEXITY_DISTRIBUTION).getValue()).isEqualTo("1=0;2=1;4=0;6=0;8=0;10=0;12=0;20=0;30=0"); assertThat(getProjectMeasureAsDouble(FILE_COMPLEXITY)).isEqualTo(1.5, OFFSET); assertThat(getProjectMeasure(FILE_COMPLEXITY_DISTRIBUTION).getValue()).isEqualTo("0=2;5=0;10=0;20=0;30=0;60=0;90=0"); assertThat(getProjectMeasureAsDouble(DUPLICATED_LINES)).isEqualTo(0.0, OFFSET); assertThat(getProjectMeasureAsDouble(DUPLICATED_BLOCKS)).isEqualTo(0.0, OFFSET); assertThat(getProjectMeasureAsDouble(DUPLICATED_FILES)).isEqualTo(0.0, OFFSET); assertThat(getProjectMeasureAsDouble(DUPLICATED_LINES_DENSITY)).isEqualTo(0.0, OFFSET); assertThat(getProjectMeasureAsDouble(VIOLATIONS)).isEqualTo(0.0, OFFSET); assertThat(getProjectMeasureAsInt(TESTS)).isNull(); assertThat(getProjectMeasureAsDouble(COVERAGE)).isEqualTo(0.0, OFFSET); }