File: class-with-outside-function-cobertura.xml

package info (click to toggle)
php-codecoverage 9.2.26%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,748 kB
  • sloc: php: 11,833; javascript: 10,145; xml: 1,351; makefile: 25
file content (41 lines) | stat: -rw-r--r-- 1,777 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage line-rate="0.75" branch-rate="0" lines-covered="3" lines-valid="4" branches-covered="0" branches-valid="0" complexity="3" version="0.4" timestamp="%i">
  <sources>
    <source>%s</source>
  </sources>
  <packages>
    <package name="source_with_class_and_outside_function.php" line-rate="0.75" branch-rate="0" complexity="3">
      <classes>
        <class name="ClassInFileWithOutsideFunction" filename="source_with_class_and_outside_function.php" line-rate="1" branch-rate="0" complexity="1">
          <methods>
            <method name="classMethod" signature="" line-rate="1" branch-rate="0" complexity="1">
              <lines>
                <line number="6" hits="1"/>
              </lines>
            </method>
          </methods>
          <lines>
            <line number="6" hits="1"/>
          </lines>
        </class>
        <class name="source_with_class_and_outside_function.php" filename="source_with_class_and_outside_function.php" line-rate="0.66666666666667" branch-rate="0" complexity="2">
          <methods>
            <method name="outsideFunction" signature="outsideFunction(bool $test): int" line-rate="0.66666666666667" branch-rate="0" complexity="2">
              <lines>
                <line number="12" hits="1"/>
                <line number="13" hits="1"/>
                <line number="16" hits="0"/>
              </lines>
            </method>
          </methods>
          <lines>
            <line number="12" hits="1"/>
            <line number="13" hits="1"/>
            <line number="16" hits="0"/>
          </lines>
        </class>
      </classes>
    </package>
  </packages>
</coverage>