Foo   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A bar() 0 4 1
A fooThrowThisException() 0 4 1
A foo() 0 4 1
1
<?php
2
3
namespace DJStarCOM\NewRelic\Stub;
4
5
class Foo
6
{
7
    public function bar($argument = null)
8
    {
9
        return $argument;
10
    }
11
12
    public function fooThrowThisException(\Exception $exception)
13
    {
14
        throw $exception;
15
    }
16
17
    public function foo($argument = null)
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
18
    {
19
        return $argument;
20
    }
21
}
22