Showing 4 of 72 total issues
File cipher.js
has 323 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
var tls = require('tls'),
Q = require('q'),
_ = require('lodash'),
method = require('./method');
Function _trySSLMethod
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _trySSLMethod(options) {
var fullOptions = {
rejectUnauthorized: false,
secureProtocol: options.protocol.name
};
Function trySSLCipher
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function trySSLCipher(options) {
var deferred = Q.defer();
var fullOptions = {
rejectUnauthorized: false
Function getCipherResults
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getCipherResults: function(hostData) {
var allTasks = [];
hostData.protocols.forEach(function(item) {
if (item.enabled) {
var tasks = getCiphersSuitesForProtocol(item.protocol).map(function(d) {