Completed
Push — develop ( 2c5883...921cbe )
by William
41s
created

app/filter.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 8
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A filter.js ➔ updateFilter 0 4 1
1
const remote = require('electron').remote;
2
const event = document.getElementsByClassName('events');
0 ignored issues
show
Unused Code introduced by
The constant event seems to be never used. Consider removing it.
Loading history...
3
const {ipcRenderer} = require('electron');
4
5
function updateFilter(e) {
6
	console.log(e);
7
	ipcRenderer.sendSync('filter')
8
}
9