T-PWK/biguint-format

View on GitHub

Showing 1 of 1 total issue

Function toDecimalString has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function toDecimalString(buffer, options) {
        options = options || {};
        var bits = buffer.length * 8,                               // number of bits in the buffer
            lastBit = buffer.length - 1,                            // last bit index
            digits = createBuffer(Math.floor(bits / 3 + 1 + 1)),    // digits buffer
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language