CartoDB/cartodb20

View on GitHub

Showing 5,951 of 5,951 total issues

Avoid too many return statements within this function.
Open

    return _.template("<%= column %> IN (NULL) ")({ // there aren't any selected values
      column: this.get('column'),
    });
Severity: Major
Found in lib/assets/javascripts/cartodb/models/filter.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return _.template(query)({
              column: this.get('column'),
              opts: items.map(function(i) {
                var bucket = that._sanitize(i.get('bucket'));
    
    
    Severity: Major
    Found in lib/assets/javascripts/cartodb/models/filter.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return true;
      Severity: Major
      Found in lib/assets/javascripts/cartodb/models/carto.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return ' (true) '; // this will remove the 'WHERE' condition
        Severity: Major
        Found in lib/assets/javascripts/cartodb/models/filter.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return false;
          Severity: Major
          Found in lib/assets/javascripts/cartodb/models/table.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return false;
            Severity: Major
            Found in lib/assets/javascripts/cartodb/models/table.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return;

                Avoid too many return statements within this function.
                Open

                          return;

                  Avoid too many return statements within this function.
                  Open

                            return;

                    Avoid too many return statements within this function.
                    Open

                            return {
                              msg: "Unfortunately the size of the remote dataset is bigger than your remaining quota",
                              error_code: 8001
                            }

                      Avoid too many return statements within this function.
                      Open

                            return 'regular';
                      Severity: Major
                      Found in lib/assets/javascripts/cartodb/common/support_view.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return {
                                  msg: "Twitter data is empty"
                                }

                          Avoid too many return statements within this function.
                          Open

                                return 'regular';
                          Severity: Major
                          Found in lib/assets/javascripts/cartodb/common/support_view_static.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return false;
                            Severity: Major
                            Found in lib/assets/javascripts/cartodb/old_common/utils.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return {
                                        msg: "Unfortunately the size of the file is bigger than your remaining quota",
                                        error_code: 8001
                                      }

                                Avoid too many return statements within this function.
                                Open

                                        return {
                                          msg: "Query is not provided"
                                        }

                                  Avoid too many return statements within this function.
                                  Open

                                          return {
                                            msg: "Dataset copy is not defined"
                                          }

                                    Avoid too many return statements within this function.
                                    Open

                                            return {
                                              msg: "Twitter dates are not valid"
                                            }

                                      Avoid too many return statements within this function.
                                      Open

                                              return {
                                                msg: "Unfortunately the URL provided is not valid"
                                              }

                                        Avoid too many return statements within this function.
                                        Open

                                                return {
                                                  msg: "The remote visualization id was not specified"
                                                }
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language