iamthechad/sslinfo

View on GitHub

Showing 4 of 72 total issues

File cipher.js has 323 lines of code (exceeds 250 allowed). Consider refactoring.
Open

var tls = require('tls'),
  Q = require('q'),
  _ = require('lodash'),
  method = require('./method');

Severity: Minor
Found in lib/cipher.js - About 3 hrs to fix

    Function _trySSLMethod has 50 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function _trySSLMethod(options) {
      var fullOptions = {
        rejectUnauthorized: false,
        secureProtocol: options.protocol.name
      };
    Severity: Minor
    Found in lib/method.js - About 2 hrs to fix

      Function trySSLCipher has 43 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function trySSLCipher(options) {
        var deferred = Q.defer();
      
        var fullOptions = {
          rejectUnauthorized: false
      Severity: Minor
      Found in lib/cipher.js - About 1 hr to fix

        Function getCipherResults has 40 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          getCipherResults: function(hostData) {
            var allTasks = [];
            hostData.protocols.forEach(function(item) {
              if (item.enabled) {
                var tasks = getCiphersSuitesForProtocol(item.protocol).map(function(d) {
        Severity: Minor
        Found in lib/cipher.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language