Sha256: b0ecdd90cde05e98ad071e9bd6e5b80c67a51e754dc0f7d6bdb880b05bdd932e

Contents?: true

Size: 1.35 KB

Versions: 28

Compression:

Stored size: 1.35 KB

Contents

!!! 5
html
  head
    title Coverage
    include script.html
    include style.html
  body
    #coverage
      h1#overview Coverage
      include menu

      #stats(class=coverageClass(cov.coverage))
        .percentage #{cov.coverage | 0}%
        .sloc= cov.sloc
        .hits= cov.hits
        .misses= cov.misses

      #files
        for file in cov.files
          .file
            h2(id=file.filename)= file.filename
            #stats(class=coverageClass(file.coverage))
              .percentage #{file.coverage | 0}%
              .sloc= file.sloc
              .hits= file.hits
              .misses= file.misses

            table#source
              thead
                tr
                  th Line
                  th Hits
                  th Source
              tbody
                for line, number in file.source
                  if line.coverage > 0
                    tr.hit
                      td.line= number
                      td.hits= line.coverage
                      td.source= line.source
                  else if 0 === line.coverage
                    tr.miss
                      td.line= number
                      td.hits 0
                      td.source= line.source
                  else
                    tr
                      td.line= number
                      td.hits
                      td.source= line.source || ' '

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
stylus-source-0.42.2 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.42.1 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.42.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.41.3 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.41.2 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.41.1 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.41.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.40.3 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.40.2 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.40.1 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.40.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.39.4 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.39.3 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.39.2 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.39.1 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.39.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.38.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.37.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.36.1 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade
stylus-source-0.36.0 vendor/node_modules/mocha/lib/reporters/templates/coverage.jade