src/options/defaults.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 23
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A defaults.valid 0 1 1
1
var defaults = {
2
	width: 2,
3
	height: 100,
4
	format: "auto",
5
	displayValue: true,
6
	fontOptions: "",
7
	font: "monospace",
8
	text: undefined,
9
	textAlign: "center",
10
	textPosition: "bottom",
11
	textMargin: 2,
12
	fontSize: 20,
13
	background: "#ffffff",
14
	lineColor: "#000000",
15
	margin: 10,
16
	marginTop: undefined,
17
	marginBottom: undefined,
18
	marginLeft: undefined,
19
	marginRight: undefined,
20
	valid: function(){}
21
};
22
23
export default defaults;
24