Boilerplate   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInit() 0 4 1
1
<?php
2
3
/**
4
 * PHP Package Boilerplate
5
 * Boilerplate for PHP packages.
6
 *
7
 * @link https://github.com/janesmae/php-package-boilerplate
8
 *
9
 * @version 0.1.0
10
 *
11
 * @author Jaan Janesmae <[email protected]>
12
 * @copyright 2016 Jaan Janesmae
13
 * @license MIT License (https://github.com/janesmae/php-package-boilerplate/blob/master/LICENSE)
14
 */
15
namespace janesmae\boilerplate;
16
17
/**
18
 * Class Boilerplate.
19
 *
20
 * @since 0.1.0
21
 */
22
class Boilerplate
23
{
24
    /**
25
     * @param bool $bool
26
     *
27
     * @return bool
28
     */
29
    public function testInit($bool = true)
30
    {
31
        return $bool;
32
    }
33
}
34