server.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 9
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A ➔ ??? 0 3 1
1
'use strict';
2
3
const {app} = require('./app');
4
const port = process.env.PORT || 3000;
5
6
// Listen to the port 
7
app.listen(port, () => {
8
    console.log('server listening at port : ' + port);
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
9
});
10