TestApplication   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A actionExisting() 0 4 1
A compound() 0 3 1
1
<?php
2
3
namespace Mezon\Application\Tests;
4
5
/**
6
 * Application for testing purposes.
7
 */
8
class TestApplication extends \Mezon\Application\Application
9
{
10
    
11
    function actionExisting()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
12
    {
13
        /* existing action */
14
        return 'OK!';
15
    }
16
    
17
    function compound()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
18
    {
19
        return 'compond';
20
    }
21
}
22