jsperf/jsperf.com

View on GitHub
server/services/pages.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function register has 158 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.register = function (server, options, next) {
  const pagesRepo = server.plugins['repositories/pages'];
  const testsRepo = server.plugins['repositories/tests'];
  const browserscopeRepo = server.plugins['repositories/browserscope'];
  const commentsRepo = server.plugins['repositories/comments'];
Severity: Major
Found in server/services/pages.js - About 6 hrs to fix

    There are no issues that match your filters.

    Category
    Status