Passed
Push — master ( 2ecc51...c1b656 )
by Michael
04:26 queued 02:02
created

assets/js/tabs.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 7
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 7
rs 10
c 2
b 0
f 0
wmc 2
mnd 1
bc 3
fnc 1
bpm 3
cpm 2
noi 0
1
function showTab(objLI) {
2
    if (objLI.className == 'active') {
3
        objLI.className = 'inactive';
4
    } else {
5
        objLI.className = 'active';
6
    }
7
}
8