Skip to content

Merge pull request #334 from uhafner/pit-line-coverage

Sign in for the full log view
GitHub Actions / Quality Monitor succeeded Apr 1, 2024 in 0s

Quality Monitor

  • 🚦 Tests: 109 tests passed
  • 👣 Code Coverage: 81% coverage achieved
  • 🔬 Mutation Coverage: 75% mutations killed
  • ⚠️ Style: 4 warnings found (0 error, 1 high, 2 normal, 1 low)
  • 🐛 Bugs: 2 warnings found (0 error, 0 high, 0 normal, 2 low)

Details

☀️ Quality Monitor

🚦 Tests

Name Reports Passed Skipped Failed Total
Tests 20 109 0 0 109

⚠️ Style

Name Reports Errors High Normal Low Total
CheckStyle 2 0 0 0 0 0
PMD 4 0 1 2 1 4
Total 6 0 1 2 1 4

🐛 Bugs

Name Reports Errors High Normal Low Total
SpotBugs 1 0 0 0 2 2

👣 Code Coverage

Code Coverage: 81%

Name Covered % Missed %
Line Coverage 85 15
Branch Coverage 77 23
Total Ø 81 19

🔬 Mutation Coverage

Mutation Coverage: 75%

Name Killed % Survived %
Mutation Coverage 75 25

Annotations

Check warning on line 61 in C:/Build/Results/jobs/ADT-Base/workspace/com.avaloq.adt.ui/src/main/java/com/avaloq/adt/env/internal/ui/actions/CopyToClipboard.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

PMD: CollapsibleIfStatements

These nested if statements could be combined.

Check warning on line 14 in C:/Build/Results/jobs/ADT-Base/workspace/com.avaloq.adt.ui/src/main/java/com/avaloq/adt/env/internal/ui/actions/change/ChangeSelectionAction.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

PMD: UnusedImports

Avoid unused imports such as 'org.eclipse.ui.IWorkbenchPart'.

Check warning on line 940 in C:/Build/Results/jobs/ADT-Base/workspace/com.avaloq.adt.ui/src/main/java/com/avaloq/adt/env/internal/ui/dialogs/SelectSourceDialog.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

PMD: EmptyCatchBlock

Avoid empty catch blocks.

Check warning on line 982 in C:/Build/Results/jobs/ADT-Base/workspace/com.avaloq.adt.ui/src/main/java/com/avaloq/adt/env/internal/ui/dialogs/SelectSourceDialog.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

PMD: EmptyCatchBlock

Avoid empty catch blocks.

Check warning on line 58 in src/main/java/edu/hm/hafner/grading/ScoreMarkdown.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

SpotBugs: VA_FORMAT_STRING_USES_NEWLINE

Format string should use %n rather than \n in edu.hm.hafner.grading.ScoreMarkdown.getPercentageImage(String, int)

Check warning on line 107 in src/main/java/edu/hm/hafner/grading/TestMarkdown.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

SpotBugs: VA_FORMAT_STRING_USES_NEWLINE

Format string should use %n rather than \n in edu.hm.hafner.grading.TestMarkdown.renderFailure(TestCase)

Check warning on line 53 in src/main/java/edu/hm/hafner/grading/CoverageConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 53 is not covered by tests

Check warning on line 387 in src/main/java/edu/hm/hafner/grading/AggregatedScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 348-387 are not covered by tests

Check warning on line 45 in src/main/java/edu/hm/hafner/grading/CoverageScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 45 is not covered by tests

Check warning on line 52 in src/main/java/edu/hm/hafner/grading/TruncatedString.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 52 is not covered by tests

Check warning on line 260 in src/main/java/edu/hm/hafner/grading/TruncatedString.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 259-260 are not covered by tests

Check warning on line 141 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 127-141 are not covered by tests

Check warning on line 149 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 146-149 are not covered by tests

Check warning on line 211 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 194-211 are not covered by tests

Check warning on line 217 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 217 is not covered by tests

Check warning on line 222 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 222 is not covered by tests

Check warning on line 267 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 244-267 are not covered by tests

Check warning on line 58 in src/main/java/edu/hm/hafner/grading/GradingReport.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 58 is not covered by tests

Check warning on line 42 in src/main/java/edu/hm/hafner/grading/ReportFinder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 41-42 are not covered by tests

Check warning on line 59 in src/main/java/edu/hm/hafner/grading/ReportFinder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 56-59 are not covered by tests

Check warning on line 74 in src/main/java/edu/hm/hafner/grading/ReportFinder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 73-74 are not covered by tests

Check warning on line 38 in src/main/java/edu/hm/hafner/grading/Configuration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 38 is not covered by tests

Check warning on line 135 in src/main/java/edu/hm/hafner/grading/Configuration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 135 is not covered by tests

Check warning on line 120 in src/main/java/edu/hm/hafner/grading/ToolConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 120 is not covered by tests

Check warning on line 129 in src/main/java/edu/hm/hafner/grading/Score.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 129 is not covered by tests