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/MisusedDayOfYearTest.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,236 | 31.343511 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IndexOfCharTest.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,636 | 28.232143 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OverrideThrowableToStringTest.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,775 | 33.823529 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DifferentNameButSameTest.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,934 | 25.671642 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ErroneousBitwiseExpressionTest.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,539 | 28.615385 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PackageInfoTest.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,416 | 27.34 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ComparableTypeTest.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 ... | 1,270 | 31.589744 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BigDecimalLiteralDoubleTest.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,874 | 31.670455 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryAssignmentTest.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,924 | 29.641593 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/PackageLocationTest.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,490 | 27.382114 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ThrowIfUncheckedKnownCheckedTest.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,350 | 32.775 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OptionalEqualityTest.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,910 | 29.317829 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ThreadLocalUsageTest.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,644 | 28.719101 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LongLiteralLowerCaseSuffixTest.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,924 | 30.557377 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CatchingUncheckedTest.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,226 | 26.8375 | 77 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InvalidZoneIdTest.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,398 | 32.99 | 80 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TypeParameterShadowingTest.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 11,717 | 30.67027 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EqualsNullTest.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,287 | 26.823009 | 80 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IntLongMathTest.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,062 | 29.029412 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NegativeCharLiteralTest.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,322 | 25.798387 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NestedInstanceOfConditionsTest.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,383 | 30.454545 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StringBuilderInitWithCharTest.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,343 | 30.255814 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ImmutableMemberCollectionTest.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,309 | 31.834395 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TheoryButNoTheoriesTest.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,917 | 32.54023 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LogicalAssignmentTest.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,073 | 30.050505 | 84 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TruthAssertExpectedTest.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,377 | 30.318182 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ConstantPatternCompileTest.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 ... | 15,759 | 34.736961 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InterfaceWithOnlyStaticsTest.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,639 | 26.619048 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ArrayEqualsTest.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,543 | 28.132075 | 79 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NewFileSystemTest.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,627 | 31.85 | 83 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DoNotMockAutoValueTest.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,533 | 30.958333 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IgnoredPureGetterTest.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 10,416 | 33.839465 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IncompatibleModifiersCheckerTest.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,113 | 36.052083 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryParenthesesTest.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,305 | 26.885496 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MutablePublicArrayTest.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,653 | 26.852217 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IncrementInForLoopAndHeaderTest.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,449 | 29.851064 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FinalizeTest.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,744 | 28.083333 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnusedExceptionTest.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,633 | 26.673077 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ChainingConstructorIgnoresParameterTest.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,412 | 29.717391 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RedundantThrowsTest.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,324 | 32.928571 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IncorrectMainMethodTest.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,651 | 24.420765 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MemoizeConstantVisitorStateLookupsTest.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,730 | 39.056995 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessarilyVisibleTest.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,809 | 25.871508 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/IdentityHashMapBoxingTest.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,464 | 37.491379 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryMethodReferenceTest.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... | 7,946 | 30.411067 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FunctionalInterfaceClashTest.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 ... | 12,939 | 32.436693 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ComputeIfAbsentAmbiguousReferenceTest.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,243 | 36.22807 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ShortCircuitBooleanTest.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,286 | 36.491803 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MustBeClosedCheckerTest.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,239 | 31.955975 | 92 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/WithSignatureDiscouragedTest.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,426 | 36.366279 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DoNotClaimAnnotationsTest.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,774 | 35.450382 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnitParameterMethodNotFoundTest.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,866 | 32.945455 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ChainedAssertionLosesContextTest.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,348 | 31.119048 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/LockNotBeforeTryTest.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 ... | 10,978 | 28.834239 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ClassNewInstanceTest.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 ... | 17,828 | 29.686747 | 97 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ImpossibleNullComparisonTest.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 or agre... | 19,475 | 39.406639 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NCopiesOfCharTest.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,629 | 28.107143 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FutureReturnValueIgnoredTest.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,913 | 29.673684 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/EqualsHashCodeTest.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,849 | 26.112676 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ComparingThisWithNullTest.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,027 | 24.333333 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryBoxedVariableTest.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,643 | 28.054945 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/OptionalOfRedundantMethodTest.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 ... | 16,233 | 28.678245 | 104 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MissingRefasterAnnotationTest.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,141 | 35.654867 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NonCanonicalStaticMemberImportTest.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,263 | 27.454054 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MultipleUnaryOperatorsInMethodCallTest.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,406 | 30.266667 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/VarTypeNameTest.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,776 | 28.616667 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryStringBuilderTest.java | /*
* Copyright 2023 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,596 | 32.315476 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CheckReturnValueTest.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 ... | 32,910 | 30.921435 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/InterruptionTest.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,525 | 27.465409 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CanonicalDurationTest.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,774 | 31.531381 | 95 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JUnit3TestNotRunTest.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,538 | 30.86194 | 86 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnusedTypeParameterTest.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,178 | 25.714286 | 89 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/StreamToIterableTest.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,113 | 34.162393 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FuturesGetCheckedIllegalExceptionTypeTest.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 or ... | 1,425 | 32.952381 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SuppressWarningsWithoutExplanationTest.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,885 | 26.757143 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ExtendingJUnitAssertTest.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,457 | 30.436364 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/TypeParameterUnusedInFormalsTest.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,173 | 25.843478 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ExpectedExceptionCheckerTest.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 ... | 19,062 | 39.732906 | 99 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/SuppressWarningsDeprecatedTest.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,405 | 30.244444 | 93 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/CharacterGetNumericValueTest.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,609 | 33.402985 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/JdkObsoleteTest.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 11,124 | 31.817109 | 88 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DeadThreadTest.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,545 | 25.655172 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FieldCanBeLocalTest.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 ... | 14,940 | 25.775986 | 85 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryLongToIntConversionTest.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,180 | 31.101399 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/DoNotMockCheckerTest.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 13,829 | 38.401709 | 94 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ForOverrideCheckerTest.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 ... | 10,056 | 30.232919 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ThrowNullTest.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,604 | 26.672414 | 81 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueSubclassLeakedTest.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,913 | 29.578125 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/UnicodeDirectionalityCharactersTest.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,340 | 29.012821 | 91 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/FieldCanBeStaticTest.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,807 | 29.178462 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NamedLikeContextualKeywordTest.java | /*
* Copyright 2023 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,247 | 30.007519 | 90 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ImmutableSetForContainsTest.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 ... | 16,525 | 39.804938 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MissingFailTest.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 ... | 10,097 | 32.885906 | 96 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AssertThrowsMultipleStatementsTest.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,548 | 34.402778 | 100 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/ReachabilityFenceUsageTest.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,319 | 28 | 82 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/NullableOnContainingClassTest.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,117 | 32.233766 | 87 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/RandomCastTest.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,614 | 32.525641 | 75 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/MockitoUsageTest.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,310 | 31.19898 | 78 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueImmutableFieldsTest.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,514 | 32.385965 | 98 | java |
error-prone | error-prone-master/core/src/test/java/com/google/errorprone/bugpatterns/BoxedPrimitiveEqualityTest.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,354 | 26.5 | 90 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.