src/util.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 5
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 0
wmc 1
c 1
b 0
f 1
nc 1
mnd 0
bc 1
fnc 1
dl 0
loc 5
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A util.js ➔ ??? 0 3 1
1
import fs from 'fs';
2
3
export const readFile = (filePath) => {
4
    return fs.readFileSync(filePath, 'utf-8');
5
}
6