File tree Expand file tree Collapse file tree 3 files changed +4
-17
lines changed
src/main/java/com/checkmarx/ast/wrapper Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 6868 CX_TENANT : ${{ secrets.CX_TENANT }}
6969 CX_APIKEY : ${{ secrets.CX_APIKEY }}
7070
71- - name : Print total coverage percentage
72- run : |
73- COVERED_LINES=$(xmllint --xpath "string(//report/counter[@type='LINE']/@covered)" target/site/jacoco/jacoco.xml)
74- MISSED_LINES=$(xmllint --xpath "string(//report/counter[@type='LINE']/@missed)" target/site/jacoco/jacoco.xml)
75- TOTAL_LINES=$((COVERED_LINES + MISSED_LINES))
76- COVERAGE_PERCENTAGE=$(echo "scale=2; $COVERED_LINES / $TOTAL_LINES * 100" | bc)
77- echo "Total coverage percentage: $COVERAGE_PERCENTAGE%"
78-
79-
80-
81-
82-
8371 - name : Generate JaCoCo Badge
8472 uses : cicirello/jacoco-badge-generator@f33476a5a3fd5a4f77cb5eef2ebe728c1dd5b921 # v2.11.0
8573 with :
Original file line number Diff line number Diff line change 7878 <exclude >**/com/checkmarx/ast/project/**</exclude >
7979 <exclude >**/com/checkmarx/ast/tenant/**</exclude >
8080 <exclude >**/com/checkmarx/ast/wrapper/Execution**</exclude >
81+ <exclude >**/com/checkmarx/ast/wrapper/CxConstants**</exclude >
82+ <exclude >**/com/checkmarx/ast/wrapper/CxException**</exclude >
83+ <exclude >**/com/checkmarx/ast/wrapper/CxConfig**</exclude >
84+
8185 <!-- Add other patterns as needed -->
8286 </excludes >
8387 </configuration >
Original file line number Diff line number Diff line change @@ -63,11 +63,6 @@ List<String> toArguments() {
6363 return commands ;
6464 }
6565
66- public static final class InvalidCLIConfigException extends Exception {
67- public InvalidCLIConfigException (String message ) {
68- super (message );
69- }
70- }
7166
7267 @ SuppressWarnings ("ALL" )
7368 public static class CxConfigBuilder {
You can’t perform that action at this time.
0 commit comments