Showing 3 of 7 total issues
Function writeCSV
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
MetricsWriter.prototype.writeCSV = function() {
var metricNames = Object.keys(this.metrics).sort();
var minTimestamp;
var maxTimestamp;
Function openJSONInEditor
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
openJSONInEditor: function(json) {
function checksum (str) {
return crypto
.createHash('md5')
.update(str, 'utf8')
Function getRequiredOptions
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getRequiredOptions: function(schema, cliOptions, mopsConfig) {
var options = {};
var deferred = q.defer();
var properties = Object.keys(schema.properties);