src/reporters/ApiBluePrint.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 10
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
mnd 0
bc 0
fnc 1
dl 0
loc 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A ApiBluePrint.constructor 0 3 1
1
import path from 'path';
2
import Base from  './TemplateReporter';
3
4
const templatePath = path.join(__dirname, '../../templates/reporters/api-blueprint.md');
5
6
export default class ApiBluePrint extends Base {
7
    constructor(file) {
8
        super(file, { path: templatePath });
9
    }
10
}
11