Geek-Research-Lab/MeowJS

View on GitHub
NotAdded/video/httpPeer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function send has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    send: function(obj) {
        if(obj.cmd === 'request block') {
            var start = ig.client.meta.pieceSize * obj.piece + ig.client.meta.blockSize * obj.block;
            var end = start + ig.client.meta.blockSize;
            var reqID = x.ID('xhr');
Severity: Minor
Found in NotAdded/video/httpPeer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status