TibiaJS/tibia-crawler

View on GitHub

Showing 5 of 11 total issues

Function Character has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Character($) {

  this.data = {
    character: {},
    achievements: [],
Severity: Major
Found in src/fetchers/character.js - About 2 hrs to fix

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

    module.exports = function (grunt) {
      // Show elapsed time at the end
      require('time-grunt')(grunt);
      // Load all grunt tasks
      require('load-grunt-tasks')(grunt);
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Function KillStatistics has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function KillStatistics($) {
      
          this.data = {};
      
          var self = this;
      Severity: Minor
      Found in src/fetchers/killstatistics.js - About 1 hr to fix

        Function World has 36 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function World($) {
        
          this.data = {
            world: {},
            online: []
        Severity: Minor
        Found in src/fetchers/world.js - About 1 hr to fix

          Function Request has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          var Request = function(method, path, data, sess, callback) {
          Severity: Minor
          Found in src/request.js - About 35 mins to fix
            Severity
            Category
            Status
            Source
            Language