src/defaults.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 9
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A defaults.js ➔ defaultParserJSON 0 3 1
1
export function defaultParser(data) {
2
    return data;
3
}
4
5
export function defaultParserJSON(data) {
6
    return JSON.parse(data);
7
}
8
9
export const defaultMaxListeners = 30;
10