test/renderer/renderer.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 13
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 2
c 1
b 0
f 0
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 13
ccs 6
cts 6
cp 1
crap 0
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A mocha.describe(ꞌCheck 2+2ꞌ) 0 7 1
1
"use strict";
2
3 1
const mocha = require('mocha');
4 1
const assert = require("assert");
5
6
7 1
mocha.describe("Check 2+2", function() {
8 1
    mocha.it("it should be 4", function() {
9 1
        let res = 2+2;
10
11 1
        assert.equal(res, 4);
12
    });
13
});
14