Completed
Push — master ( 78b7d3...971ae6 )
by Thomas
49s queued 29s
created

lib/commands/plugins/list.js   A

Complexity

Total Complexity 3
Complexity/F 3

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 3
c 1
b 0
f 0
nc 1
mnd 2
bc 3
fnc 1
dl 0
loc 11
rs 10
bpm 3
cpm 3
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A module.exports 0 9 3
1
/*
2
 * Copyright (c) 2018 Includable.
3
 * Created by Thomas Schoffelen.
4
 */
5
6
const Plugins = require('../../util/Plugins')
7
8
module.exports = function () {
9
  for (var x in Plugins.plugins) {
10
    if (!Plugins.plugins.hasOwnProperty(x)) {
11
      continue
12
    }
13
14
    Plugins.describePlugin(Plugins.plugins[x])
15
  }
16
}
17