Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3906

Quick fixes for CODE SMELLS requiring trivial changes without compilation impact

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: Rules
    • Labels:
      None

      Description

      This first meta-ticket regroups CODE SMELL rules that could benefit from quick fixes, with trivial changes without any other impact (no further thinking/action is needed).

        Attachments

        1.
        Add quick fixes for S1481 (UnusedLocalVariableCheck) SONARJAVA-3909 Sub-task Closed Dorian Burihabwa Major
        2.
        Add quick fixes for S2293 (DiamondOperatorCheck) SONARJAVA-3910 Sub-task Closed Quentin Jaquier Major
        3.
        Add quick fixes for S1155 (CollectionIsEmptyCheck) SONARJAVA-3911 Sub-task Closed Quentin Jaquier Major
        4.
        Add quick fixes for S1130 (RedundantThrowsDeclarationCheck) SONARJAVA-3913 Sub-task Closed Alban Auzeill Major
        5.
        Add quick fixes for S1124 (ModifiersOrderCheck) SONARJAVA-3915 Sub-task Closed Michael Gumowski Major
        6.
        Add quick fixes for S1128 (UselessImportCheck) SONARJAVA-3916 Sub-task Closed Michael Gumowski Major
        7.
        Add quick fixes for S1161 (OverrideAnnotationCheck) SONARJAVA-3917 Sub-task Closed Michael Gumowski Major
        8.
        Add quick fixes for S1186 (EmptyMethodsCheck) SONARJAVA-3918 Sub-task Closed Dorian Burihabwa Major
        9.
        Add quick fixes for S5786 (JUnit5DefaultPackageClassAndMethodCheck) SONARJAVA-3919 Sub-task Closed Michael Gumowski Major
        10.
        Add quick fixes for S1905 (RedundantTypeCastCheck) SONARJAVA-3921 Sub-task Closed Alban Auzeill Major
        11.
        Add quick fixes for S3415 (AssertionArgumentOrderCheck) SONARJAVA-3922 Sub-task Closed Michael Gumowski Major
        12.
        Add quick fixes for S1068 (UnusedPrivateFieldCheck) SONARJAVA-3923 Sub-task Closed Dorian Burihabwa Major
        13.
        Add quick fixes for S1197 (ArrayDesignatorOnVariableCheck) SONARJAVA-3925 Sub-task Closed Alban Auzeill Major
        14.
        Add quick fixes for S1125 (BooleanLiteralCheck) SONARJAVA-3926 Sub-task Closed Quentin Jaquier Major
        15.
        Add quick fixes for S3252 (StaticMemberAccessCheck) SONARJAVA-3927 Sub-task Closed Michael Gumowski Major
        16.
        Add quick fixes for S1319 (CollectionImplementationReferencedCheck) SONARJAVA-3928 Sub-task Closed Michael Gumowski Major
        17.
        Add quick fixes for S1172 (UnusedMethodParameterCheck) SONARJAVA-3929 Sub-task Closed Alban Auzeill Major
        18.
        Add quick fixes for S1612 (ReplaceLambdaByMethodRefCheck) SONARJAVA-3930 Sub-task Closed Quentin Jaquier Major
        19.
        Add quick fixes for S1168 (ReturnEmptyArrayNotNullCheck) SONARJAVA-3931 Sub-task Closed Michael Gumowski Major
        20.
        Add quick fixes for S1123 (MissingDeprecatedCheck) SONARJAVA-3932 Sub-task Closed Unassigned Major
        21.
        Add quick fixes for S5411 (BoxedBooleanExpressionsCheck) SONARJAVA-3933 Sub-task Closed Quentin Jaquier Major
        22.
        Add quick fixes for S1144 (UnusedPrivateMethodCheck) SONARJAVA-3934 Sub-task Closed Quentin Jaquier Major
        23.
        Add quick fixes for S1116 (EmptyStatementUsageCheck) SONARJAVA-3939 Sub-task Closed Quentin Jaquier Major
        24.
        Add quick fixes for S1858 (StringToStringCheck) SONARJAVA-3940 Sub-task Closed Quentin Jaquier Major
        25.
        Add quick fixes for S1659 (OneDeclarationPerLineCheck) SONARJAVA-3941 Sub-task Closed Quentin Jaquier Major
        26.
        Add quick fixes for S2209 (StaticMembersAccessCheck) SONARJAVA-3942 Sub-task Closed Alban Auzeill Major
        27.
        Add quick fixes for S5838 (AssertJChainSimplificationCheck) SONARJAVA-3943 Sub-task Closed Quentin Jaquier Major
        28.
        Add quick fixes for S2325 (StaticMethodCheck) SONARJAVA-3944 Sub-task Closed Quentin Jaquier Major
        29.
        Add quick fixes for S1107 (RightCurlyBraceSameLineAsNextBlockCheck) SONARJAVA-3945 Sub-task Closed Quentin Jaquier Major
        30.
        Add quick fixes for S1488 (ImmediatelyReturnedVariableCheck) SONARJAVA-3946 Sub-task Closed Quentin Jaquier Major
        31.
        Add quick fixes for S1195 (ArrayDesignatorAfterTypeCheck) SONARJAVA-3998 Sub-task Closed Alban Auzeill Major

          Activity

            People

            Assignee:
            michael.gumowski Michael Gumowski
            Reporter:
            quentin.jaquier Quentin Jaquier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: