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/TypeParameterUnusedInFormals.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 ...
5,004
32.145695
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThrowIfUncheckedKnownChecked.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 or ...
4,106
42.231579
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ErroneousBitwiseExpression.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 ...
2,263
38.719298
95
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ReturnsNullCollection.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,687
37.956522
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryStaticImport.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,853
38.446809
90
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LockNotBeforeTry.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,685
40.361905
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TruthGetOrDefault.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,621
37.772414
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DeduplicateConstants.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,589
32.969072
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TryFailThrowable.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 ...
12,671
38.849057
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoNotClaimAnnotations.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,555
36.344262
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AssertionFailureIgnored.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 ...
9,406
40.623894
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnsafeFinalization.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,682
41.031447
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoNotUseRuleChain.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 ...
8,335
39.076923
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallSuggester.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 ...
7,392
38.747312
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonAtomicVolatileUpdate.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 ...
6,236
39.5
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingImplementsComparable.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,796
41.378788
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ImmutableMemberCollection.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,275
41.074627
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IndexOfChar.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,866
39.957143
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeParameterShadowing.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,311
34.460674
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IdentityBinaryExpression.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,424
34.690789
92
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractUseSwitch.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 ...
7,109
37.432432
95
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SuppressWarningsWithoutExplanation.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,283
40.28125
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FieldCanBeLocal.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 ...
12,388
38.708333
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IterableAndIterator.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,162
36.654762
88
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessarilyVisible.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,539
41.037037
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TruthConstantAsserts.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,508
37.56044
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThreeLetterTimeZoneID.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,274
37.903743
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StaticAssignmentInConstructor.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,216
36.406977
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/Finally.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,804
33.082969
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComparisonOutOfRange.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 ...
12,171
47.883534
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SerializableReads.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 ...
1,592
34.4
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingTestCall.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,877
37.418301
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedVariable.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 ...
39,907
38.59127
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BadShiftAmount.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,405
37.649123
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InitializeInline.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,699
37.541667
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ClassNamedLikeTypeParameter.java
/* * Copyright 2015 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...
1,719
36.391304
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComplexBooleanConstant.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,951
33.973451
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ExtendsAutoValue.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,564
36.720588
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullableOnContainingClass.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,617
39.156522
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryDefaultInEnumSwitch.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,347
42.632509
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PackageInfo.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,915
35.150943
90
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ConstantOverflow.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,231
30.875389
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonCanonicalStaticImport.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,819
36.142857
92
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TransientMisuse.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 ...
1,996
36.679245
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LongDoubleConversion.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 ...
2,824
39.942029
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IdentityHashMapUsage.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,715
39.655172
91
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComputeIfAbsentAmbiguousReference.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,128
40.29
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FuturesGetCheckedIllegalExceptionType.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 or ...
7,281
39.455556
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsUnsafeCast.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,386
38.522523
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ToStringReturnsNull.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,240
30.77451
88
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InvalidPatternSyntax.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 ...
1,723
34.916667
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FieldCanBeFinal.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,278
36.94
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MockitoUsage.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 ...
4,953
44.036364
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeEqualsChecker.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,847
39.685714
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NonFinalCompileTimeConstant.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,189
34.901639
95
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/WaitNotInLoop.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,524
41.987805
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StringBuilderInitWithChar.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...
2,536
38.640625
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BoxedPrimitiveEquality.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,582
35.9
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MixedMutabilityReturnType.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 ...
17,777
38.331858
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThrowSpecificExceptions.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,834
43.08046
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CannotMockMethod.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 or agre...
3,181
38.775
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PrimitiveAtomicReference.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,053
40.27027
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ConstantField.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,792
37.704082
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueBuilderDefaultsInConstructor.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,277
39.358491
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/Interruption.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,845
38.768707
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RandomModInteger.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,422
36.276923
89
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractPatternSyntaxChecker.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,047
39.079208
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OrphanedFormatString.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,463
42.905882
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EqualsNaN.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,214
32.489583
97
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryAssignment.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 ...
10,068
41.665254
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingOverride.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,512
39.37931
91
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryTypeArgument.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 ...
4,059
36.943925
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/XorPower.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,905
34.012048
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullOptional.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,356
40.894231
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullableConstructor.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,067
37.296296
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TestParametersNotInitialized.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,866
42.943182
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BanSerializableRead.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,102
46.691589
101
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BareDotMetacharacter.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 ...
1,938
37.78
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DeadThread.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,013
38.490196
91
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/YodaCondition.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,564
35.52
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ProtoStringFieldReferenceEquality.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 ...
2,955
37.894737
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BigDecimalEquals.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,927
37.135922
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnsafeLocaleUsage.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,940
44.75
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ArrayAsKeyOfSetOrMap.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 ...
1,620
35.022222
95
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SelfAssignment.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 ...
9,667
41.218341
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IncorrectMainMethod.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,090
40.77027
93
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AsyncFunctionReturnsNull.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,208
35.636364
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ModifyCollectionInEnhancedForLoop.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 agre...
5,817
34.693252
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ProtoTruthMixedDescriptors.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,428
38.057554
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EmptyCatch.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,127
35.067797
90
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DistinctVarargsChecker.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 ...
6,509
43.896552
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IdentityHashMapBoxing.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,170
36.75
94
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullablePrimitiveArray.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 ...
5,182
35.244755
96
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractMockChecker.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,384
36.917847
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LoopOverCharArray.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,672
37.663158
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ReplacementVariableFinder.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,902
44.061069
100
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LiteProtoToString.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 ...
4,621
39.191304
99
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InputStreamSlowMultibyteRead.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,321
39.318182
98
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThrowNull.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 ...
1,711
38.813953
91
java
error-prone
error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UseCorrectAssertInTests.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 ...
8,300
36.731818
100
java