Plato on Github
Report Home
node_modules/selenium-webdriver/lib/test/data/screen/screen.js
Maintainability
68.69
Lines of code
7
Difficulty
7.91
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
function toColor(num) { num >>>= 0; var b = num & 0xFF, g = (num & 0xFF00) >>> 8, r = (num & 0xFF0000) >>> 16; return "rgb(" + [r, g, b].join(",") + ")"; }