SkeletonClass   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A echoPhrase() 0 4 1
1
<?php
2
3
namespace League\Skeleton;
4
5
class SkeletonClass
6
{
7
    /**
8
     * Create a new Skeleton Instance
9
     */
10
    public function __construct()
11
    {
12
        // constructor body
13
    }
14
15
    /**
16
     * Friendly welcome
17
     *
18
     * @param string $phrase Phrase to return
19
     *
20
     * @return string Returns the phrase passed in
21
     */
22
    public function echoPhrase($phrase)
23
    {
24
        return $phrase;
25
    }
26
}
27