jsperf/jsperf.com

View on GitHub
server/web/browse/index.js

Summary

Maintainability
B
6 hrs
Test Coverage

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

exports.register = function (server, options, next) {
  const pagesRepo = server.plugins['repositories/pages'];

  server.route({
    method: 'GET',
Severity: Major
Found in server/web/browse/index.js - About 4 hrs to fix

    Function handler has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        handler: function (request, reply) {
          var context = {
            headTitle: 'Browse test cases',
            showAtom: {
              slug: 'browse'
    Severity: Minor
    Found in server/web/browse/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status