katrotz/splitify

View on GitHub
packages/meteor-jasmine/src/lib/VelocityTestReporter.js

Summary

Maintainability
C
1 day
Test Coverage

Function VelocityTestReporter has 170 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  VelocityTestReporter = function VelocityTestReporter(options) {
    var self = this,
      timer = options.timer || noopTimer,
      ddpParentConnection = options.ddpParentConnection,
      ancestors = [],
Severity: Major
Found in packages/meteor-jasmine/src/lib/VelocityTestReporter.js - About 6 hrs to fix

    Function formatMessage has 51 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function formatMessage(messages) {
          var out = '';
          var already = {};
          var indent = '';
    
    
    Severity: Major
    Found in packages/meteor-jasmine/src/lib/VelocityTestReporter.js - About 2 hrs to fix

      Function saveTestResult has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          var saveTestResult = Meteor.bindEnvironment(function saveTestResult(test) {
            var result = {
              id: 'jasmine:' + self.mode + ' | ' + test.id,
              //async: test.async,
              framework: options.framework,
      Severity: Minor
      Found in packages/meteor-jasmine/src/lib/VelocityTestReporter.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status