chrised/node-ed2k

View on GitHub

Showing 1 of 1 total issue

Function ed2k_hash_stream has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var ed2k_hash_stream = function(stream, callback) {
    var hash = crypto.createHash('md4');
    var metahash = crypto.createHash('md4');
    var hash_current_pos = 0;
    var chunk_count = 0;
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language