| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 48 | public function execute(array $files) { |
||
| 49 | $coupling = new Coupling(); |
||
| 50 | $couplingMap = $coupling->calculate($this->classMap); |
||
| 51 | |||
| 52 | // link between coupling and files |
||
| 53 | $fileCoupling = new FileCoupling($this->classMap, $couplingMap); |
||
| 54 | foreach($files as $filename) { |
||
| 55 | $rCoupling = $fileCoupling->calculate($filename); |
||
| 56 | $this->collection->get($filename)->setCoupling($rCoupling); |
||
| 57 | } |
||
| 58 | } |
||
| 59 | |||
| 61 |