Week   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 1
c 2
b 0
f 0
dl 0
loc 11
ccs 0
cts 1
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Swis\Melvin\Models;
6
7
class Week
8
{
9
    public function __construct(
10
        public bool $monday,
11
        public bool $tuesday,
12
        public bool $wednesday,
13
        public bool $thursday,
14
        public bool $friday,
15
        public bool $saturday,
16
        public bool $sunday
17
    ) {
18
    }
19
}
20