andreacw5/ALIRWebApi

View on GitHub

Showing 7 of 239 total issues

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

module.exports = function (app) {

    /**
     *   GET Gangs lenght
     *   @return: Array di oggetti
Severity: Major
Found in api/alirdb/gangs.js - About 2 hrs to fix

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

module.exports = function(app) {

    /**
     *   GET Players lenght
     *   @return: Array di oggetti
Severity: Minor
Found in api/alirdb/players.js - About 1 hr to fix

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

module.exports = function (app) {

    /**
     *   GET Users by pid
     *   @return: Array di oggetti
Severity: Minor
Found in api/alirdb/users.js - About 1 hr to fix

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

module.exports = function (app) {

    /**
     *   GET List by donor !=1
     *   @return: Array di oggetti
Severity: Minor
Found in api/donations/donations.js - About 1 hr to fix

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

module.exports = function(app) {

    /**
     *   GET Wanted lenght
     *   @return: Array di oggetti
Severity: Minor
Found in api/alirdb/wanted.js - About 1 hr to fix

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

module.exports = function(app) {

    /**
     *   GET Arma 3 server info
     *   @return: Array di oggetti
Severity: Minor
Found in api/alirdb/generic.js - About 1 hr to fix

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

module.exports = function (app) {

    const steamK = "7FC5C2ACE4CA1A33929ABAD8F5843B59";

    /**
Severity: Minor
Found in api/steam/steam.js - About 1 hr to fix
Severity
Category
Status
Source
Language