Showing 593 of 1,093 total issues
Function DellWsmanRAIDFactory
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DellWsmanRAIDFactory(
BaseJob,
WsmanTool,
Logger,
assert,
Function PersistPollerDataJobFactory
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PersistPollerDataJobFactory(BaseJob, Logger, Promise, util, waterline, _, taskProtocol) {
var logger = Logger.initialize(PersistPollerDataJobFactory);
/**
* @param {Object} options task options object
Function sftpJobFactory
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function sftpJobFactory(
BaseJob,
util,
Logger,
assert,
Function _determineAlert
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
IpmiSdrPollerAlertJob.prototype._determineAlert = function _determineAlert(data) {
var self = this;
return waterline.workitems.needByIdentifier(data.workItemId)
.then(function (workitem) {
var conf = workitem.config;
Function createSystems
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
RedfishDiscoveryListJob.prototype.createSystems = function (root, redfish) {
var self = this;
if (!_.has(root, 'Systems')) {
logger.warning('No System Members Found');
Function createChassis
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
RedfishDiscoveryListJob.prototype.createChassis = function (root, redfish) {
var self = this;
var createEnclosure = true;
if (!_.has(root, 'Chassis')) {
Function ipmiSelPollerAlertJobFactory
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ipmiSelPollerAlertJobFactory(
PollerAlertJob,
Logger,
util,
assert,
File ipmi-job.js
has 326 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Copyright 2015, EMC, Inc.
'use strict';
var di = require('di');
Function parseSdrData
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseSdrData(sdrData) {
var sdrArray = sdrData.split('\n\n');
var sdrObjArray = _.transform(sdrArray, function(result, sdr) {
var lines = sdr.trim().split('\n');
var key = '';
Function SnmpFactory
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function SnmpFactory(assert, parser, ChildProcess, Promise, _) {
function SnmpTool(host, community) {
this.host = host;
this.community = community;
}
Function prepareGrunt
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareGrunt(grunt) {
var allFiles = [
'package.json',
'Gruntfile.js',
'lib/**/*.js',
Function WsmanGetComponentFactory
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function WsmanGetComponentFactory(
BaseJob,
WsmanTool,
Logger,
assert,
Function generateDocData
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
TaskAnnotation.prototype.generateDocData = function (obj, dataTemplate) {
var self = this;
var data = {
type: '',
description: (dataTemplate.task && dataTemplate.task.friendlyName) || '',
Function sdrObjArray
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var sdrObjArray = _.transform(sdrArray, function(result, sdr) {
var lines = sdr.trim().split('\n');
var key = '';
var value = '';
var sdrObj = {
Function createSystems
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
RedfishDiscoveryJob.prototype.createSystems = function (root) {
var self = this;
if (!_.has(root, 'Systems')) {
logger.warning('No System Members Found');
Function DellWsmanGetSystemConfigComponentsFactory
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DellWsmanGetSystemConfigComponentsFactory(
BaseJob,
WsmanTool,
Logger,
Promise,
Function NfsClientFactory
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function NfsClientFactory(
Logger,
Promise,
fs,
childProcess
Function ansibleJobFactory
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ansibleJobFactory(
BaseJob,
util,
Logger,
AnsibleTool,
Function DellWsmanObmServiceFactory
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DellWsmanObmServiceFactory(
BaseObmService,
Promise,
waterline,
configuration,
Function runGraphJobFactory
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runGraphJobFactory(
BaseJob,
taskGraphProtocol,
TaskGraph,
taskGraphStore,