Version   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getVersion() 0 4 1
1
<?php
2
namespace ApigilityClient;
3
4
class Version
5
{
6
7
    /**
8
     * @var String
9
     */
10
    const VERSION = '0.2.0';
11
12
    /**
13
     * Get current version
14
     *
15
     * @return string
16
     */
17 1
    public static function getVersion()
18
    {
19 1
        return self::VERSION;
20
    }
21
}
22