Schema   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 1
cbo 2
dl 0
loc 20
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A generateTags() 0 8 1
1
<?php
2
3
namespace SocialLinks\Metas;
4
5
class Schema extends MetaBase implements MetaInterface
6
{
7
    const META_ATTRIBUTE_NAME = 'itemprop';
8
9
    protected static $characterLimits = array(
10
        'description' => 155,
11
    );
12
13
    /**
14
     * {@inheritdoc}
15
     */
16
    protected function generateTags()
17
    {
18
        $this->addMetas($this->page->get(array(
19
            'title' => 'name',
20
            'text' => 'description',
21
            'image',
22
        )));
23
    }
24
}
25