Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7680

Fallback to class name when Sensor name is not provided

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Plugin API, Scanner
    • Labels:
      None

      Description

      In the new Sensor API the Sensor name is provided using declarative method "describe". But if developer forget to provide a name "null" will be displayed in logs while we should instead fallback on classname.

      14:49:29.909 INFO  - Sensor null
      14:49:29.918 INFO  - 1 source files to be analyzed
      14:49:30.009 INFO  - 1/1 source files have been analyzed
      14:49:30.005 INFO  - Sensor null (done) | time=96ms
      

        Attachments

          Activity

            People

            • Assignee:
              julien.henry Julien Henry
              Reporter:
              julien.henry Julien Henry
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: