| @@ 296-303 (lines=8) @@ | ||
| 293 | if ($this->numTestedMethods === null) { |
|
| 294 | $this->numTestedMethods = 0; |
|
| 295 | ||
| 296 | foreach ($this->classes as $class) { |
|
| 297 | foreach ($class['methods'] as $method) { |
|
| 298 | if ($method['executableLines'] > 0 && |
|
| 299 | $method['coverage'] == 100) { |
|
| 300 | $this->numTestedMethods++; |
|
| 301 | } |
|
| 302 | } |
|
| 303 | } |
|
| 304 | ||
| 305 | foreach ($this->traits as $trait) { |
|
| 306 | foreach ($trait['methods'] as $method) { |
|
| @@ 305-312 (lines=8) @@ | ||
| 302 | } |
|
| 303 | } |
|
| 304 | ||
| 305 | foreach ($this->traits as $trait) { |
|
| 306 | foreach ($trait['methods'] as $method) { |
|
| 307 | if ($method['executableLines'] > 0 && |
|
| 308 | $method['coverage'] == 100) { |
|
| 309 | $this->numTestedMethods++; |
|
| 310 | } |
|
| 311 | } |
|
| 312 | } |
|
| 313 | } |
|
| 314 | ||
| 315 | return $this->numTestedMethods; |
|