BelirafoN/asterisk-ami-client

View on GitHub

Showing 3 of 7 total issues

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

    connect(user, secret, options){
        this._credentials = {user, secret};
        this._connectionOptions = options || {};

        return this._connector.connect(user, secret, options)
Severity: Major
Found in lib/AmiClient.js - About 2 hrs to fix

    File AmiClient.js has 255 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
     * Developer: BelirafoN
     * Date: 27.04.2016
     * Time: 15:37
     */
    Severity: Minor
    Found in lib/AmiClient.js - About 2 hrs to fix

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

          constructor(options){
              super();
      
              Object.assign(this, {
                  _specPrefix: '--spec_',
      Severity: Minor
      Found in lib/AmiClient.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language