InitializationTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testVersionConstantIsDefined() 0 6 1
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace Maps\Tests\Integration;
6
7
use PHPUnit\Framework\TestCase;
8
9
/**
10
 * @licence GNU GPL v2+
11
 * @author Jeroen De Dauw < [email protected] >
12
 */
13
class InitializationTest extends TestCase {
14
15
	public function testVersionConstantIsDefined() {
16
		$this->assertIsString( Maps_VERSION );
17
		$this->assertIsString( SM_VERSION );
18
		$this->assertSame( Maps_VERSION, SM_VERSION );
19
		$this->assertNotEmpty( Maps_VERSION );
20
	}
21
22
}
23