VirtualPageTest_ClassAController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testMethod() 0 3 1
1
<?php
2
3
namespace SilverStripe\CMS\Tests\Model;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\CMS\Controllers\ContentController;
7
8
class VirtualPageTest_ClassAController extends ContentController implements TestOnly
9
{
10
    private static $allowed_actions = [
0 ignored issues
show
introduced by
The private property $allowed_actions is not used, and could be removed.
Loading history...
11
        'testaction',
12
    ];
13
14
    public function testMethod()
15
    {
16
        return 'hello';
17
    }
18
}
19