yjjnls/Notes

View on GitHub

Showing 2 of 6 total issues

Function constructor has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor(signal_bridge, room_id, endpoint_name, app, id = uuid.v4()) {

        this.signal_bridge = signal_bridge;
        this.room_id = room_id;
        this.endpoint_name = endpoint_name;
Severity: Major
Found in others/webrtc_socket.io.js - About 2 hrs to fix

    Function connect has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        connect() {
            this.io = socket(`${this.signal_bridge}?userid=${this.id}&sessionid=${this.room_id}&msgEvent=${this.socketMessageEvent}&socketCustomEvent=RTCMultiConnection-Custom-Message&autoCloseEntireSession=false&maxParticipantsAllowed=1000`);
    
            let io = this.io;
            let self = this;
    Severity: Minor
    Found in others/webrtc_socket.io.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language