issues
search
WardenSlayer
/
Mousehunt-UserScripts
Scripts for the game Mousehunt
https://wardenslayer.github.io/Mousehunt-UserScripts/
MIT License
3
stars
1
forks
source link
Fix 10 Complexity, 4 Maintainability issues in MH Timers Plus.js
#53
Closed
WardenSlayer
closed
1 year ago
WardenSlayer
commented
1 year ago
CodeFactor
found multiple issues:
Very Complex Method
[ ]
MH Timers Plus.js:3207-3505
[ ]
MH Timers Plus.js:2561-3114
[ ]
MH Timers Plus.js:2191-2352
[ ]
MH Timers Plus.js:1718-1873
Complex Code
[ ]
MH Timers Plus.js
This number literal will lose precision at runtime.
[ ]
MH Timers Plus.js:1539
This branch can never execute. Its condition is a duplicate or covered by previous conditions in the if-else-if chain.
[ ]
MH Timers Plus.js:3489
'spillLevel' is defined but never used.
[ ]
MH Timers Plus.js:3115
'myTimer' is assigned a value but never used.
[ ]
MH Timers Plus.js:1133
Complex Method
[ ]
MH Timers Plus.js:3638-3779
[ ]
MH Timers Plus.js:2001-2134
[ ]
MH Timers Plus.js:1531-1675
[ ]
MH Timers Plus.js:1325-1422
[ ]
MH Timers Plus.js:253-1071
CodeFactor found multiple issues:
Very Complex Method
Complex Code
This number literal will lose precision at runtime.
This branch can never execute. Its condition is a duplicate or covered by previous conditions in the if-else-if chain.
'spillLevel' is defined but never used.
'myTimer' is assigned a value but never used.
Complex Method