Completed
Pull Request — master (#37)
by Alessandro
06:14
created

UnknownResultParser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A logMatches() 0 5 1
1
<?php
2
3
namespace Paraunit\Parser;
4
5
/**
6
 * Class UnknownResultParser
7
 * @package Paraunit\Parser
8
 */
9
class UnknownResultParser extends AbstractParser
10
{
11
    /**
12
     * @param \stdClass $log
13
     * @return bool
14
     */
15 10
    protected function logMatches(\stdClass $log)
16
    {
17
        // catch 'em all!
18 10
        return true;
19
    }
20
}
21