Passed
Push — master ( db8da5...c2ef0a )
by Eduardo
02:35
created

app/js/main/bwa/analyser.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 14
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A ipcMain.bwa:analyser.start 0 3 1
1
const electron = require('electron'),
2
  debug = require('debug')('main.bwa.analyser');
0 ignored issues
show
Unused Code introduced by
The constant debug seems to be never used. Consider removing it.
Loading history...
3
4
const {
5
  app,
6
  BrowserWindow,
7
  Menu,
8
  ipcMain,
9
  dialog
10
} = electron;
11
12
ipcMain.on('bwa:analyser.start', function(event, contents) {
13
  event.sender.send('bwa:analyser.tablegen', contents);
14
})
15