jsperf/jsperf.com

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

Summary

Maintainability
C
1 day
Test Coverage

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

exports.register = function (server, options, next) {
  server.route({
    method: 'GET',
    path: '/faq',
    handler: function (request, reply) {
Severity: Major
Found in server/web/faq/index.js - About 4 hrs to fix

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

        handler: function (request, reply) {
          reply.view('faq/index', {
            headTitle: 'Frequently asked questions',
            faq: [
              {
    Severity: Major
    Found in server/web/faq/index.js - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status