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/test/java/com/google/errorprone/bugpatterns/IdentityHashMapUsageTest.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,096 | 31.464968 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PreconditionsCheckNotNullRepeatedTest.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,071 | 36.703704 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnitAssertSameCheckTest.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,448 | 28.571429 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ModifyCollectionInEnhancedForLoopTest.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... | 2,466 | 31.038961 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ComplexBooleanConstantTest.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,619 | 31.035398 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InstanceOfAndCastMatchWrongTypeTest.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 ... | 2,980 | 29.731959 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryMethodInvocationMatcherTest.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,489 | 36.298851 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ArrayToStringTest.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 ... | 5,590 | 28.582011 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NullOptionalTest.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,558 | 28.172131 | 82 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TypeEqualsCheckerTest.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,209 | 42.854167 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CheckedExceptionNotThrownTest.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,348 | 28.070652 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UseCorrectAssertInTestsTest.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,117 | 28.086475 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/HashtableContainsTest.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,118 | 30.404908 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EqualsReferenceTest.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,297 | 29.904762 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LoopOverCharArrayTest.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,849 | 30.896552 | 84 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EmptyIfStatementTest.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,301 | 29.27907 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SubstringOfZeroTest.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,451 | 25.035088 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AmbiguousMethodReferenceTest.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,659 | 25.448598 | 84 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StaticAssignmentOfThrowableTest.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,093 | 28.726829 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SystemExitOutsideMainTest.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,409 | 26.05 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NullablePrimitiveArrayTest.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,915 | 32.517241 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MultipleTopLevelClassesTest.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,154 | 27.423423 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PreconditionsInvalidPlaceholderTest.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,366 | 31.547619 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ErroneousThreadPoolConstructorCheckerTest.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 ... | 8,284 | 37.896714 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DepAnnTest.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 ... | 1,767 | 30.017544 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ConstantOverflowTest.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,850 | 30.28877 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PrimitiveAtomicReferenceTest.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,409 | 30.710526 | 84 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/WaitNotInLoopTest.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 ... | 1,293 | 29.093023 | 80 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BanJNDITest.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,661 | 30.358491 | 77 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TruthConstantAssertsTest.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,455 | 28.714286 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StaticQualifiedUsingExpressionTest.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 ... | 5,438 | 26.609137 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InexactVarargsConditionalTest.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,486 | 31.723684 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CollectorShouldNotUseStateTest.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,340 | 31.707317 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnusedLabelTest.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 ... | 1,932 | 25.479452 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LossyPrimitiveCompareTest.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,832 | 33.54878 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BoxedPrimitiveConstructorTest.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,917 | 34.421429 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NonCanonicalTypeTest.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,037 | 26.27907 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LongDoubleConversionTest.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,666 | 27.648438 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RandomModIntegerTest.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,863 | 29.064516 | 76 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InsecureCipherModeTest.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,310 | 30.214286 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/VarifierTest.java | /*
* Copyright 2022 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... | 4,857 | 25.988889 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TryFailRefactoringTest.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,587 | 36.748031 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NonFinalCompileTimeConstantTest.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,459 | 29.350877 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OutlineNoneTest.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,069 | 38 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ComparisonOutOfRangeTest.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 ... | 1,317 | 29.651163 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DefaultPackageTest.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,550 | 24.257426 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InconsistentHashCodeTest.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,628 | 28.113208 | 80 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OptionalMapUnusedValueTest.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... | 4,803 | 28.838509 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FloatingPointLiteralPrecisionTest.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,435 | 33.36 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TryFailThrowableTest.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 ... | 1,298 | 29.928571 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ASTHelpersSuggestionsTest.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,250 | 34.725275 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InterruptedExceptionSwallowedTest.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 ... | 16,506 | 30.322581 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FloatCastTest.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,938 | 33.576471 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DefaultCharsetTest.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 ... | 19,204 | 33.541367 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FieldCanBeFinalTest.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,854 | 24.771739 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LiteByteStringUtf8Test.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,004 | 30.825397 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EmptyCatchTest.java | /*
* Copyright 2012 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,042 | 27.774648 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EqualsIncompatibleTypeTest.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,182 | 30.023649 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NullTernaryTest.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,620 | 30.013423 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/GetClassOnClassTest.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,340 | 30.186047 | 82 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BareDotMetacharacterTest.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,915 | 33.836364 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OrphanedFormatStringTest.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,581 | 32.029586 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CatchFailTest.java | /*
* Copyright 2017 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... | 8,726 | 29.197232 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OverridesTest.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 ... | 2,011 | 26.944444 | 76 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FallThroughTest.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,845 | 25.342466 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnsafeLocaleUsageTest.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,542 | 32.674107 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IsInstanceOfClassTest.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,542 | 28.121795 | 82 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ReturnsNullCollectionTest.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,425 | 33.26 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ProtoRedundantSetTest.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,827 | 42.487685 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StaticMockMemberTest.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,763 | 32.017544 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MisusedWeekYearTest.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,267 | 32.850746 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UndefinedEqualsTest.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 ... | 15,355 | 31.602972 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnicodeInCodeTest.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,936 | 28.213018 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SizeGreaterThanOrEqualsZeroTest.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,536 | 31.020833 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TooManyParametersTest.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,818 | 33.177305 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MultiVariableDeclarationTest.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,041 | 26.715596 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ArrayFillIncompatibleTypeTest.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 | 31.229358 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SystemOutTest.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,357 | 30.864865 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UngroupedOverloadsTest.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,468 | 29.349359 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/HidingFieldTest.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,488 | 28.78 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnusedMethodTest.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,226 | 28.452611 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ArraysAsListPrimitiveArrayTest.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,683 | 34.315789 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AlwaysThrowsTest.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,805 | 30.215054 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BanSerializableReadTest.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,745 | 31.943396 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MissingOverrideTest.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,548 | 27.080247 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ParameterNameTest.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 ... | 23,935 | 28.013333 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryTestMethodPrefixTest.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,154 | 26.628205 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LambdaFunctionalInterfaceTest.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,910 | 38.255507 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnsynchronizedOverridesSynchronizedTest.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,850 | 27.541463 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CheckNotNullMultipleTimesTest.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... | 3,366 | 28.535088 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CollectionToArraySafeParameterTest.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,754 | 30.339286 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ParametersButNotParameterizedTest.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,901 | 32.744186 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AsyncFunctionReturnsNullTest.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,330 | 32.275 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PublicApiNamedStreamShouldReturnStreamTest.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... | 3,544 | 28.541667 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RemoveUnusedImportsTest.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,270 | 28.738786 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryDefaultInEnumSwitchTest.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 ... | 25,432 | 29.827879 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/GetClassOnEnumTest.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,854 | 29.409836 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MissingSuperCallTest.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 ... | 15,664 | 33.811111 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessarilyFullyQualifiedTest.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,988 | 25.267544 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueBuilderDefaultsInConstructorTest.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,070 | 32.368852 | 97 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.