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

New "sources/lines" WS that gives source, SCM, coverage, duplication, highlighting and symbol in a single shot for a specific line of a file

    XMLWordPrintable

    Details

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

      Description

      request:

      /api/sources/lines?from=1&to=100&key=...
      

      response

      { "data": 
        [
          "line": 1,
          "code": "...",
          "scmAuthor": "...",
          "scmDate": "...",
          "scmRevision": "...",
          "lineHits": ...,
          "conditions": ...,
          "coveredConditions": ...,
          "duplicated": ...
        ],
        ...
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
              Reporter:
              stas.vilchik Stas Vilchik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: