Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONARJAVA-5186 Improve Test Code Support Part 3 #4934

Merged
merged 26 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8a29ad4
SONARJAVA-5191 Enable S1612 on All code
alban-auzeill Nov 22, 2024
16ef691
SONARJAVA-5192 Enable S1640 on All code
alban-auzeill Nov 22, 2024
17b3c71
SONARJAVA-5193 Enable S1643 on All code
alban-auzeill Nov 22, 2024
3ed4b82
SONARJAVA-5194 Enable S1656 on All code
alban-auzeill Nov 22, 2024
b62fce6
SONARJAVA-5195 Enable S1710 on All code
alban-auzeill Nov 22, 2024
3b4095c
SONARJAVA-5196 Enable S1751 on All code
alban-auzeill Nov 22, 2024
ed1535f
SONARJAVA-5197 Enable S1849 on All code
alban-auzeill Nov 22, 2024
3e26ff0
SONARJAVA-5198 Enable S1858 on All code
alban-auzeill Nov 22, 2024
a97e104
SONARJAVA-5199 Enable S1862 on All code
alban-auzeill Nov 22, 2024
f449072
SONARJAVA-5200 Enable S1871 on All code
alban-auzeill Nov 22, 2024
8d6c9e8
SONARJAVA-5201 Enable S1872 on All code
alban-auzeill Nov 22, 2024
d2655ee
SONARJAVA-5202 Enable S1940 on All code
alban-auzeill Nov 22, 2024
b6635a1
SONARJAVA-5203 Enable S1994 on All code
alban-auzeill Nov 22, 2024
5147498
SONARJAVA-5204 Enable S2093 on All code
alban-auzeill Nov 22, 2024
b807d90
SONARJAVA-5205 Enable S2130 on All code
alban-auzeill Nov 22, 2024
4756642
SONARJAVA-5206 Enable S2133 on All code
alban-auzeill Nov 22, 2024
8bf38be
SONARJAVA-5207 Enable S2140 on All code
alban-auzeill Nov 22, 2024
e342a6a
SONARJAVA-5208 Enable S2147 on All code
alban-auzeill Nov 22, 2024
53a93ff
SONARJAVA-5209 Enable S2153 on All code
alban-auzeill Nov 22, 2024
3a007b0
SONARJAVA-5210 Enable S2154 on All code
alban-auzeill Nov 22, 2024
a334582
SONARJAVA-5211 Enable S2168 on All code
alban-auzeill Nov 22, 2024
42bc4c7
SONARJAVA-5212 Enable S2178 on All code
alban-auzeill Nov 22, 2024
78cc095
SONARJAVA-5213 Enable S2183 on All code
alban-auzeill Nov 22, 2024
fd2a480
SONARJAVA-5214 Enable S2185 on All code
alban-auzeill Nov 22, 2024
50ef5af
SONARJAVA-5186 Update rules metadata
alban-auzeill Nov 22, 2024
0b99f14
SONARJAVA-5186 Update autoscan and ruling result
alban-auzeill Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ruleKey": "S1612",
"hasTruePositives": true,
"falseNegatives": 1,
"falseNegatives": 9,
"falsePositives": 0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java": [
212
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java": [
0
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/DynaProperty.java": [
0
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/BeanMap.java": [
855,
866
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/MethodUtils.java": [
1295
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java": [
236
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/expression/DefaultResolver.java": [
98
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/NestedNullException.java": [
27
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/BeanComparator.java": [
201,
207
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@
244,
250,
257
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -451,5 +451,5 @@
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java": [
283,
286
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java": [
32
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/converters/DateTimeConverter.java": [
523
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@
217,
218,
222
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java": [
361
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/LazyDynaBean.java": [
929
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/LazyDynaMap.java": [
0
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java": [
102
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtilsBean.java": [
709
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/BeanMap.java": [
178
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/converters/AbstractConverter.java": [
235
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@
494,
553,
628
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtilsBean.java": [
892
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/ConversionException.java": [
81
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/expression/DefaultResolver.java": [
99
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java": [
710,
730
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/BaseLocaleConverter.java": [
38
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java": [
415
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/BeanMap.java": [
333
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@
314,
315,
319
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java": [
93
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java": [
57
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/FloatLocaleConverter.java": [
221
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java": [
353
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/BaseLocaleConverter.java": [
278
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java": [
50
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java": [
356
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/MethodUtils.java": [
1120
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/converters/NumberConverter.java": [
303
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java": [
50,
250
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java": [
93
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/converters/BooleanConverter.java": [
193,
222
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/package-info.java": [
0
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/converters/ArrayConverter.java": [
357
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java": [
339
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
119,
128,
137
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/converters/AbstractConverter.java": [
428
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/MethodUtils.java": [
1101
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/RowSetDynaClass.java": [
240
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java": [
2111
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
670,
678,
692
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtilsBean.java": [
120
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/FloatLocaleConverter.java": [
220
],
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/expression/DefaultResolver.java": [
151
],
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
],
"commons-beanutils:commons-beanutils:src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java": [
286
],
]
}
Loading