SonarQube JavaScript
  1. SonarQube JavaScript
  2. SONARJS-41

Correctly interpret relative paths in LCOV reports

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Karma runner (Istanbul based one for Angularjs) generates lcov reports with relative paths for the SF field. The lcov parser then cannot make the link between SF and the actual file.

      See : http://sonar.15.x6.nabble.com/Sonar-runner-javascript-and-multiple-lcov-reports-td5011636.html

        Activity

        Hide
        Fabrice Bellingard added a comment -
        Show
        Fabrice Bellingard added a comment - A pull request has been submitted: https://github.com/SonarCommunity/sonar-javascript/pull/9
        Hide
        Evgeny Mandrikov added a comment -

        There were problem with this pull request on Windows, so I applied another solution - https://github.com/SonarCommunity/sonar-javascript/commit/445cd9f60009504d52e3a85bd3a3156eff96d04f

        Show
        Evgeny Mandrikov added a comment - There were problem with this pull request on Windows, so I applied another solution - https://github.com/SonarCommunity/sonar-javascript/commit/445cd9f60009504d52e3a85bd3a3156eff96d04f
        Hide
        Evgeny Mandrikov added a comment -

        Integration test was added.

        Show
        Evgeny Mandrikov added a comment - Integration test was added.
        Hide
        Freddy Mallet added a comment -

        Manually tested !

        Show
        Freddy Mallet added a comment - Manually tested !

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Anonymous
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: