Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3850

Static code analyzer (PMD) Errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build
    • None

    Description

      Static Code Analyzer (using PMD plugin) reports a large number of errors.

      Many of them are parsing errors by PMD plugin itself. This appears to be because the parse is assuming that the target source is below JDK 1.6.

      (1) Fix this to assume JDK 1.8 source so that method references are properly parsed.
      (2) Fix the java code to remove PMD warnings

      Changing the code to 1.8 may reveal new PMC exceptions that were hidden because of PMD plugin parser errors.

      (3) Fix new java code PMD errors uncovered when target jdk is switched to jdk8 and even jdk11

      Attachments

        Issue Links

          Activity

            People

              bipinprasad Bipin Prasad
              bipinprasad Bipin Prasad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m