resources/js/nova-bar-metrics.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 8
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A nova-bar-metrics.js ➔ ??? 0 5 1
1
import BarChartMetric from './components/BarChartMetric'
2
import BaseBarChartMetric from './components/Base/BarChartMetric'
3
4
Nova.booting((Vue, router) => {
0 ignored issues
show
Unused Code introduced by
The parameter router is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Bug introduced by
The variable Nova seems to be never declared. If this is a global, consider adding a /** global: Nova */ 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...
5
    Vue.config.devtools = true
6
    Vue.component('base-bar-chart-metric', BaseBarChartMetric)
7
    Vue.component('bar-chart-metric', BarChartMetric)
8
})
9