Passed
Push — develop ( 40f0e0...79a1ab )
by Andrew
07:28
created

src/assetbundles/imageoptimize/src/js/Welcome.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 15
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A ???.mounted 0 2 1
1
import Vue from 'vue';
2
import Confetti from '../vue/Confetti.vue';
3
4
const vm = new Vue({
0 ignored issues
show
Coding Style introduced by
The opening parenthesis of a multi-line function call should be the last content on the line.
Loading history...
Unused Code introduced by
The constant vm seems to be never used. Consider removing it.
Loading history...
5
    el: "#cp-nav-content",
6
    components: {
7
        'confetti': Confetti,
8
    },
9
    data: {
10
    },
11
    methods: {
12
    },
13
    mounted() {
14
    }
15
});
0 ignored issues
show
Coding Style introduced by
For multi-line function calls, the closing parenthesis should be on a new line.

If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line:

someFunctionCall(
    $firstArgument,
    $secondArgument,
    $thirdArgument
); // Closing parenthesis on a new line.
Loading history...
16