CustomSilhouette.js   A
last analyzed

Complexity

Total Complexity 4
Complexity/F 4

Size

Lines of Code 5
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 3
wmc 4
nc 2
mnd 1
bc 2
fnc 1
dl 0
loc 5
rs 10
bpm 2
cpm 4
noi 1
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A VRS.globalDispatch.hook 0 3 1
1
/** global: VRS */
2
if(VRS && VRS.globalDispatch && VRS.serverConfig) {
3
	VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
0 ignored issues
show
Unused Code introduced by
The parameter bootStrap 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...
4
		VRS.globalOptions.aircraftAllowRegistrationFlagOverride = true;
5
	});
6
}
7