RioDeJaneiro   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 20
ccs 7
cts 7
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace Brazanation\States;
4
5
class RioDeJaneiro extends State
6
{
7
    const CODE = 33;
8
9
    const FULL_NAME = 'Rio de Janeiro';
10
11
    const SHORT_NAME = 'RJ';
12
13
    const TIMEZONE = 'America/Sao_Paulo';
14
15 1
    public function __construct()
16
    {
17 1
        parent::__construct(
18 1
            self::FULL_NAME,
19 1
            self::SHORT_NAME,
20 1
            self::CODE,
21 1
            self::TIMEZONE
22
        );
23 1
    }
24
}
25