ezpaarse-project/ezpaarse

View on GitHub
lib/cache.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function cache has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function cache(collectionName) {

  const collection = mongo.db.collection(collectionName);

  if (!collection) { return null; }
Severity: Major
Found in lib/cache.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status