Writing_On_GitHub_File_Info   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 11
ccs 5
cts 5
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
4
/**
5
 *
6
 */
7
class Writing_On_GitHub_File_Info {
8
9 3
    public function __construct( stdClass $data ) {
10 3
        $this->sha          = $data->sha;
11 3
        $this->path         = $data->path;
12 3
        $this->status       = $data->status;
13 3
    }
14
15
    public $sha;
16
    public $path;
17
    public $status;  // added removed modified
18
}
19