webcast-io/jobukyu

View on GitHub

Showing 4 of 12 total issues

Function main has 126 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function main (app) {



  function find (conditions, req, res) {
Severity: Major
Found in lib/controllers/jobs.js - About 5 hrs to fix

    Function main has 103 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function main (db) {
    
    
    
      // Define the collection schema
    Severity: Major
    Found in lib/models/job.js - About 4 hrs to fix

      Function processWebhook has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function processWebhook (webhook, metadata) {
      
        // Scope the metadata to send to the job queue
        //
        if (webhook.data) {
      Severity: Minor
      Found in lib/models/job.js - About 1 hr to fix

        Function exports has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        module.exports = function (grunt) {
        
          grunt.initConfig({
            jshint: {
        
        
        Severity: Minor
        Found in Gruntfile.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language