SiteTreeBacklinksTestContentObject
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
dl 0
loc 10
c 1
b 0
f 0
wmc 0
1
<?php
2
3
namespace SilverStripe\CMS\Tests\Model;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataObject;
7
8
class SiteTreeBacklinksTestContentObject extends DataObject implements TestOnly
9
{
10
    private static $table_name = 'BacklinkContent';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
11
12
    private static $db = array(
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
13
        'Title' => 'Text',
14
        'Content' => 'HTMLText',
15
    );
16
17
    private static $singular_name = 'Backlink test content object';
0 ignored issues
show
introduced by
The private property $singular_name is not used, and could be removed.
Loading history...
18
}
19