@@ 51-56 (lines=6) @@ | ||
48 | $this->coveredLines[$currentFile] = []; |
|
49 | } |
|
50 | ||
51 | if ($reader->name === "error") { |
|
52 | $this->coveredLines |
|
53 | [$currentFile] |
|
54 | [$reader->getAttribute('line')] |
|
55 | = $reader->getAttribute("message"); |
|
56 | } |
|
57 | } |
|
58 | ||
59 | return $this->coveredLines; |
@@ 49-57 (lines=9) @@ | ||
46 | $this->coveredLines[$currentFile] = []; |
|
47 | } |
|
48 | ||
49 | if (( |
|
50 | $reader->name === "line" && |
|
51 | $reader->getAttribute("type") == "stmt" |
|
52 | )) { |
|
53 | $this->coveredLines |
|
54 | [$currentFile] |
|
55 | [$reader->getAttribute('num')] |
|
56 | = (int) $reader->getAttribute("count"); |
|
57 | } |
|
58 | } |
|
59 | ||
60 | return $this->coveredLines; |