codingstyle
codingstyle copied to clipboard
Bump error-prone.version from 2.37.0 to 2.38.0
Bumps error-prone.version from 2.37.0 to 2.38.0.
Updates com.google.errorprone:error_prone_annotations from 2.37.0 to 2.38.0
Release notes
Sourced from com.google.errorprone:error_prone_annotations's releases.
Error Prone 2.38.0
New checks:
AddNullMarkedToPackageInfo: adds@org.jspecify.annotations.NullMarkedannotation to package-info filesIntLiteralCast: Suggests a literal of the desired type instead of casting an int literal to a long, float, or doubleMisleadingEmptyVarargs: Discourages calling varargs methods that expect at least one argument with no arguments, like Mockito'sthenThrowPreconditionsExpensiveString: Discourages expensive string formatting in GuavaPreconditionschecksSelfSet: Detects mistakes likeproto.setFoo(proto.getFoo())UnnecessaryCopy: detect unnecessary copies of proto Lists and Maps.Closed issues: #4924, #4897, #4995
Full changelog: https://github.com/google/error-prone/compare/v2.37.0...v2.38.0
Commits
a07bd3eRelease Error Prone 2.38.009fd394Fix typo in NullTernary.md4171fd7FindIdentifiers: find binding variables declared by enclosing or earlierif...d78f515Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE if app...6f94a97Tolerate default cases in switches as being present to handle version skew0223abbSupport@LenientFormatStringinLenientFormatStringValidation.cb7dfafRemove theSideenum.d64c9cePromote error prone check TestExceptionChecker to ERROR within Google (blaze ...c0ce475MoveTargetTypeto a top-level class alongsideASTHelpers.90b8efbAllow binding to BINDING_VARIABLEs in GuardedByBinder.- Additional commits viewable in compare view
Updates com.google.errorprone:error_prone_core from 2.37.0 to 2.38.0
Release notes
Sourced from com.google.errorprone:error_prone_core's releases.
Error Prone 2.38.0
New checks:
AddNullMarkedToPackageInfo: adds@org.jspecify.annotations.NullMarkedannotation to package-info filesIntLiteralCast: Suggests a literal of the desired type instead of casting an int literal to a long, float, or doubleMisleadingEmptyVarargs: Discourages calling varargs methods that expect at least one argument with no arguments, like Mockito'sthenThrowPreconditionsExpensiveString: Discourages expensive string formatting in GuavaPreconditionschecksSelfSet: Detects mistakes likeproto.setFoo(proto.getFoo())UnnecessaryCopy: detect unnecessary copies of proto Lists and Maps.Closed issues: #4924, #4897, #4995
Full changelog: https://github.com/google/error-prone/compare/v2.37.0...v2.38.0
Commits
a07bd3eRelease Error Prone 2.38.009fd394Fix typo in NullTernary.md4171fd7FindIdentifiers: find binding variables declared by enclosing or earlierif...d78f515Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE if app...6f94a97Tolerate default cases in switches as being present to handle version skew0223abbSupport@LenientFormatStringinLenientFormatStringValidation.cb7dfafRemove theSideenum.d64c9cePromote error prone check TestExceptionChecker to ERROR within Google (blaze ...c0ce475MoveTargetTypeto a top-level class alongsideASTHelpers.90b8efbAllow binding to BINDING_VARIABLEs in GuardedByBinder.- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
:sunny: Quality Monitor
Tests
Unit Tests: 98% successful (86 passed, 2 skipped)
:no_entry: Architecture tests: 100% successful (17 passed)
Code Coverage
:wavy_dash: Line Coverage: 92% (61 missed lines)
:curly_loop: Branch Coverage: 91% (19 missed branches)
Mutation Coverage
Mutation Coverage: 80% (80 survived mutations)
:muscle: Test Strength: 85% (58 survived mutations in tested code)
Style
CheckStyle: No warnings
PMD: No warnings
Bugs
SpotBugs: No bugs
:bug: Error Prone: No bugs
API Problems
:no_entry_sign: Revapi: No warnings
Vulnerabilities
OWASP Dependency Check: No vulnerabilities
Software Metrics
:cyclone: Cyclomatic Complexity: 376 (total)
:thought_balloon: Cognitive Complexity: 173 (total)
:loop: N-Path Complexity: 455 (total)
:straight_ruler: Lines of Code: 4270 (total)
:memo: Non Commenting Source Statements: 1257 (total)
:link: Class Cohesion: 71.43% (maximum)
:balance_scale: Weight of Class: 100.00% (maximum)
Created by Quality Monitor v2.5.3 (#8fa0834). More details are shown in the GitHub Checks Result.