DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method getPersonMessageTable has 89 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getPersonMessageTable(TblPerson $tblPerson)
    {
        if (($tblStudent = $tblPerson->getStudent())
            && ($tblDivisionList = $tblStudent->getCurrentDivisionList())
        ) {
Severity: Major
Found in Application/Education/Lesson/Division/Filter/Service.php - About 3 hrs to fix

    File Zwickau.php has 315 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace SPHERE\Application\Document\Custom\Zwickau;
    
    use MOC\V\Core\FileSystem\FileSystem;
    use SPHERE\Application\Contact\Address\Address;
    Severity: Minor
    Found in Application/Document/Custom/Zwickau/Zwickau.php - About 3 hrs to fix

      File Frontend.php has 314 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      
      namespace SPHERE\Application\Reporting\Individual;
      
      use SPHERE\Application\Api\Reporting\Individual\ApiIndividual;
      Severity: Minor
      Found in Application/Reporting/Individual/Frontend.php - About 3 hrs to fix

        Method frontendStudentAdd has 88 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function frontendStudentAdd($Person = null, $Year = null, $Division = null)
            {
        
                $Stage = new Stage('Schüler-Accounts', 'Erstellen');
        
        
        Severity: Major
        Found in Application/Setting/User/Account/Frontend.php - About 3 hrs to fix

          Method frontendDestroyAccount has 88 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function frontendDestroyAccount($AccountType, $Confirm = false)
              {
          
                  $Stage = new Stage('Benutzeraccounts', 'Löschen');
          
          
          Severity: Major
          Found in Application/Platform/System/DataMaintenance/DataMaintenance.php - About 3 hrs to fix

            Method createCompaniesFromFile has 88 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function createCompaniesFromFile(
                    IFormInterface $Form = null,
                    UploadedFile $File = null
                ) {
            
            
            Severity: Major
            Found in Application/Transfer/Import/Schneeberg/Service.php - About 3 hrs to fix

              Method createCompaniesFromFile has 88 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function createCompaniesFromFile(
                      IFormInterface $Form = null,
                      UploadedFile $File = null
                  ) {
              
              
              Severity: Major
              Found in Application/Transfer/Import/Muldental/Service.php - About 3 hrs to fix

                Method createCompaniesFromFile has 88 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function createCompaniesFromFile(
                        IFormInterface $Form = null,
                        UploadedFile $File = null
                    ) {
                
                
                Severity: Major
                Found in Application/Transfer/Import/Annaberg/Service.php - About 3 hrs to fix

                  Method createCompaniesFromFile has 88 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public function createCompaniesFromFile(
                          IFormInterface $Form = null,
                          UploadedFile $File = null
                      ) {
                  
                  
                  Severity: Major
                  Found in Application/Transfer/Import/Radebeul/Service.php - About 3 hrs to fix

                    Method createCompaniesFromFile has 88 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function createCompaniesFromFile(
                            IFormInterface $Form = null,
                            UploadedFile $File = null
                        ) {
                    
                    
                    Severity: Major
                    Found in Application/Transfer/Import/Zwickau/Service.php - About 3 hrs to fix

                      Method frontendSubjectStudentAdd has 88 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function frontendSubjectStudentAdd(
                              $Id = null,
                              $DivisionSubjectId = null,
                              $Data = null
                          ) {
                      Severity: Major
                      Found in Application/Education/Lesson/Division/Frontend.php - About 3 hrs to fix

                        ApiAddressToPerson has 29 functions (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          ApiBasketVerification has 29 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          class ApiBasketVerification extends Extension implements IApiInterface
                          {
                          
                              // registered method
                              use ApiTrait;
                          Severity: Minor
                          Found in Application/Api/Billing/Bookkeeping/ApiBasketVerification.php - About 3 hrs to fix

                            Data has 29 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class Data extends Support
                            {
                            
                                /**
                                 * @return false|ViewStudent[]
                            Severity: Minor
                            Found in Application/People/Meta/Student/Service/Data.php - About 3 hrs to fix

                              TblTest has 29 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              class TblTest extends Element
                              {
                              
                                  const ATTR_DATE = 'Date';
                                  const ATTR_CORRECTION_DATE = 'CorrectionDate';

                                File Kreda.php has 312 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                namespace SPHERE\Common\Documentation\Content;
                                
                                use MOC\V\Core\FileSystem\FileSystem;
                                use SPHERE\Common\Documentation\Designer;
                                Severity: Minor
                                Found in Common/Documentation/Content/Kreda.php - About 3 hrs to fix

                                  Method getOwnSignPart has 87 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      protected function getOwnSignPart($personId, $MarginTop = '25px')
                                      {
                                          $SignSlice = (new Slice());
                                  
                                          $SignSlice->addSection((new Section())

                                    Method setRowContent has 87 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        private static function setRowContent(&$sliceList, $name, $identifier)
                                        {
                                    
                                            $section = new Section();
                                            $section
                                    Severity: Major
                                    Found in Application/Api/Document/Standard/Repository/KamenzReportGym/E07.php - About 3 hrs to fix

                                      Method frontendDiseaseList has 87 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function frontendDiseaseList($GroupId = null)
                                          {
                                      
                                              $Stage = new Stage('Individuelle Auswertung', 'Allergieliste');
                                              if (null !== $GroupId) {
                                      Severity: Major
                                      Found in Application/Reporting/Custom/Radebeul/Person/Frontend.php - About 3 hrs to fix

                                        Method frontendInterestedPersonList has 87 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function frontendInterestedPersonList()
                                            {
                                        
                                                $Stage = new Stage('ESZC Auswertung', 'Neuanmeldungen/Interessenten');
                                                $tblPersonList = Group::useService()->getPersonAllByGroup(Group::useService()->getGroupByName('Interessent'));
                                        Severity: Major
                                        Found in Application/Reporting/Custom/Chemnitz/Person/Frontend.php - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language