function countBits()
in
varint.js [89:93]
5
lines of code
2
McCabe index (conditional complexity)
function countBits(n) { var res = 1; while (n >>= 1) res++; return res; }