-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathreport.xml
More file actions
97 lines (97 loc) · 3.59 KB
/
report.xml
File metadata and controls
97 lines (97 loc) · 3.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<total>2</total>
<p>1</p>
<ps>100</ps>
<paging>
<pageIndex>1</pageIndex>
<pageSize>100</pageSize>
<total>2</total>
</paging>
<issues>
<key>AXd12ABC1fghijKLMNop</key>
<rule>java:S106</rule>
<severity>MINOR</severity>
<component>my_project_key:src/main/java/com/example/MyClass.java</component>
<project>my_project_key</project>
<line>10</line>
<hash>abcdef1234567890abcdef1234567890</hash>
<textRange>
<startLine>10</startLine>
<endLine>10</endLine>
<startOffset>8</startOffset>
<endOffset>24</endOffset>
</textRange>
<status>OPEN</status>
<message>Replace this usage of System.out or System.err by a logger.</message>
<effort>5min</effort>
<debt>5min</debt>
<author>developer@example.com</author>
<tags>bad-practice</tags>
<tags>convention</tags>
<creationDate>2025-02-20T14:23:45+0100</creationDate>
<updateDate>2025-02-20T14:23:45+0100</updateDate>
<type>CODE_SMELL</type>
<scope>MAIN</scope>
</issues>
<issues>
<key>AXd12DEF2ijklMNOPQrs</key>
<rule>java:S1192</rule>
<severity>CRITICAL</severity>
<component>my_project_key:src/main/java/com/example/AnotherClass.java</component>
<project>my_project_key</project>
<line>25</line>
<hash>1234567890abcdef1234567890abcdef</hash>
<textRange>
<startLine>25</startLine>
<endLine>25</endLine>
<startOffset>15</startOffset>
<endOffset>35</endOffset>
</textRange>
<status>OPEN</status>
<message>Define a constant instead of duplicating this literal "example" 3 times.</message>
<effort>10min</effort>
<debt>10min</debt>
<author>developer@example.com</author>
<tags>bad-practice</tags>
<tags>clumsy</tags>
<creationDate>2025-02-20T15:45:30+0100</creationDate>
<updateDate>2025-02-20T15:45:30+0100</updateDate>
<type>CODE_SMELL</type>
<scope>MAIN</scope>
</issues>
<components>
<id>AXd12ABC1fghijKLMNop</id>
<key>my_project_key:src/main/java/com/example/MyClass.java</key>
<uuid>AXd12ABC1fghijKLMNop</uuid>
<enabled>true</enabled>
<qualifier>FIL</qualifier>
<name>src/main/java/com/example/MyClass.java</name>
<longName>src/main/java/com/example/MyClass.java</longName>
<path>src/main/java/com/example/MyClass.java</path>
</components>
<components>
<id>AXd12DEF2ijklMNOPQrs</id>
<key>my_project_key:src/main/java/com/example/AnotherClass.java</key>
<uuid>AXd12DEF2ijklMNOPQrs</uuid>
<enabled>true</enabled>
<qualifier>FIL</qualifier>
<name>src/main/java/com/example/AnotherClass.java</name>
<longName>src/main/java/com/example/AnotherClass.java</longName>
<path>src/main/java/com/example/AnotherClass.java</path>
</components>
<rules>
<key>java:S106</key>
<name>Standard outputs should not be used directly to log anything</name>
<status>READY</status>
<lang>java</lang>
<langName>Java</langName>
</rules>
<rules>
<key>java:S1192</key>
<name>String literals should not be duplicated</name>
<status>READY</status>
<lang>java</lang>
<langName>Java</langName>
</rules>
</root>