SonarQube
  1. SonarQube
  2. SONAR-926

Add the ability to analyze a project for more than one language

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2
    • Component/s: Metrics, Multi-language
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The scope of this ticket is the following:

      • be able to analyze a project that has a mix of several languages (for the moment, 1 file = 1 language at most)
      • be able to configure the relevant quality profiles for each language
      • be able to create issues on each file based on the rules activated on the quality profile for the language of the file
      • be able to compute measures on each file based on its language

      Starting with 4.2, projects won't be "tagged" with languages any more. As a consequence, this means that:

      • the language information won't be displayed any more in the "Description" widget
      • language-based measure filters won't be work any more (and the "Language" criterium will be removed in the Measures Page)

      What's not in the scope of this ticket:

      • be able to give the distribution of metrics per language (for instance: the number of lines of code per language)

        Issue Links

          Activity

          Olivier Gaudin made changes -
          Field Original Value New Value
          Link This issue is duplicated by SONAR-419 [ SONAR-419 ]
          Olivier Gaudin made changes -
          Description This could consist of adding a qualifier column to the project_measures table and record every metric on each language This could consist of adding a qualifier column to the project_measures table and record every metric on each language

          ------------------------------------------------------------------
          Issue by Freddy Schwaller :
          We have many projects containing both java and sql sources. How do we specifiy the analysis of such projects ? 2 pom.xml, one for each technology, for instance ?
          The rendering should include both technologies for such a project, with java or sql rulesets associated with each object.
          Olivier Gaudin made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          Freddy Mallet made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          Freddy Mallet made changes -
          Link This issue is depended upon by SONAR-1743 [ SONAR-1743 ]
          Evgeny Mandrikov made changes -
          Link This issue is depended upon by SONARPLUGINS-464 [ SONARPLUGINS-464 ]
          Evgeny Mandrikov made changes -
          Link This issue is depended upon by SONARPLUGINS-611 [ SONARPLUGINS-611 ]
          Freddy Mallet made changes -
          Link This issue is related to SONAR-2602 [ SONAR-2602 ]
          Freddy Mallet made changes -
          Component/s Multi-language [ 14220 ]
          Evgeny Mandrikov made changes -
          Link This issue is related to SONARPLUGINS-1802 [ SONARPLUGINS-1802 ]
          Freddy Mallet made changes -
          Link This issue is related to SONAR-2322 [ SONAR-2322 ]
          David RACODON made changes -
          Link This issue is depended upon by SONAR-4828 [ SONAR-4828 ]
          Fabrice Bellingard made changes -
          Description This could consist of adding a qualifier column to the project_measures table and record every metric on each language

          ------------------------------------------------------------------
          Issue by Freddy Schwaller :
          We have many projects containing both java and sql sources. How do we specifiy the analysis of such projects ? 2 pom.xml, one for each technology, for instance ?
          The rendering should include both technologies for such a project, with java or sql rulesets associated with each object.
          The scope of this ticket is the following:
          - be able to analyze a project that has a mix of several languages (for the moment, 1 file = 1 language at most)
          - be able to configure the relevant quality profiles for each language
          - be able to create issues on each file based on the rules activated on the quality profile for the language of the file
          - be able to compute measures on each file based on its language

          What's not in the scope of this ticket:
          - be able to give the distribution of metrics per language (for instance: the number of lines of code per language)
          Julien HENRY made changes -
          Assignee Julien HENRY [ henryju ]
          Julien HENRY made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Fabrice Bellingard made changes -
          Fix Version/s 4.2 [ 19604 ]
          Julien HENRY made changes -
          Due Date 16/Jan/14
          Julien HENRY made changes -
          Link This issue depends upon SONAR-3024 [ SONAR-3024 ]
          Simon Brandhof made changes -
          Due Date 16/Jan/14 31/Jan/14
          Julien HENRY made changes -
          Link This issue is related to SONARPLUGINS-3423 [ SONARPLUGINS-3423 ]
          Evgeny Mandrikov made changes -
          Link This issue is related to SONARPLUGINS-3428 [ SONARPLUGINS-3428 ]
          Evgeny Mandrikov made changes -
          Link This issue is related to SONARPLUGINS-3429 [ SONARPLUGINS-3429 ]
          Evgeny Mandrikov made changes -
          Link This issue is related to SONARJAVA-438 [ SONARJAVA-438 ]
          Evgeny Mandrikov made changes -
          Link This issue is related to SONARPLUGINS-3433 [ SONARPLUGINS-3433 ]
          Julien HENRY made changes -
          Resolution Fixed [ 1 ]
          Assignee Julien HENRY [ henryju ] Fabrice Bellingard [ fabemn ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fabrice Bellingard made changes -
          Assignee Fabrice Bellingard [ fabemn ] Julien HENRY [ henryju ]
          Julien HENRY made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Julien HENRY made changes -
          Link This issue is related to SONAR-5069 [ SONAR-5069 ]
          Fabrice Bellingard made changes -
          Assignee Julien HENRY [ henryju ] Simon Brandhof [ simon.brandhof ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Fabrice Bellingard made changes -
          Resolution Fixed [ 1 ]
          Assignee Simon Brandhof [ simon.brandhof ] Julien HENRY [ henryju ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Fabrice Bellingard made changes -
          Assignee Julien HENRY [ henryju ] Simon Brandhof [ simon.brandhof ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Fabrice Bellingard made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Simon Brandhof made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Simon Brandhof made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Simon Brandhof made changes -
          Resolution Fixed [ 1 ]
          Assignee Simon Brandhof [ simon.brandhof ] Freddy Mallet [ freddy.mallet ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Freddy Mallet made changes -
          Assignee Freddy Mallet [ freddy.mallet ] Fabrice Bellingard [ fabemn ]
          Fabrice Bellingard made changes -
          Assignee Fabrice Bellingard [ fabemn ] Simon Brandhof [ simon.brandhof ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Fabrice Bellingard made changes -
          Link This issue is related to SONAR-5118 [ SONAR-5118 ]
          Fabrice Bellingard made changes -
          Link This issue is related to SONAR-5130 [ SONAR-5130 ]
          Fabrice Bellingard made changes -
          Description The scope of this ticket is the following:
          - be able to analyze a project that has a mix of several languages (for the moment, 1 file = 1 language at most)
          - be able to configure the relevant quality profiles for each language
          - be able to create issues on each file based on the rules activated on the quality profile for the language of the file
          - be able to compute measures on each file based on its language

          What's not in the scope of this ticket:
          - be able to give the distribution of metrics per language (for instance: the number of lines of code per language)
          The scope of this ticket is the following:
          - be able to analyze a project that has a mix of several languages (for the moment, 1 file = 1 language at most)
          - be able to configure the relevant quality profiles for each language
          - be able to create issues on each file based on the rules activated on the quality profile for the language of the file
          - be able to compute measures on each file based on its language

          A project that is analyzed in multi-language mode won't be "tagged" with languages any more. As a consequence, this means that:
          - the language information won't be displayed any more in the "Description" widget
          - language-based measure filters won't be available any more

          What's not in the scope of this ticket:
          - be able to give the distribution of metrics per language (for instance: the number of lines of code per language)
          Fabrice Bellingard made changes -
          Description The scope of this ticket is the following:
          - be able to analyze a project that has a mix of several languages (for the moment, 1 file = 1 language at most)
          - be able to configure the relevant quality profiles for each language
          - be able to create issues on each file based on the rules activated on the quality profile for the language of the file
          - be able to compute measures on each file based on its language

          A project that is analyzed in multi-language mode won't be "tagged" with languages any more. As a consequence, this means that:
          - the language information won't be displayed any more in the "Description" widget
          - language-based measure filters won't be available any more

          What's not in the scope of this ticket:
          - be able to give the distribution of metrics per language (for instance: the number of lines of code per language)
          The scope of this ticket is the following:
          - be able to analyze a project that has a mix of several languages (for the moment, 1 file = 1 language at most)
          - be able to configure the relevant quality profiles for each language
          - be able to create issues on each file based on the rules activated on the quality profile for the language of the file
          - be able to compute measures on each file based on its language

          Starting with 4.2, projects won't be "tagged" with languages any more. As a consequence, this means that:
          - the language information won't be displayed any more in the "Description" widget
          - language-based measure filters won't be work any more (and the "Language" criterium will be removed in the Measures Page)

          What's not in the scope of this ticket:
          - be able to give the distribution of metrics per language (for instance: the number of lines of code per language)
          Simon Brandhof made changes -
          Resolution Fixed [ 1 ]
          Assignee Simon Brandhof [ simon.brandhof ] Fabrice Bellingard [ fabemn ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fabrice Bellingard made changes -
          Link This issue is related to SONAR-5143 [ SONAR-5143 ]
          Fabrice Bellingard made changes -
          Assignee Fabrice Bellingard [ fabemn ] Simon Brandhof [ simon.brandhof ]
          Simon Brandhof made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Freddy Mallet made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Simon Brandhof made changes -
          Resolution Fixed [ 1 ]
          Assignee Simon Brandhof [ simon.brandhof ] Freddy Mallet [ freddy.mallet ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Freddy Mallet made changes -
          Assignee Freddy Mallet [ freddy.mallet ] Simon Brandhof [ simon.brandhof ]
          Freddy Mallet made changes -
          Status Resolved [ 5 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Simon Brandhof made changes -
          Resolution Fixed [ 1 ]
          Assignee Simon Brandhof [ simon.brandhof ] Freddy Mallet [ freddy.mallet ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Freddy Mallet made changes -
          Assignee Freddy Mallet [ freddy.mallet ] Simon Brandhof [ simon.brandhof ]
          Simon Brandhof made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Simon Brandhof
              Reporter:
              Olivier Gaudin
            • Votes:
              192 Vote for this issue
              Watchers:
              135 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: