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.
Passed
Push — master ( 86eabc...c09291 )
by Steeven
08:41
created

src/Views/assets/js/debugger.js   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 12
Code Lines 9

Duplication

Lines 12
Ratio 100 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 3
eloc 9
nc 3
nop 0
dl 12
loc 12
rs 9.95
c 1
b 0
f 0
1
/*
2
 * This file is part of the O2System Framework package.
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 *
7
 * @author         Steeve Andrian Salim
8
 * @copyright      Copyright (c) Steeve Andrian Salim
9
 */
10
// ------------------------------------------------------------------------
11 View Code Duplication
(function () {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
12
    var pre = document.getElementsByTagName('pre'),
13
        preLen = pre.length;
14
    for (var i = 0; i < preLen; i++) {
15
        pre[i].innerHTML = '<span class="line-number"></span>' + pre[i].innerHTML + '<span class="clear-both"></span>';
16
        var linesNum = pre[i].innerHTML.split(/\n/).length;
17
        for (var number = 0; number < linesNum; number++) {
18
            var lineNumber = pre[i].getElementsByTagName('span')[0];
19
            lineNumber.innerHTML += '<span>' + (number + 1) + '</span>';
20
        }
21
    }
22
})();