src/components/dashboard-alt/react-echart/index.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 10
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A EchartsReact.constructor 0 4 1
1
import echarts from 'echarts';
2
import Core from './core';
3
4
// export the Component the echarts Object.
5
export default class EchartsReact extends Core {
6
  constructor(props) {
7
    super(props);
8
    this.echartsInstance = echarts;
9
  }
10
}
11