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/testdata/DeleteGeneratedConstructorTestCase.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 ... | 739 | 32.636364 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/testdata/ExtendedMultipleTopLevelClassesWithErrors.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 ... | 750 | 36.55 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/scanner/ScannerSupplierTest.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 ... | 27,057 | 39.085926 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/scanner/ScannerTest.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,878 | 32.439655 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NoAllocationCheckerTest.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,310 | 29.488372 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AnnotationPositionTest.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 ... | 17,872 | 28.348112 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StreamResourceLeakTest.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,272 | 35.364516 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MockNotUsedInProductionTest.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 ... | 9,019 | 29.576271 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IncomparableTest.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,294 | 31.323944 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ProtectedMembersInFinalClassTest.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,036 | 30.787402 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/YodaConditionTest.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,513 | 26.357576 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CannotMockMethodTest.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,797 | 26.98 | 76 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ICCProfileGetInstanceTest.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,718 | 28.637931 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FloatingPointAssertionWithinEpsilonTest.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,976 | 32.508475 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnit4ClassUsedInJUnit3Test.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,568 | 30.280952 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SameNameButDifferentTest.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,930 | 27.109005 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RequiredModifiersCheckerTest.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,562 | 35.909483 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessarySetDefaultTest.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,088 | 37.6125 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BadShiftAmountTest.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,291 | 29.046512 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InitializeInlineTest.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,293 | 24.937008 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PreferredInterfaceTypeTest.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 ... | 28,680 | 30.345355 | 102 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RethrowReflectiveOperationExceptionAsLinkageErrorTest.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,466 | 31.6 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SelfAssignmentTest.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,429 | 28.791667 | 82 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NullableVoidTest.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,546 | 28.964706 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ProtoStringFieldReferenceEqualityTest.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,998 | 33.872093 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DeduplicateConstantsTest.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,873 | 29.746032 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InlineTrivialConstantTest.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,509 | 32.026316 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnit4TestsNotRunWithinEnclosedTest.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,112 | 32.169355 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ModifyingCollectionWithItselfTest.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,361 | 30.674419 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnusedNestedClassTest.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,777 | 26.893004 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryTypeArgumentTest.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,284 | 26.292994 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/URLEqualsHashCodeTest.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,434 | 28.285714 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnsafeFinalizationTest.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,005 | 33.17561 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LabelledBreakTargetTest.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,126 | 27.36 | 79 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SelfEqualsTest.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 | 26.224719 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CannotMockFinalClassTest.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,478 | 29.183673 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AlreadyCheckedTest.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 ... | 14,142 | 26.198077 | 76 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnit3FloatingPointComparisonWithoutDeltaTest.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,290 | 25.81875 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnit4ClassAnnotationNonStaticTest.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,680 | 33.818182 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IterableAndIteratorTest.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 ... | 1,309 | 30.95122 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ThrowsUncheckedExceptionTest.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,930 | 31.758333 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DeprecatedVariableTest.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,574 | 29.288462 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RedundantOverrideTest.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 ... | 8,442 | 25.974441 | 77 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnit4TestNotRunTest.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 ... | 18,740 | 30.287145 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TestParametersNotInitializedTest.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,004 | 34.758929 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TypeToStringTest.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,441 | 41.711538 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LiteProtoToStringTest.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,748 | 30.244565 | 77 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TruthGetOrDefaultTest.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,396 | 37.234783 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EqualsGetClassTest.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,824 | 29.928854 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ProtocolBufferOrdinalTest.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,371 | 29.488889 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TruthSelfEqualsTest.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,051 | 28.73913 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AssertFalseTest.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,293 | 29.093023 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MissingBracesTest.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,549 | 30.875 | 80 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InvalidTimeZoneIDTest.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,768 | 35.95098 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/VarCheckerTest.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,863 | 23.972152 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StatementSwitchToExpressionSwitchTest.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 ... | 96,632 | 33.760072 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/XorPowerTest.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,992 | 30.634921 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AssertionFailureIgnoredTest.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,131 | 34.533074 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DoNotCallSuggesterTest.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,017 | 27.903846 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InvalidPatternSyntaxTest.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,321 | 29.744186 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MixedArrayDimensionsTest.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,582 | 30.156522 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ComparisonContractViolatedTest.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,344 | 31.02381 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MemberNameTest.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,725 | 26.018433 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DoNotUseRuleChainTest.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 ... | 19,574 | 37.685771 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ShouldHaveEvenArgsTest.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,861 | 29.52459 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnusedCollectionModifiedInPlaceTest.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,119 | 34.213675 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MissingDefaultTest.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,448 | 26.898876 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnsafeReflectiveConstructionCastTest.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,444 | 34.277778 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SwigMemoryLeakTest.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,291 | 29.046512 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ForEachIterableTest.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,443 | 34.238806 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InputStreamSlowMultibyteReadTest.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,183 | 29.318841 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AnnotationMirrorToStringTest.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,861 | 32.854545 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DeadExceptionTest.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,623 | 30.230769 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OperatorPrecedenceTest.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,108 | 30.328205 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NarrowCalculationTest.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,545 | 24.883212 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OptionalMapToOptionalTest.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,458 | 29.078261 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ArrayHashCodeTest.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,510 | 29.836735 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ObjectsHashCodePrimitiveTest.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,266 | 25.078864 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ProtoTruthMixedDescriptorsTest.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,526 | 38.025862 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ClassNameTest.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,404 | 27.140496 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NullableConstructorTest.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,599 | 28.545455 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StringCaseLocaleUsageTest.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 ... | 6,367 | 35.597701 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NonApiTypeTest.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 ... | 9,017 | 33.030189 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IterablePathParameterTest.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,460 | 29.382716 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BadImportTest.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 ... | 12,701 | 31.403061 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ThreadJoinLoopTest.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,809 | 30.754386 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RestrictedApiCheckerTest.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,694 | 29.383523 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryAnonymousClassTest.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,815 | 31.61244 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TreeToStringTest.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,873 | 42.132743 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LockOnNonEnclosingClassLiteralTest.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,372 | 33.325 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StronglyTypeByteStringTest.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,226 | 33.08871 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EqualsUnsafeCastTest.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,019 | 29.923077 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PrimitiveArrayPassedToVarargsMethodTest.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,417 | 29.170213 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryStaticImportTest.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,395 | 32.623762 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LockOnBoxedPrimitiveTest.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,259 | 33.571429 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RobolectricShadowDirectlyOnTest.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,701 | 36.393939 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AnnotateFormatMethodTest.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,030 | 32.307692 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TestExceptionCheckerTest.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,270 | 34.03352 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NonAtomicVolatileUpdateTest.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,328 | 31.414634 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UseEnumSwitchTest.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,349 | 28.385965 | 83 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.