Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
CRAP
100.00% covered (success)
100.00%
1 / 1
IdentityInfo
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
4 / 4
4
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
 getIdentityId
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
 getEmail
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
 getUsername
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\Notification\Domain\Model;
4
5/**
6 * @author Wilhelm Zwertvaegher
7 */
8final readonly class IdentityInfo
9{
10    public function __construct(
11        private readonly string $identityId,
12        private readonly string $email,
13        private readonly string $username
14    ) {
15    }
16
17    public function getIdentityId(): string
18    {
19        return $this->identityId;
20    }
21
22    public function getEmail(): string
23    {
24        return $this->email;
25    }
26
27    public function getUsername(): string
28    {
29        return $this->username;
30    }
31}

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.

IdentityInfo->__construct
10    public function __construct(
11        private readonly string $identityId,
12        private readonly string $email,
13        private readonly string $username
14    ) {
15    }
IdentityInfo->getEmail
24        return $this->email;
25    }
IdentityInfo->getIdentityId
19        return $this->identityId;
20    }
IdentityInfo->getUsername
29        return $this->username;
30    }