src/reporters/JSONReporter.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 7
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A JSONReporter.merge 0 3 1
1
/* eslint-disable unicorn/filename-case */
2
import Reporter from './Reporter';
3
4
export default class JSONReporter extends  Reporter  {
5
    merge(renderedReports) {
6
        return JSON.stringify(renderedReports);
7
    }
8
}
9