Passed
Push — develop ( b45185...d53e5c )
by Endre
05:03
created

src/Style/Style.tsx   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 14
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 8
dl 0
loc 14
ccs 1
cts 1
cp 1
c 0
b 0
f 0
rs 10
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A Style.render 0 2 1
1
import React from 'react';
2
3
interface IProperties {
4
  source: string
5
}
6
7
interface IState {
8
}
9
10
export default class Style extends React.Component<IProperties, IState> {
11
  render() {
12 1
    return <link rel="stylesheet" href={'./Style/' + this.props.source + '.css'} />;
13
  }
14
}