DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method getCachedEntityListBy has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    final protected function getCachedEntityListBy($__METHOD__, Manager $EntityManager, $EntityName, $Parameter, $OrderBy = array( 'EntityCreate' => self::ORDER_DESC ))
Severity: Minor
Found in System/Database/Fitting/Cacheable.php - About 35 mins to fix

    Method setRepeatersOs has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            TblPerson $tblPerson,
            TblLevel $tblLevel,
            TblDivision $tblDivision,
            &$Content,
            $gender
    Severity: Minor
    Found in Application/Document/Generator/Service/Kamenz/KamenzReportService.php - About 35 mins to fix

      Method createColumn has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          final protected function createColumn(Table $Table, $Name, $Type = self::FIELD_TYPE_STRING, $IsNull = false, $Default = null)
      Severity: Minor
      Found in System/Database/Binding/AbstractSetup.php - About 35 mins to fix

        Method getForceEntityListBy has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            final protected function getForceEntityListBy($__METHOD__, Manager $EntityManager, $EntityName, $Parameter, $OrderBy = array( 'EntityCreate' => self::ORDER_DESC ))
        Severity: Minor
        Found in System/Database/Binding/AbstractData.php - About 35 mins to fix

          Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function __construct($Cluster, $Application, $Module = null, $Service = null, $Consumer = null)
          Severity: Minor
          Found in System/Database/Link/Identifier.php - About 35 mins to fix

            Method getFormField has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    $PropertyName,
                    $Placeholder = null,
                    $Label = null,
                    IIconInterface $Icon = null,
                    $doResetCount = false
            Severity: Minor
            Found in System/Database/Binding/AbstractView.php - About 35 mins to fix

              Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public function __construct($GET, $POST, $REQUEST, $SESSION, $FILES)
              Severity: Minor
              Found in System/Extension/Repository/SuperGlobal.php - About 35 mins to fix

                Function __construct has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function __construct(
                        $Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = true, $Style = self::STYLE_BUTTON_DEFAULT
                    )
                    {
                
                
                Severity: Minor
                Found in Common/Frontend/Link/Repository/External.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function __construct has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
                    {
                
                        $this->Name = $Name;
                        $this->Path = $Path;
                Severity: Minor
                Found in Common/Frontend/Link/Repository/Mailto.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function __construct has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
                    {
                
                        $this->Name = $Name;
                        $this->Path = $Path;
                Severity: Minor
                Found in Common/Frontend/Link/Repository/PhoneLink.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function getCustodyFilterForm has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    private function getCustodyFilterForm()
                    {
                        $tblLevelShowList = array();
                
                        $tblLevelList = Division::useService()->getLevelAll();
                Severity: Minor
                Found in Application/Setting/User/Account/Frontend.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function getSchoolTypeBySettingString has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function getSchoolTypeBySettingString($Value)
                    {
                
                        $Value = str_replace(' ', '', $Value);
                        $ValueList = explode(',', $Value);
                Severity: Minor
                Found in Application/Setting/Consumer/Service.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function frontendSponsorAssociationDelete has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function frontendSponsorAssociationDelete()
                    {
                
                        $Stage = new Stage('Förderverein', 'Entfernen');
                        $Stage->addButton(new Standard('Zurück', '/Setting/Consumer/SponsorAssociation', new ChevronLeft()));
                Severity: Minor
                Found in Application/Setting/Consumer/SponsorAssociation/Frontend.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function getGermanSortBySetting has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function getGermanSortBySetting()
                    {
                        // Setting controlled DataTable
                        $IsUmlautWithE = true;
                        if(($tblSetting = Consumer::useService()->getSetting('Setting', 'Consumer', 'Service', 'Sort_UmlautWithE'))){
                Severity: Minor
                Found in Application/Setting/Consumer/Service.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function frontendSchoolDelete has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function frontendSchoolDelete()
                    {
                
                        $Stage = new Stage('Schule', 'Entfernen');
                        $Stage->addButton(new Standard('Zurück', '/Setting/Consumer/School', new ChevronLeft()));
                Severity: Minor
                Found in Application/Setting/Consumer/School/Frontend.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function frontendResponsibilityDelete has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function frontendResponsibilityDelete()
                    {
                
                        $Stage = new Stage('Schulträger', 'Entfernen');
                        $Stage->addButton(new Standard('Zurück', '/Setting/Consumer/Responsibility', new ChevronLeft()));
                Severity: Minor
                Found in Application/Setting/Consumer/Responsibility/Frontend.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function getStudentFilterForm has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    private function getStudentFilterForm()
                    {
                        $tblLevelShowList = array();
                
                        $tblLevelList = Division::useService()->getLevelAll();
                Severity: Minor
                Found in Application/Setting/User/Account/Frontend.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function getGroupAllSorted has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function getGroupAllSorted()
                    {
                
                        $lockedList = array();
                        $customList = array();
                Severity: Minor
                Found in Application/Corporation/Group/Service.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function createAddress has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public function createAddress(
                        TblState $tblState = null,
                        TblCity $tblCity,
                        $StreetName,
                        $StreetNumber,
                Severity: Minor
                Found in Application/Contact/Address/Service/Data.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function widgetCorporationGroupList has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                Open

                    public static function widgetCorporationGroupList()
                    {
                
                        $tblGroupAll = Group::useService()->getGroupAll();
                        $tblGroupLockedList = array();
                Severity: Minor
                Found in Application/Corporation/Corporation.php - About 35 mins to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Severity
                Category
                Status
                Source
                Language