Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903733

[jcov]The number of covered lines displayed by jcov statistics is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • generic
    • linux

      Create behalf on lvfei.lv@alibaba-inc.com

      In the attachment below, I have provided a screenshot of the coverage data we got using jcov. In this file, the line coverage is shown to be 32/44, but in fact the number of lines marked green is 33 in total. So I added a printed log to the jcov source code and found that there were 33 lineNumCover lines in this file. Is there any hidden rule to remove one of the coverage lines?

        1. 1.webp
          89 kB
        2. 2.webp
          48 kB
        3. 3.webp
          47 kB
        4. 4.webp
          115 kB
        5. 5.webp
          114 kB
        6. 6.webp
          106 kB

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: