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

FP in S1989 when configuration is done in "web.xml"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Rules
    • Labels:
      None

      Description

      Warning: this ticket involves experimental work.

      The current implementation of S1989 reports FP due to a configuration done in the "web.xml", described here.

      In the Java analyzer, we also analyze ".xml" files. We should investigate if it is possible to write a check visiting both ".java" and ".xml" files to report an issue in the Java file only if the configuration is not present in the XML file.

      If the solution is too complex to implement, it's okay to close this issue as "won't fix", the rule still has value as it is.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: