es/icon.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 12
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

2 Functions

Rating   Name   Duplication   Size   Complexity  
A Icon.getURL 0 3 1
A icon.js ➔ Icon 0 5 1
1
var Icon = /** @class */ (function () {
2
    function Icon(id, version, cdn) {
3
        this.id = id;
4
        this.cdn = cdn;
5
        this.version = version;
6
    }
7
    Icon.prototype.getURL = function () {
8
        return this.cdn + "/" + this.version + "/img/profileicon/" + this.id + ".png";
9
    };
10
    return Icon;
11
}());
12
export { Icon };
13
//# sourceMappingURL=icon.js.map