jeresig/pharos-images

View on GitHub
migrations/1452447841025-make-image-models.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function loadImages has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const loadImages = (callback) => {
    models("Artwork").find({}, {}, {timeout: true}).stream()
        .on("data", function(artwork) {
            this.pause();

Severity: Major
Found in migrations/1452447841025-make-image-models.js - About 2 hrs to fix

    TODO found
    Open

                    // TODO: Update syncSimilarity to get the true image ID

    There are no issues that match your filters.

    Category
    Status