Lines Matching refs:trait
273 foreach ($this->traits as $trait) {
274 foreach ($trait['methods'] as $method) {
315 foreach ($this->traits as $trait) {
316 foreach ($trait['methods'] as $method) {
346 foreach ($this->traits as $trait) {
347 foreach ($trait['methods'] as $method) {
505 foreach ($this->traits as &$trait) {
506 foreach ($trait['methods'] as &$method) {
519 $trait['ccn'] += $method['ccn'];
522 if ($trait['executableLines'] > 0) {
523 $trait['coverage'] = ($trait['executedLines'] /
524 $trait['executableLines']) * 100;
526 if ($trait['coverage'] == 100) {
530 $trait['coverage'] = 100;
533 $trait['crap'] = $this->crap(
534 $trait['ccn'],
535 $trait['coverage']
620 foreach ($traits as $traitName => $trait) {
624 'startLine' => $trait['startLine'],
630 'package' => $trait['package'],
631 'link' => $link . $trait['startLine']
634 $this->startLines[$trait['startLine']] = &$this->traits[$traitName];
635 $this->endLines[$trait['endLine']] = &$this->traits[$traitName];
637 foreach ($trait['methods'] as $methodName => $method) {