Doi   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 8
c 0
b 0
f 0
rs 10
ccs 3
cts 3
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A fillSearchTree() 0 3 1
1
<?php
2
3
namespace PubPeerFoundation\PublicationDataExtractor\Resources\Extractors;
4
5
class Doi extends Crossref
6
{
7 5
    /**
8
     * Create search tree.
9 5
     */
10 5
    protected function fillSearchTree(): void
11
    {
12
        $this->searchTree = $this->document;
13
    }
14
}
15