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

Fix performance hotspots in S103 due to slow regex

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.15
    • Component/s: Rules
    • Labels:
      None

      Description

      SonarQube analysis reported two hotspots due to slow regex in S103: here and here.

      Our recent work on performance (see SONARJAVA-3721) showed that this rule is indeed one of the slowest in the analyzer, we should fix these two regexes to not be subject to catastrophic backtracking,

        Attachments

          Activity

            People

            • Assignee:
              sebastian.hungerecker Sebastian Hungerecker
              Reporter:
              quentin.jaquier Quentin Jaquier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: