GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 2c4be5...42f2f3 )
by
unknown
05:07
created

src/Resources/public/js/app.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 16
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A $(document).ready 0 14 1
1
(function($) {
2
    $(document).ready(function () {
3
        var isSliderPlusOne = $('#banner-slider .sp-slide').length > 1;
4
        var isSliderPlusTwo = $('#banner-slider .sp-slide').length > 2;
5
6
        $('#banner-slider').sliderPro({
7
            width: 1127, height: 300,
8
            fade: false, arrows: true, buttons: false,
9
            touchSwipe: isSliderPlusOne, autoplayDelay: 5000, keyboardOnlyOnFocus: true,
10
            loop: isSliderPlusTwo,
11
            breakpoints: {
12
                767: { fadeArrows: false }
13
            }
14
        });
15
    });
16
})(jQuery);
17