Skip to content

Commit

Permalink
Update for PMD and CheckStyle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSVector committed Jun 21, 2024
1 parent 541321e commit 24ce46c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.jenkins.plugins.datatables.DetailedCell;
import io.jenkins.plugins.datatables.TableModel;

import static io.jenkins.plugins.coverage.metrics.AbstractCoverageTest.*;
import static io.jenkins.plugins.coverage.metrics.AbstractCoverageTest.*;
import static org.assertj.core.api.Assertions.*;

Expand All @@ -47,7 +46,7 @@ class VectorCastCoveragePluginITest extends AbstractCoverageITest {
private static final int VECTORCAST_COVERED_FUNCTION_CALL = 62;
private static final int VECTORCAST_MISSED_FUNCTION_CALL = 17;
private static final int VECTORCAST_COVERED_METHOD = 21;
private static final int VECTORCAST_MISSED_METHOD= 9;
private static final int VECTORCAST_MISSED_METHOD = 9;
private static final String NO_FILES_FOUND_ERROR_MESSAGE = "[-ERROR-] No files found for pattern '**/*xml'. Configuration error?";

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.jenkins.plugins.coverage.metrics.steps;

import org.junit.jupiter.api.Test;
import org.junitpioneer.jupiter.Issue;

import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
Expand Down Expand Up @@ -84,7 +83,7 @@ void shouldParseFileWithVectorCast() {
"MCDC_PAIR: 40.68% (24/59)",
"FUNCTION_CALL: 78.48% (62/79)",
"COMPLEXITY: 100",
"COMPLEXITY_MAXIMUM: 26" ,
"COMPLEXITY_MAXIMUM: 26",
"COMPLEXITY_DENSITY: 100/294",
"LOC: 294")
.containsPattern("Searching for all files in '.*' that match the pattern 'xml_data/cobertura/coverage_results\\*.xml'")
Expand Down

0 comments on commit 24ce46c

Please sign in to comment.