Showing 5,014 of 7,620 total issues
Method buildPages
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function buildPages(TblPerson $tblPerson = null)
{
$personId = $tblPerson ? $tblPerson->getId() : 0;
Method frontendClassList
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendClassList($DivisionId = null)
{
$Stage = new Stage('Auswertung', 'Klassenliste');
if (null !== $DivisionId) {
Method frontendSelectTemplate
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendSelectTemplate($PrepareId = null, $DivisionId = null, $Data = null)
{
$Stage = new Stage('Zeugnis generieren', 'Zeugnisvorlagen auswählen');
File Service.php
has 428 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 08.07.2016
Function formBasket
has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring. Open
public function formBasket($Identifier = '', $BasketId = '')
{
// SelectBox content
$YearList = Invoice::useService()->getYearList(1, 1);
- Read upRead up
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 getAddressPersonAllByPerson
has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring. Open
public function getAddressPersonAllByPerson(
TblSerialLetter $tblSerialLetter,
TblPerson $tblPerson
) {
- Read upRead up
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 createSepaCreditContent
has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring. Open
public function createSepaCreditContent(TblBasket $tblBasket)
{
$tblInvoiceList = Invoice::useService()->getInvoiceByBasket($tblBasket);
if(!$tblInvoiceList){
- Read upRead up
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 updateLeaveStudentAbiturPoints
has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring. Open
public function updateLeaveStudentAbiturPoints(
IFormInterface $Form = null,
TblLeaveStudent $tblLeaveStudent,
$Data
) {
- Read upRead up
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 createExamsButtonList
has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring. Open
private function createExamsButtonList(
TblPrepareCertificate $tblPrepare,
&$tblCurrentSubject,
&$tblNextSubject,
$tblTestList,
- Read upRead up
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
Method buildSearchQuery
has 156 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function buildSearchQuery($ViewType = TblWorkSpace::VIEW_TYPE_ALL, $SqlReturn = false)
{
$Binding = Individual::useService()->getBinding();
$Manager = $Binding->getEntityManager();
$Builder = $Manager->getQueryBuilder();
Method frontendClassList
has 156 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendClassList($DivisionId = null)
{
$Stage = new Stage('ESZC Auswertung', 'Klassenliste');
if (null !== $DivisionId) {
Method frontendMedicalInsuranceClassList
has 156 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendMedicalInsuranceClassList($DivisionId = null)
{
$Stage = new Stage('Auswertung', 'Klassenlisten Krankenkasse');
if (null !== $DivisionId) {
Method formRelationshipToPerson
has 156 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function formRelationshipToPerson(
$PersonId,
$ToPersonId = null,
$setPost = false,
$Search = '',
Method contentEditTest
has 156 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function contentEditTest(Stage $Stage, $Id, $Test, $BasicRoute)
{
$tblTest = Evaluation::useService()->getTestById($Id);
if ($tblTest) {
File KamenzService.php
has 425 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: lehmann
* Date: 23.06.2017
File LectureshipGateway.php
has 425 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Import Unterricht. Reihenfolge der Felder aus der CSV-Datei SpUnterricht.csv
* wird Dynamisch ausgelesen (Erfolgt in Control)
*/
Method createInvoice
has 155 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createInvoice(TblBasket $tblBasket)
{
/** Shopping Content */
$tblBasketVerificationList = Basket::useService()->getBasketVerificationAllByBasket($tblBasket);
if(!$tblBasketVerificationList){
Method formSetting
has 155 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function formSetting($Category = TblSetting::CATEGORY_REGULAR)
{
$elementList = array();
$tblSettingList = Setting::useService()->getSettingAllByCategory($Category);
File Data.php
has 425 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\People\Relationship\Service;
use SPHERE\Application\Corporation\Company\Service\Entity\TblCompany;
use SPHERE\Application\People\Person\Service\Entity\TblPerson;
File CosHjSek.php
has 424 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Api\Education\Certificate\Generator\Repository\EVSC;
use SPHERE\Application\Api\Education\Certificate\Generator\Certificate;
use SPHERE\Application\Education\Certificate\Generator\Repository\Element;