ElementBase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
getProperties() 0 1 ?
A __construct() 0 3 1
1
<?php
2
3
namespace Fusonic\OpenGraph\Elements;
4
5
/**
6
 * Abstract base class for all OpenGraph elements (e.g. images, videos etc.)
7
 */
8
abstract class ElementBase
9
{
10 4
    protected function __construct()
11
    {
12 4
    }
13
14
    /**
15
     * Gets all properties set on this element.
16
     *
17
     * @return  array|Property[]
18
     */
19
    abstract public function getProperties();
20
}
21