Skip to content

Commit fdf1230

Browse files
authored
Merge pull request #344 from jenkinsci/dependabot/maven/org.jvnet.hudson.plugins-analysis-pom-10.0.0
Bump org.jvnet.hudson.plugins:analysis-pom from 8.6.0 to 10.0.0
2 parents 60541b0 + ac76f16 commit fdf1230

File tree

2 files changed

+169
-1
lines changed

2 files changed

+169
-1
lines changed

.github/workflows/quality-monitor.yml

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,171 @@ jobs:
3636
with:
3737
github-token: ${{ secrets.GITHUB_TOKEN }}
3838
pr-number: ${{ steps.pr.outputs.number }}
39+
config: >
40+
{
41+
"tests": {
42+
"tools": [
43+
{
44+
"id": "test",
45+
"name": "Tests",
46+
"pattern": "**/target/*-reports/TEST*.xml"
47+
}
48+
],
49+
"name": "Tests"
50+
},
51+
"analysis": [
52+
{
53+
"name": "Style",
54+
"id": "style",
55+
"tools": [
56+
{
57+
"id": "checkstyle",
58+
"pattern": "**/target/**checkstyle-result.xml"
59+
},
60+
{
61+
"id": "pmd",
62+
"pattern": "**/target/pmd-*/pmd.xml"
63+
}
64+
]
65+
},
66+
{
67+
"name": "Bugs",
68+
"id": "bugs",
69+
"icon": "bug",
70+
"tools": [
71+
{
72+
"id": "spotbugs",
73+
"sourcePath": "src/main/java",
74+
"pattern": "**/target/spotbugsXml.xml"
75+
},
76+
{
77+
"id": "error-prone",
78+
"pattern": "**/maven.log"
79+
}
80+
]
81+
},
82+
{
83+
"name": "Vulnerabilities",
84+
"id": "vulnerabilities",
85+
"icon": "shield",
86+
"tools": [
87+
{
88+
"id": "owasp-dependency-check",
89+
"pattern": "**/target/dependency-check-report.json"
90+
}
91+
]
92+
}
93+
],
94+
"coverage": [
95+
{
96+
"name": "Code Coverage",
97+
"tools": [
98+
{
99+
"id": "jacoco",
100+
"name": "Line Coverage",
101+
"metric": "line",
102+
"sourcePath": "src/main/java",
103+
"pattern": "**/target/site/jacoco/jacoco.xml"
104+
},
105+
{
106+
"id": "jacoco",
107+
"name": "Branch Coverage",
108+
"metric": "branch",
109+
"sourcePath": "src/main/java",
110+
"pattern": "**/target/site/jacoco/jacoco.xml"
111+
}
112+
]
113+
},
114+
{
115+
"name": "Mutation Coverage",
116+
"tools": [
117+
{
118+
"id": "pit",
119+
"name": "Mutation Coverage",
120+
"metric": "mutation",
121+
"sourcePath": "src/main/java",
122+
"pattern": "**/target/pit-reports/mutations.xml"
123+
},
124+
{
125+
"id": "pit",
126+
"name": "Test Strength",
127+
"metric": "test-strength",
128+
"sourcePath": "src/main/java",
129+
"pattern": "**/target/pit-reports/mutations.xml"
130+
}
131+
]
132+
}
133+
],
134+
"metrics":
135+
{
136+
"name": "Toplevel Metrics",
137+
"tools": [
138+
{
139+
"name": "Cyclomatic Complexity",
140+
"id": "metrics",
141+
"pattern": "**/metrics/pmd.xml",
142+
"metric": "CYCLOMATIC_COMPLEXITY"
143+
},
144+
{
145+
"name": "Cognitive Complexity",
146+
"id": "metrics",
147+
"pattern": "**/metrics/pmd.xml",
148+
"metric": "COGNITIVE_COMPLEXITY"
149+
},
150+
{
151+
"name": "Lines of Code",
152+
"id": "metrics",
153+
"pattern": "**/metrics/pmd.xml",
154+
"metric": "LOC"
155+
},
156+
{
157+
"name": "Non Commenting Source Statements",
158+
"id": "metrics",
159+
"pattern": "**/metrics/pmd.xml",
160+
"metric": "NCSS"
161+
},
162+
{
163+
"name": "Access to foreign data",
164+
"id": "metrics",
165+
"pattern": "**/metrics/pmd.xml",
166+
"metric": "ACCESS_TO_FOREIGN_DATA"
167+
},
168+
{
169+
"name": "Class cohesion",
170+
"id": "metrics",
171+
"pattern": "**/metrics/pmd.xml",
172+
"metric": "COHESION"
173+
},
174+
{
175+
"name": "Fan out",
176+
"id": "metrics",
177+
"pattern": "**/metrics/pmd.xml",
178+
"metric": "FAN_OUT"
179+
},
180+
{
181+
"name": "Number of accessors",
182+
"id": "metrics",
183+
"pattern": "**/metrics/pmd.xml",
184+
"metric": "NUMBER_OF_ACCESSORS"
185+
},
186+
{
187+
"name": "Weight of a class",
188+
"id": "metrics",
189+
"pattern": "**/metrics/pmd.xml",
190+
"metric": "WEIGHT_OF_CLASS"
191+
},
192+
{
193+
"name": "Weighted method count",
194+
"id": "metrics",
195+
"pattern": "**/metrics/pmd.xml",
196+
"metric": "WEIGHED_METHOD_COUNT"
197+
},
198+
{
199+
"name": "N-Path Complexity",
200+
"id": "metrics",
201+
"pattern": "**/metrics/pmd.xml",
202+
"metric": "NPATH_COMPLEXITY"
203+
}
204+
]
205+
}
206+
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jvnet.hudson.plugins</groupId>
66
<artifactId>analysis-pom</artifactId>
7-
<version>8.6.0</version>
7+
<version>10.0.0</version>
88
<relativePath />
99
</parent>
1010

0 commit comments

Comments
 (0)