yify-pop/yify-pop

View on GitHub
app/controllers/shows.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function Shows has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var Shows = function () {
  if (geddy.config.private) {
    this.before(requireAuth);
  }

Severity: Major
Found in app/controllers/shows.js - About 2 hrs to fix

    Function show has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      this.show = function (req, resp, params) {
        var self = this;
        var request = require('request');
        var baseURL = "http://" + req.headers.host + '/';
    
    
    Severity: Minor
    Found in app/controllers/shows.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status