Geek-Research-Lab/MeowJS

View on GitHub
NotAdded/video/p2p.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function ensureConnection has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        ensureConnection: function(peerID, connect) {
            if(ig.peers[peerID]) {
                return ig.peers[peerID];
            } else {
                var p;
Severity: Minor
Found in NotAdded/video/p2p.js - About 1 hr to fix

    Function chkPending has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            chkPending: function(peerID, piece, block, lastReceived, totalReceived, lastTime) {
    Severity: Minor
    Found in NotAdded/video/p2p.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status