Test Failed
Push — develop ( f585b7...c7796c )
by Oguzhan
02:31
created

BaseService   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A artist() 0 4 1
A album() 0 4 1
A song() 0 4 1
A track() 0 4 1
1
<?php
2
/*******************************************************************************
3
 * This file is part of the Pbxg33k\MusicInfo package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * (c) 2017 Oguzhan uysal. All rights reserved
9
 ******************************************************************************/
10
11
namespace Pbxg33k\MusicInfo\Service;
12
13
use Pbxg33k\InfoBase\Exception\ServiceConfigurationException;
14
use Pbxg33k\InfoBase\Model\IService;
15
use Pbxg33k\InfoBase\Service\BaseService as InfoBase;
16
17
class BaseService extends InfoBase implements IService
18
{
19
    /**
20
     *
21
     * @throws ServiceConfigurationException
22
     * @return IMusicServiceEndpoint
23
     */
24
    public function artist()
25
    {
26
        throw new ServiceConfigurationException(self::ERR_METHOD_NOT_IMPLEMENTED);
27
    }
28
29
    /**
30
     *
31
     * @throws ServiceConfigurationException
32
     * @return IMusicServiceEndpoint
33
     */
34
    public function album()
35 1
    {
36
        throw new ServiceConfigurationException(self::ERR_METHOD_NOT_IMPLEMENTED);
37 1
    }
38
39
    /**
40
     *
41
     * @throws ServiceConfigurationException
42
     * @return IMusicServiceEndpoint
43
     */
44
    public function song()
45 43
    {
46
        throw new ServiceConfigurationException(self::ERR_METHOD_NOT_IMPLEMENTED);
47 43
    }
48
49 43
    /**
50
     *
51
     * @throws ServiceConfigurationException
52
     * @return IMusicServiceEndpoint
53
     */
54
    public function track()
55 43
    {
56
        throw new ServiceConfigurationException(self::ERR_METHOD_NOT_IMPLEMENTED);
57 43
    }
58
}
59