src/router/home.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 7
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

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 7
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A home.js ➔ ??? 0 5 1
1
'use strict'
2
3
export default function (server) {
4
  server.get({ name: 'home', path: '/' }, (req, res) => {
5
    res.render('home.pug', { title: 'Restify Devise' })
6
  })
7
}
8