repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsIncompatibleType.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
9,010
38.696035
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedAnonymousClass.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,243
35.863636
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnitAssertSameCheck.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,729
35.4
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractAsyncTypeReturnsNull.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,440
34.376812
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StreamToString.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
1,793
32.849057
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsGetClass.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
11,934
37.876221
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OptionalMapUnusedValue.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
3,329
43.4
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ShortCircuitBoolean.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,412
33.826531
89
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MathRoundIntLong.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,296
42.846939
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ImpossibleNullComparison.java
/* * Copyright 2013 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
26,118
39.557453
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsWrongThing.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,384
37.264249
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MixedArrayDimensions.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,652
40.044944
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StaticQualifiedUsingExpression.java
/* * Copyright 2012 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,703
38.529412
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnsynchronizedOverridesSynchronized.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,290
38.31875
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RemoveUnusedImports.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,875
35.294931
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessarySetDefault.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
13,543
53.176
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CharacterGetNumericValue.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,228
40.277778
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonCanonicalStaticMemberImport.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
1,841
36.591837
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryAnonymousClass.java
/* * Copyright 2019 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
11,532
42.033582
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit3FloatingPointComparisonWithoutDelta.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,736
38.168605
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IncompatibleModifiersChecker.java
/* * Copyright 2013 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,709
35.511628
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MemoizeConstantVisitorStateLookups.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
10,842
42.372
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AnnotationValueToString.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,490
34.585714
95
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MockNotUsedInProduction.java
/* * Copyright 2022 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
8,628
39.895735
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsUsingHashCode.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,311
37.511628
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ClassName.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,465
41.268293
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ModifySourceCollectionInStream.java
/* * Copyright 2019 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,701
41.687898
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StaticImports.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,504
33.74537
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/Incomparable.java
/* * Copyright 2019 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,631
38.053763
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsNull.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,288
44.62766
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedMethod.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
20,465
39.687873
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SelfComparison.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,226
36.116667
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InconsistentCapitalization.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
8,729
37.45815
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RedundantThrows.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,051
36.174312
90
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SwitchDefault.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
5,445
41.88189
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IterablePathParameter.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,361
37.643678
90
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LogicalAssignment.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,848
40.387097
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RedundantOverride.java
/* * Copyright 2019 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,644
40.273292
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StaticAssignmentOfThrowable.java
/* * Copyright 2022 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,316
34.385246
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PreconditionsInvalidPlaceholder.java
/* * Copyright 2012 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,890
39.758333
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedException.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,771
38.85641
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LockOnNonEnclosingClassLiteral.java
/* * Copyright 2023 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,535
36.294118
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MultipleParallelOrSequentialCalls.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,460
42.31068
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LambdaFunctionalInterface.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
12,302
40.846939
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnicodeInCode.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,811
39.1
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnsafeReflectiveConstructionCast.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,787
43.747664
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LockOnBoxedPrimitive.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
5,505
40.089552
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DateFormatConstant.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,249
37.288288
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CheckReturnValue.java
/* * Copyright 2012 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
19,134
43.396752
114
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AlreadyChecked.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
9,234
37.004115
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/VariableNameSameAsType.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,578
37.492537
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PrimitiveArrayPassedToVarargsMethod.java
/* * Copyright 2014 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,520
39.471264
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CompareToZero.java
/* * Copyright 2019 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,209
38.615385
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonOverridingEquals.java
/* * Copyright 2012 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
8,175
39.676617
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RequiredModifiersChecker.java
/* * Copyright 2013 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,781
35.227273
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedNestedClass.java
/* * Copyright 2019 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
5,151
37.162963
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeParameterNaming.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
10,993
34.694805
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ProtectedMembersInFinalClass.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,920
38.21
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JavaLangClash.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,548
38.433333
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingFail.java
/* * Copyright 2014 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
20,689
39.64833
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ObjectsHashCodePrimitive.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
2,819
38.71831
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BooleanParameter.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
5,977
37.567742
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,809
42.653846
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StronglyTypeByteString.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,320
38.338983
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CatchFail.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
11,050
43.027888
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DefaultPackage.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,207
35.196721
92
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ShouldHaveEvenArgs.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,084
38.050633
91
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MutablePublicArray.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,259
38.756098
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NCopiesOfChar.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,701
40.569231
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit4ClassAnnotationNonStatic.java
/* * Copyright 2014 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,428
42.405063
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FallThrough.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,484
40.146789
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DeprecatedVariable.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,268
37.457627
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ArraysAsListPrimitiveArray.java
/* * Copyright 2014 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,643
39.043956
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InvalidZoneId.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,671
33.701299
92
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CatchAndPrintStackTrace.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,304
38.741379
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IsInstanceIncompatibleType.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,209
38.345794
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/GetClassOnClass.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,435
40.288136
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ForOverrideChecker.java
/* * Copyright 2014 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
8,659
38.907834
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractToString.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
9,700
37.496032
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SwigMemoryLeak.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,472
37.046154
86
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ObjectToString.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,651
35.888889
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InterfaceWithOnlyStatics.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,615
37.789916
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MisusedDayOfYear.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
1,876
31.929825
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BoxedPrimitiveConstructor.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
11,039
38.428571
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/WrongOneof.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,196
39.24026
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InjectOnBugCheckers.java
/* * Copyright 2023 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,929
39.136986
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonApiType.java
/* * Copyright 2023 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
13,065
41.148387
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ExpectedExceptionChecker.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
12,635
41.689189
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DangerousLiteralNullChecker.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
4,491
36.123967
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit3TestNotRun.java
/* * Copyright 2013 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,310
43.309091
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LongLiteralLowerCaseSuffix.java
/* * Copyright 2012 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,671
38.06383
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FutureReturnValueIgnored.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
6,874
42.512658
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/GetClassOnEnum.java
/* * Copyright 2016 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,158
38.254545
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MisusedWeekYear.java
/* * Copyright 2015 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2,046
31.492063
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AlwaysThrows.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
9,980
39.573171
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UseEnumSwitch.java
/* * Copyright 2020 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
1,606
36.372093
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DepAnn.java
/* * Copyright 2013 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,014
34.470588
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingSuperCall.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
7,676
34.873832
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RandomCast.java
/* * Copyright 2017 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
3,059
38.230769
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CannotMockFinalClass.java
/* * Copyright 2014 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
3,978
43.211111
100
java