qcubed/framework

View on GitHub

Showing 2,378 of 15,774 total issues

Avoid too many return statements within this method.
Open

                return new QDateTime($strColumnValue);
Severity: Major
Found in includes/database/QOracleDatabase.class.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return QType::Cast($strColumnValue, QType::Integer);
    Severity: Major
    Found in includes/database/QSqLite3PdoDatabase.class.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                          return new QDateTime($strColumnValue);
      Severity: Major
      Found in includes/database/QPostgreSqlDatabase.class.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return $strColumnValue;
        Severity: Major
        Found in includes/database/QPostgreSqlDatabase.class.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $strToReturn . 'NULL';
          Severity: Major
          Found in includes/database/QSqlServer2005Database.class.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                                    return "'0'";
            Severity: Major
            Found in includes/database/QSqLite3PdoDatabase.class.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                              return $strToReturn . sprintf("'%s'", $mixData->__toString('YYYY-MM-DD'));
              Severity: Major
              Found in includes/database/QSqLite3PdoDatabase.class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                            return "!= '0'";
                Severity: Major
                Found in includes/database/QPostgreSqlDatabase.class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return $strToReturn . 'NULL'; // null date and time is a null value
                  Severity: Major
                  Found in includes/database/QPostgreSqlDatabase.class.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                            return '1';
                    Severity: Major
                    Found in includes/database/QSqlServerDatabase.class.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $strToReturn . sprintf("'%s'", addslashes($mixData));
                      Severity: Major
                      Found in includes/database/QSqLite3PdoDatabase.class.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                                    return '!= 0';
                        Severity: Major
                        Found in includes/database/QSqlServer2005Database.class.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return QType::Cast($strColumnValue, QType::Integer);
                          Severity: Major
                          Found in includes/database/QSqlServer2005Database.class.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                    return 'NULL';
                            Severity: Major
                            Found in includes/database/QSqlServerDatabase.class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                  return  $strToReturn . sprintf("'%s'", $mixData->qFormat(QDateTime::FormatIso));
                              Severity: Major
                              Found in includes/database/QPostgreSqlDatabase.class.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                        return "'0'";
                                Severity: Major
                                Found in includes/database/QPostgreSqlDatabase.class.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                              return $this->Query("EXPLAIN " . $sql);
                                  Severity: Major
                                  Found in includes/database/QMySqliDatabase.class.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $strToReturn . sprintf('%s', $mixData);
                                    Severity: Major
                                    Found in includes/database/QSqlServer2005Database.class.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return QType::Cast($strColumnValue, QType::Integer);
                                      Severity: Major
                                      Found in includes/database/QOracleDatabase.class.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                                return $strToReturn . 'NULL';
                                        Severity: Major
                                        Found in includes/database/QSqLite3PdoDatabase.class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language