Completed
Push — IncomprehensibleFinder/base ( 348f7f...2b8e11 )
by Albert
04:07 queued 01:29
created

CoupleEmpty   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 16
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A younger() 0 4 1
A older() 0 4 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Kata\Algorithm\Model;
6
7
final class CoupleEmpty extends Couple
8
{
9 2
    public function __construct()
10
    {
11 2
    }
12
13 2
    public function younger()
14
    {
15 2
        return null;
16
    }
17
18 2
    public function older()
19
    {
20 2
        return null;
21
    }
22
}
23