public/assets/js/app.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 11
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
nc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 3
mnd 0
bc 3
fnc 3
bpm 1
cpm 1
noi 0

3 Functions

Rating   Name   Duplication   Size   Complexity  
A fs.on 0 3 1
A 0 9 1
A fs.trigger 0 3 1
1
var fs = window.fs||{};
2
3
(function(){
4
    fs.trigger=function(event, ele){
5
        $(ele||window).trigger(event);
6
    };
7
8
    fs.on=function(event, callback, ele){
9
        $(ele||window).on(event, callback);
10
    };
11
})();