Completed
Push — master ( d21053...c59b30 )
by
unknown
08:11
created

TidypicsBatch   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 14
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
wmc 2
lcom 1
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initializeAttributes() 0 6 1
A __construct() 0 4 1
1
<?php
2
/**
3
 * TidypicsBatch class
4
 *
5
 */
6
7
class TidypicsBatch extends ElggObject {
8
9
  protected function initializeAttributes() {
10
11
    parent::initializeAttributes();
12
13
    $this->attributes['subtype'] = "tidypics_batch";
14
  }
15
16
  public function __construct($guid = null) {
17
18
    parent::__construct($guid);
19
  }
20
}
21