Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
ExternalElementCollection
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace App\CollectionManagement\Domain\Model\External;
4
5use App\Shared\Domain\Model\Collection;
6
7/**
8 * @author Wilhelm Zwertvaegher
9 * Collection of objects extending Part
10 * @see Part
11 * @see LocalPart
12 * @see ExternalPart
13 * @extends Collection<ExternalElement>
14 */
15final class ExternalElementCollection extends Collection
16{
17    public function __construct(array $elements = [])
18    {
19        parent::__construct(ExternalElement::class, $elements);
20    }
21}

Paths

Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once. Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.

ExternalElementCollection->__construct
17    public function __construct(array $elements = [])
18    {
19        parent::__construct(ExternalElement::class, $elements);
20    }
{main}
3namespace App\CollectionManagement\Domain\Model\External;
4
5use App\Shared\Domain\Model\Collection;
6
7/**
8 * @author Wilhelm Zwertvaegher
9 * Collection of objects extending Part
10 * @see Part
11 * @see LocalPart
12 * @see ExternalPart
13 * @extends Collection<ExternalElement>
14 */
15final class ExternalElementCollection extends Collection
16{
17    public function __construct(array $elements = [])
18    {
19        parent::__construct(ExternalElement::class, $elements);
20    }