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
EnrichedSetCollection
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;
4
5use App\Shared\Domain\Model\Collection;
6
7/**
8 * @author Wilhelm Zwertvaegher
9 * Collection of EnrichedSet which encapsulate an object implementing BaseSet and metadata
10 * such as current status if current user has already added the BaseSet to their collection
11 * @see EnrichedSet
12 * @extends Collection<EnrichedSet>
13 */
14final class EnrichedSetCollection extends Collection
15{
16    public function __construct(array $elements = [])
17    {
18        parent::__construct(EnrichedSet::class, $elements);
19    }
20}

Branches

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

EnrichedSetCollection->__construct
16    public function __construct(array $elements = [])
17    {
18        parent::__construct(EnrichedSet::class, $elements);
19    }
{main}
3namespace App\CollectionManagement\Domain\Model;
4
5use App\Shared\Domain\Model\Collection;
6
7/**
8 * @author Wilhelm Zwertvaegher
9 * Collection of EnrichedSet which encapsulate an object implementing BaseSet and metadata
10 * such as current status if current user has already added the BaseSet to their collection
11 * @see EnrichedSet
12 * @extends Collection<EnrichedSet>
13 */
14final class EnrichedSetCollection extends Collection
15{
16    public function __construct(array $elements = [])
17    {
18        parent::__construct(EnrichedSet::class, $elements);
19    }