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/SystemOut.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,933
38.12
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BugPatternNaming.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 ...
3,960
39.835052
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UndefinedEquals.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,009
42.532609
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PreferredInterfaceType.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 ...
13,613
39.760479
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ParametersButNotParameterized.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 ...
2,704
41.265625
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryOptionalGet.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 or agre...
4,700
43.771429
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryBoxedAssignment.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,831
38.916667
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingBraces.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 ...
3,676
35.77
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryFinal.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,760
40.208955
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LossyPrimitiveCompare.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,849
42.75
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallChecker.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 ...
20,307
47.70024
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsHashCode.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 ...
4,156
35.787611
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NestedInstanceOfConditions.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,910
34.078571
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ErroneousThreadPoolConstructorChecker.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,524
42.932039
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MathAbsoluteNegative.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,091
40.226667
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RxReturnValueIgnored.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,603
40.820896
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FloatingPointLiteralPrecision.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,490
34.262626
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FunctionalInterfaceClash.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 ...
8,583
41.92
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryMethodReference.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...
5,797
41.632353
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ModifyingCollectionWithItself.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 ...
7,292
41.9
125
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PublicApiNamedStreamShouldReturnStream.java
/* * Copyright 2021 Google Inc. All Rights Reserved. * * 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 applica...
2,744
37.661972
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/package-info.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 ...
727
37.315789
75
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FieldCanBeStatic.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 ...
8,595
38.981395
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OutlineNone.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,877
41.417391
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BanJNDI.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,434
40.890244
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BigDecimalLiteralDouble.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 ...
5,185
37.414815
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SuppressWarningsDeprecated.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 ...
2,842
37.945205
95
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeCompatibilityUtils.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 ...
18,779
43.821002
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PreconditionsCheckNotNullRepeated.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,326
37.686047
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AnnotationPosition.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 ...
13,949
39.434783
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ImplementAssertionWithChaining.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,186
38.390845
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DifferentNameButSame.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 ...
11,102
37.686411
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RobolectricShadowDirectlyOn.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 ...
3,898
41.380435
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullableVoid.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,180
37.263158
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ClassNewInstance.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 ...
10,656
39.367424
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueSubclassLeaked.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,810
39.091667
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SelfAlwaysReturnsThis.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 ...
6,232
36.775758
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ProtocolBufferOrdinal.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,041
37.528302
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StronglyType.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,418
37.921488
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ChainingConstructorIgnoresParameter.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 ...
9,132
39.955157
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TryFailRefactoring.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,807
43.8
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThreadLocalUsage.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,211
37.895522
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LiteEnumValueOf.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 ...
2,921
40.15493
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LenientFormatStringValidation.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 ...
5,510
38.364286
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryTestMethodPrefix.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,944
37.246753
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AnnotateFormatMethod.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,929
41.869565
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractJUnit4InitMethodNotRun.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 ...
7,766
41.211957
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JdkObsolete.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 ...
16,860
38.211628
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InvalidTimeZoneID.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,902
36.528846
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MustBeClosedChecker.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,476
42.219653
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit4TestNotRun.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 ...
8,724
38.840183
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NamedLikeContextualKeyword.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 ...
5,822
36.089172
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TooManyParameters.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 ...
3,912
38.928571
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AvoidObjectArrays.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 ...
5,672
39.234043
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonRuntimeAnnotation.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,049
37.125
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NarrowCalculation.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 ...
6,096
37.834395
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PrivateSecurityContractProtoAccess.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,971
44.655172
111
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComparingThisWithNull.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,528
36.746269
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsReference.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,185
39.640777
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/Overrides.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,917
37.038835
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessarilyFullyQualified.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 ...
9,371
38.544304
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryParentheses.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,647
35.777778
92
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ArrayFillIncompatibleType.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 ...
5,352
41.824
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoNotMockAutoValue.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,627
34.391304
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InlineTrivialConstant.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 ...
5,229
36.898551
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CollectorShouldNotUseState.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
34.872093
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ArrayToString.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,984
37.317308
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ParameterComment.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,347
41.213592
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ParameterName.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,234
38.595469
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OptionalMapToOptional.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 or agre...
4,320
42.21
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TruthAssertExpected.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 ...
9,044
40.490826
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ClassCanBeStatic.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,315
35.43956
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ObjectEqualsForPrimitives.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...
2,709
41.34375
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComparableAndComparator.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 or ...
3,336
38.258824
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnitAmbiguousTestClass.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 ...
1,621
35.863636
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComparisonContractViolated.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 ...
10,142
38.162162
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SizeGreaterThanOrEqualsZero.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 ...
12,749
42.814433
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AttemptedNegativeZero.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,352
35.2
90
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ImmutableCollections.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,422
42.362745
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueFinalMethods.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,155
38.580952
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeNameShadowing.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,258
39.553073
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryStringBuilder.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 ...
7,818
39.097436
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnicodeDirectionalityCharacters.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,713
38.911765
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BadComparable.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,238
39.251613
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EmptyTopLevelDeclaration.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,066
39.529412
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ModifiedButNotUsed.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...
15,576
39.884514
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryLambda.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 ...
13,228
38.372024
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonCanonicalType.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,713
38.680556
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ICCProfileGetInstance.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,492
37.353846
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnicodeEscape.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,435
34.488
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PackageLocation.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,533
40.093023
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingCasesInEnumSwitch.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 ...
4,250
36.955357
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StringSplitter.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,142
40.72381
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IncrementInForLoopAndHeader.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,696
38.752688
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ExtendingJUnitAssert.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,679
35.435644
88
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/URLEqualsHashCode.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,089
36.153285
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StringCaseLocaleUsage.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 ...
4,543
39.212389
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TreeToString.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 ...
5,165
37.552239
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InconsistentHashCode.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 ...
9,778
40.436441
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeParameterQualifier.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,995
38.92
91
java