VWTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testEnvironmentalImpactCompliance() 0 4 1
1
<?php
2
3
namespace Tests;
4
5
use PHPUnit_Framework_TestCase;
6
7
/**
8
 * This will pass just fine on CI tools.
9
 *
10
 * Who cares about the legal limit ?
11
 *
12
 * @author Hugues Maignol <[email protected]>
13
 */
14
class VWTest extends PHPUnit_Framework_TestCase
15
{
16
    private $noxEmissions = 12000;
17
18
    private $legalLimit = 300;
19
20
    public function testEnvironmentalImpactCompliance()
21
    {
22
        $this->assertLessThan($this->legalLimit, $this->noxEmissions);
23
    }
24
}
25