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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
{
"total": 10,
"p": 1,
"ps": 200,
"rules": [
{
"key": "squid:S1181",
"name": "Throwable and Error classes should not be caught",
"lang": "java",
"langName": "Java",
"sysTags": [
"error-handling"
],
"tags": []
},
{
"key": "squid:S1849",
"name": "\"Iterator.hasNext()\" should not call \"Iterator.next()\"",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug"
],
"tags": []
},
{
"key": "squid:S1844",
"name": "\"Object.wait(...)\" should never be called on objects that implement \"java.util.concurrent.locks.Condition\"",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug",
"pitfall"
],
"tags": []
},
{
"key": "squid:S2258",
"name": "\"javax.crypto.NullCipher\" should not be used for anything other than testing",
"lang": "java",
"langName": "Java",
"sysTags": [
"cwe",
"owasp-top10",
"security"
],
"tags": []
},
{
"key": "squid:S2251",
"name": "A \"for\" loop update clause should move the counter in the right direction",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug"
],
"tags": []
},
{
"key": "squid:ObjectFinalizeOverridenCallsSuperFinalizeCheck",
"name": "super.finalize() should be called at the end of Object.finalize() implementations",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug"
],
"tags": []
},
{
"key": "squid:S1143",
"name": "Return statements should not occur in finally blocks",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug"
],
"tags": []
},
{
"key": "squid:S1206",
"name": "\"equals(Object obj)\" and \"hashCode()\" should be overridden in pairs",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug"
],
"tags": []
},
{
"key": "squid:S1451",
"name": "Copyright and license headers should be defined in all source files",
"lang": "java",
"langName": "Java",
"sysTags": [
"convention"
],
"tags": []
},
{
"key": "squid:S1697",
"name": "Short-circuit logic should be used to prevent null pointer dereferences in conditionals",
"lang": "java",
"langName": "Java",
"sysTags": [
"bug"
],
"tags": []
}
],
"facets": [
{
"property": "tags",
"values": [
{
"val": "bug",
"count": 7
},
{
"val": "convention",
"count": 1
},
{
"val": "cwe",
"count": 1
},
{
"val": "error-handling",
"count": 1
},
{
"val": "owasp-top10",
"count": 1
},
{
"val": "pitfall",
"count": 1
},
{
"val": "security",
"count": 1
}
]
},
{
"property": "languages",
"values": [
{
"val": "java",
"count": 10
},
{
"val": "js",
"count": 6
},
{
"val": "php",
"count": 2
}
]
},
{
"property": "repositories",
"values": [
{
"val": "squid",
"count": 10
}
]
}
]
}
|