DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

TblIndiwareImportLectureship has 22 functions (exceeds 20 allowed). Consider refactoring.
Open

class TblIndiwareImportLectureship extends Element
{

    const ATTR_SERVICE_TBL_YEAR = 'serviceTblYear';

    Consider simplifying this complex logical expression.
    Open

                    if (!$IsNotGradeType
                        && $tblDivision
                        && (($tblGenerateCertificate->getServiceTblBehaviorTask()
                                && $tblTestList)
                            || $useMultipleBehaviorTasks)
    Severity: Critical
    Found in Application/Education/Certificate/Prepare/Frontend.php - About 2 hrs to fix

      Method frontendLayoutCompanyNew has 58 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function frontendLayoutCompanyNew(TblCompany $tblCompany)
          {
      
              if (($tblWebList = Web::useService()->getWebAllByCompany($tblCompany))){
                  $LayoutRowList = array();
      Severity: Major
      Found in Application/Contact/Web/Frontend.php - About 2 hrs to fix

        Method createClassListExcel has 58 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function createClassListExcel($result = array())
            {
        
                if (!empty($result)) {
        
        
        Severity: Major
        Found in Application/Setting/User/Account/Service.php - About 2 hrs to fix

          Method frontendLayoutCompanyNew has 58 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function frontendLayoutCompanyNew(TblCompany $tblCompany)
              {
          
                  if (($tblMailList = Mail::useService()->getMailAllByCompany($tblCompany))){
                      $LayoutRowList = array();
          Severity: Major
          Found in Application/Contact/Mail/Frontend.php - About 2 hrs to fix

            Method buildPages has 58 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function buildPages(TblPerson $tblPerson = null)
                {
            
                    $personId = $tblPerson ? $tblPerson->getId() : 0;
            
            

              Method buildPages has 58 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function buildPages(TblPerson $tblPerson = null)
                  {
              
                      $personId = $tblPerson ? $tblPerson->getId() : 0;
              
              

                Method buildPages has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function buildPages(TblPerson $tblPerson = null)
                    {
                
                        $personId = $tblPerson ? $tblPerson->getId() : 0;
                
                
                Severity: Major
                Found in Application/Api/Education/Certificate/Generator/Repository/MsJ.php - About 2 hrs to fix

                  Method getSchoolName has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      protected function getSchoolName($personId, $MarginTop = '20px')
                      {
                  
                          if (($tblSetting = Consumer::useService()->getSetting(
                                  'Education', 'Certificate', 'Prepare', 'IsSchoolExtendedNameDisplayed'))

                    Method buildPages has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function buildPages(TblPerson $tblPerson = null)
                        {
                    
                            $personId = $tblPerson ? $tblPerson->getId() : 0;
                    
                    
                    Severity: Major
                    Found in Application/Api/Education/Certificate/Generator/Repository/MsJRs.php - About 2 hrs to fix

                      Method buildPages has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function buildPages(TblPerson $tblPerson = null)
                          {
                      
                              $personId = $tblPerson ? $tblPerson->getId() : 0;
                      
                      
                      Severity: Major
                      Found in Application/Api/Education/Certificate/Generator/Repository/MsJHs.php - About 2 hrs to fix

                        Method setFieldValue has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            private function setFieldValue($DataPost)
                            {
                        
                                // Text choose decision
                                //

                          Method registerModule has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public static function registerModule()
                              {
                          
                                  Main::getDisplay()->addModuleNavigation(
                                      new Link(new Link\Route(__NAMESPACE__.'/ClassList'), new Link\Name('Klassenlisten'))
                          Severity: Major
                          Found in Application/Reporting/Standard/Person/Person.php - About 2 hrs to fix

                            Method createClassList has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function createClassList(TblDivision $tblDivision)
                                {
                            
                                    $tblPersonList = Division::useService()->getStudentAllByDivision($tblDivision);
                                    $TableContent = array();
                            Severity: Major
                            Found in Application/Reporting/Custom/Chemnitz/Person/Service.php - About 2 hrs to fix

                              Method updateListObjectElement has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function updateListObjectElement(
                                      IFormInterface $Stage = null,
                                      TblList $tblList = null,
                                      TblObjectType $tblObjectType = null,
                                      $ObjectId = null,
                              Severity: Major
                              Found in Application/Reporting/CheckList/Service.php - About 2 hrs to fix

                                Method frontendSelectCertificate has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function frontendSelectCertificate()
                                    {
                                
                                        $Stage = new Stage('Einstellungen', 'Zeugnisvorlage auswählen');
                                        $Stage = self::setSettingMenue($Stage, 'Template');
                                Severity: Major
                                Found in Application/Education/Certificate/Setting/Frontend.php - About 2 hrs to fix

                                  Method setConfig has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public function setConfig($Name, ReaderInterface $Config = null)
                                      {
                                  
                                          if (null === self::$Connection
                                              && null !== $Config
                                  Severity: Major
                                  Found in System/Cache/Handler/MemcachedHandler.php - About 2 hrs to fix

                                    File SubjectSelect.php has 263 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    <?php
                                    
                                    namespace SPHERE\Application\Api\Education\Division;
                                    
                                    use SPHERE\Application\Api\ApiTrait;
                                    Severity: Minor
                                    Found in Application/Api/Education/Division/SubjectSelect.php - About 2 hrs to fix

                                      File E02_1.php has 262 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

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

                                        Method pieceGroupList has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function pieceGroupList($receiverGroupList, $receiverModalCreate, $receiverModalEdit, $receiverModalDestroy)
                                            {
                                        
                                                $tblGroupAll = Account::useService()->getGroupAll(
                                                    Consumer::useService()->getConsumerBySession()
                                        Severity: Major
                                        Found in Application/Api/Platform/Gatekeeper/ApiUserGroup.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language