mongaku/mongaku

View on GitHub
src/schemas/Import.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function advance has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    advance(callback) {
        this.find(
            {
                state: {
                    $nin: ["completed", "error"],
Severity: Minor
Found in src/schemas/Import.js - About 1 hr to fix

    Function advance has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        advance(callback) {
            const state = this.getCurState();
            const nextState = this.getNextState();
    
            if (!this.canAdvance()) {
    Severity: Minor
    Found in src/schemas/Import.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status