DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method doCharDiff has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static function doCharDiff($from_text, $to_text)
    {

        $result = array();
        $jobs = array(array(0, strlen($from_text), 0, strlen($to_text)));
Severity: Major
Found in Application/Platform/System/Protocol/Difference/finediff.php - About 2 hrs to fix

    Method frontendMySQLScript has 67 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function frontendMySQLScript()
        {
    
            $tblConsumer = Consumer::useService()->getConsumerBySession();
            $Acronym = $tblConsumer->getAcronym();
    Severity: Major
    Found in Application/Platform/System/Anonymous/Frontend.php - About 2 hrs to fix

      Method frontendUserAccount has 67 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function frontendUserAccount($AccountType = null)
          {
      
              $Stage = new Stage('Datenpflege', '');
              $Stage->addButton(new Standard('Zurück', __NAMESPACE__, new ChevronLeft()));
      Severity: Major
      Found in Application/Platform/System/DataMaintenance/DataMaintenance.php - About 2 hrs to fix

        Method createLevelDivision has 67 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function createLevelDivision(
                IFormInterface $Form,
                $Level,
                $Division
            ) {
        Severity: Major
        Found in Application/Education/Lesson/Division/Service.php - About 2 hrs to fix

          Method searchData has 67 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function searchData($Search, $Timeout = 60)
              {
          
                  $ProbeList = $this->getProbeList();
          
          
          Severity: Major
          Found in System/Database/Filter/Link/AbstractNode.php - About 2 hrs to fix

            Method verifyKey has 67 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                final public function verifyKey(KeyValue $Key)
                {
            
                    (new DebuggerFactory())->createLogger(new BenchmarkLogger())->addLog('YubiKey-Api Verify');
            
            
            Severity: Major
            Found in System/Token/Type/YubiKey.php - About 2 hrs to fix

              Service has 24 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class Service extends AbstractService
              {
              
                  /**
                   * @return false|ViewCompanyGroupMember[]
              Severity: Minor
              Found in Application/Corporation/Group/Service.php - About 2 hrs to fix

                ApiRelationshipToPerson has 24 functions (exceeds 20 allowed). Consider refactoring.
                Open

                class ApiRelationshipToPerson  extends Extension implements IApiInterface
                {
                
                    use ApiTrait;
                
                
                Severity: Minor
                Found in Application/Api/Contact/ApiRelationshipToPerson.php - About 2 hrs to fix

                  Issue has 24 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class Issue extends Extension
                  {
                  
                      /** @var null|\SimpleXMLElement|string $Issue */
                      private $Issue = null;
                  Severity: Minor
                  Found in Application/Platform/Roadmap/Youtrack/Issue.php - About 2 hrs to fix

                    TblBasketVerification has 24 functions (exceeds 20 allowed). Consider refactoring.
                    Open

                    class TblBasketVerification extends Element
                    {
                    
                        const ATTR_TBL_BASKET = 'tblBasket';
                        const ATTR_SERVICE_TBL_PERSON_CAUSER = 'serviceTblPersonCauser';

                      TblInvoice has 24 functions (exceeds 20 allowed). Consider refactoring.
                      Open

                      class TblInvoice extends Element
                      {
                      
                          const ATTR_INVOICE_NUMBER = 'InvoiceNumber';
                          const ATTR_INTEGER_NUMBER = 'IntegerNumber';
                      Severity: Minor
                      Found in Application/Billing/Bookkeeping/Invoice/Service/Entity/TblInvoice.php - About 2 hrs to fix

                        TblCertificate has 24 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        class TblCertificate extends Element
                        {
                        
                            const ATTR_NAME = 'Name';
                            const ATTR_CERTIFICATE = 'Certificate';

                          Style has 24 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          abstract class Style extends Extension
                          {
                          
                              /** @var array $Design */
                              protected $Design = array();
                          Severity: Minor
                          Found in Application/Education/Certificate/Generator/Repository/Style.php - About 2 hrs to fix

                            Style has 24 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            abstract class Style extends Extension
                            {
                            
                                /** @var array $Design */
                                protected $Design = array();
                            Severity: Minor
                            Found in Application/Document/Generator/Repository/Style.php - About 2 hrs to fix

                              File Main.php has 277 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              <?php
                              namespace SPHERE\Common;
                              
                              use Doctrine\DBAL\Driver\PDOException;
                              use Doctrine\DBAL\Exception\InvalidFieldNameException;
                              Severity: Minor
                              Found in Common/Main.php - About 2 hrs to fix

                                File E07.php has 277 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                /**
                                 * Created by PhpStorm.
                                 * User: Kauschke
                                 * Date: 11.10.2017
                                Severity: Minor
                                Found in Application/Api/Document/Standard/Repository/KamenzReportGym/E07.php - About 2 hrs to fix

                                  File FrontendCommon.php has 277 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  <?php
                                  /**
                                   * Created by PhpStorm.
                                   * User: Kauschke
                                   * Date: 11.12.2018
                                  Severity: Minor
                                  Found in Application/People/Person/Frontend/FrontendCommon.php - About 2 hrs to fix

                                    Method __construct has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        private function __construct()
                                        {
                                    
                                            $tblAccount = Account::useService()->getAccountBySession();
                                            if ($tblAccount) {
                                    Severity: Major
                                    Found in Common/Style.php - About 2 hrs to fix

                                      Method frontendDashboard has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function frontendDashboard()
                                          {
                                      
                                              $Stage = new Stage('Schulen', 'Übersicht');
                                              $Stage->addButton(new Standard('Schule hinzufügen', '/Setting/Consumer/School/Create'));
                                      Severity: Major
                                      Found in Application/Setting/Consumer/School/Frontend.php - About 2 hrs to fix

                                        Method checkInputBasket has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            private function checkInputBasket(
                                                $Identifier = '',
                                                $BasketId = '',
                                                $Basket = array()
                                            ){
                                        Severity: Major
                                        Found in Application/Api/Billing/Bookkeeping/ApiBasket.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language