Passed
Push — master ( d06fb8...9f4cb8 )
by André
03:15 queued 01:29
created

src/configuration.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 11
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 8
mnd 0
bc 0
fnc 1
dl 0
loc 11
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
module.exports = {
2
	mqtt: (input) => {
3
		return {
4
			username: input.source.username || null,
5
			password: input.source.password || null,
6
			port: input.source.port || 1883,
7
			clientId: 'concourse-ci',
8
			qos: 1
9
		}
10
	}
11
}
12