Test Setup Failed
Push — master ( 7a093e...068245 )
by Nick
05:17
created

ConfigReader::xpath()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
ccs 5
cts 5
cp 1
rs 9.4285
cc 2
eloc 5
nc 2
nop 1
crap 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
ConfigReader::getDatabaseName() 0 1 ?
ConfigReader::getInstallDate() 0 1 ?
1
<?php
2
3
namespace Meanbee\LibMageConf;
4
5
interface ConfigReader
6
{
7
    /**
8
     * @return null|string
9
     */
10
    public function getDatabaseHost();
11
12 8
    /**
13
     * @return null|string
14 8
     */
15
    public function getDatabasePort();
16 8
17 1
    /**
18 1
     * @return null|string
19
     */
20
    public function getDatabaseUsername();
21
22 7
    /**
23 7
     * @return null|string
24
     */
25
    public function getDatabasePassword();
26
27
    /**
28
     * @return null|string
29 7
     */
30
    public function getDatabaseName();
31 7
32
    /**
33 7
     * @return null|string
34 7
     */
35
    public function getInstallDate();
36
37 1
    /**
38
     * @return null|string
39
     */
40
    public function getAdminFrontName();
41
}