NatLibFi/record-loader-melinda

View on GitHub
lib/processors/merge/melinda.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function factory has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function factory(Promise, Object, validateFactory, MarcRecord, rankFactory, mergeFactory, processorFactory) {

  'use strict';

  var DEFAULT_OPTIONS = {
Severity: Major
Found in lib/processors/merge/melinda.js - About 2 hrs to fix

    Function run has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          run: function(record, matched_records)
          {
    
            var result;
    
    
    Severity: Minor
    Found in lib/processors/merge/melinda.js - About 1 hr to fix

      Function factory has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function factory(Promise, Object, validateFactory, MarcRecord, rankFactory, mergeFactory, processorFactory) {
      Severity: Major
      Found in lib/processors/merge/melinda.js - About 50 mins to fix

        There are no issues that match your filters.

        Category
        Status