Route/Main.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 11
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A Main.js ➔ ??? 0 5 1
1
var express = require('express')
2
var router = express.Router()
3
4
/* GET Index. */
5
router.get('/', (request, resource, next) => {
1 ignored issue
show
Unused Code introduced by
The parameter next is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
6
    resource.render('Index', {
7
        title: 'Test'
8
    })
9
})
10
11
module.exports = router
12