ImageTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testCreateInstance() 0 5 1
1
<?php
2
3
namespace Tests\Knp\Snappy;
4
5
use Knp\Snappy\Image;
6
use PHPUnit\Framework\TestCase;
7
8
class ImageTest extends TestCase
9
{
10
    public function testCreateInstance(): void
11
    {
12
        $testObject = new Image();
13
        $this->assertInstanceOf(Image::class, $testObject);
14
    }
15
}
16