assets/js/src/header.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 8
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

2 Functions

Rating   Name   Duplication   Size   Complexity  
A Amarkal.settings.header.setSectionTitle 0 3 1
A Amarkal.settings.header.setSectionSubtitle 0 3 1
1
Amarkal.settings.header = {
0 ignored issues
show
Bug introduced by
The variable Amarkal seems to be never declared. If this is a global, consider adding a /** global: Amarkal */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
2
    setSectionTitle: function(title) {
3
        $('#amarkal-settings-sec-title').text(title);
4
    },
5
    setSectionSubtitle: function(subtitle) {
6
        $('#amarkal-settings-sec-subtitle').text(subtitle);
7
    }
8
};