TwigEngineMokcup   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 1
cbo 1
dl 0
loc 12
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A render() 0 4 1
1
<?php
2
namespace Test\TestBundle\Mockup;
3
4
use Symfony\Bundle\TwigBundle\TwigEngine;
5
6
class TwigEngineMokcup extends TwigEngine {
7
8
    public $renderParameters;
9
10 11
    public function __construct() {
11 11
    }
12
13 10
    public function render($name, array $parameters = array()) {
14 10
        $this->renderParameters = $parameters;
15 10
        return "";
16
    }
17
}