Showing 5,014 of 7,620 total issues
Method createStandardFilter
has 331 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createStandardFilter(IFormInterface $Form, TblAccount $tblAccount, $Data = null, $Reset = null)
{
if ($Data === null && $Reset === null) {
return $Form;
Method createStudentsFromFile
has 330 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createStudentsFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Method formStudentTransfer
has 330 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function formStudentTransfer()
{
// $Data[] = 'BohrEy';
return new Form(
File Service.php
has 716 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Billing\Bookkeeping\Invoice;
use MOC\V\Component\Document\Component\Bridge\Repository\PhpExcel;
File Frontend.php
has 713 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\People\Group;
use SPHERE\Application\Education\Lesson\Division\Division;
use SPHERE\Application\Education\Lesson\Term\Term;
File ApiBasketVerification.php
has 712 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Api\Billing\Bookkeeping;
use SPHERE\Application\Api\ApiTrait;
Function frontendDivision
has a Cognitive Complexity of 82 (exceeds 5 allowed). Consider refactoring. Open
public function frontendDivision($GenerateCertificateId = null)
{
$Stage = new Stage('Zeugnis generieren', 'Klassenübersicht');
$Stage->addButton(new Standard('Zurück', '/Education/Certificate/Generate', new ChevronLeft()));
- 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 createInterestedFromFile
has 326 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createInterestedFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Function getCustodyTableContent
has a Cognitive Complexity of 81 (exceeds 5 allowed). Consider refactoring. Open
public function getCustodyTableContent($Result, $MaxResult = 800, $TypeId = null)
{
$SearchResult = array();
if (!empty($Result)) {
- 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 frontendSetting
has a Cognitive Complexity of 81 (exceeds 5 allowed). Consider refactoring. Open
public function frontendSetting($PrepareId = null, $Route = 'Teacher', $Grades = null, $Remarks = null)
{
$Stage = new Stage('Noteninformation', 'Klassenübersicht');
- 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 setKamenzReportGsContent
has a Cognitive Complexity of 81 (exceeds 5 allowed). Consider refactoring. Open
public static function setKamenzReportGsContent(
$Content
) {
$tblCurrentYearList = false;
- 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 createPersonsFromFile
has 322 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createPersonsFromFile(IFormInterface $Form = null, UploadedFile $File = null)
{
/**
* Skip to Frontend
Method createDatevCsv
has 322 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createDatevCsv(TblBasket $tblBasket)
{
$tblInvoiceList = Invoice::useService()->getInvoiceByBasket($tblBasket);
if(!$tblInvoiceList){
File AccidentReport.php
has 703 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Document\Standard\AccidentReport;
use MOC\V\Core\FileSystem\FileSystem;
Method createFormerStudentsFromFile
has 320 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createFormerStudentsFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Function hydrateAuthorization
has a Cognitive Complexity of 80 (exceeds 5 allowed). Consider refactoring. Open
private function hydrateAuthorization()
{
if (empty( self::$AuthorizationCache )) {
if (false !== ( $tblAccount = Account::useService()->getAccountBySession() )) {
- 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 importUntisLectureship
has a Cognitive Complexity of 80 (exceeds 5 allowed). Consider refactoring. Open
public function importUntisLectureship()
{
$InfoList = array();
$tblUntisImportLectureshipList = $this->getUntisImportLectureshipAll(true);
- 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 importIndiwareLectureship
has a Cognitive Complexity of 80 (exceeds 5 allowed). Consider refactoring. Open
public function importIndiwareLectureship()
{
$InfoList = array();
$tblIndiwareImportLectureshipList = $this->getIndiwareImportLectureshipAll(true);
- 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 getDivisionMessageTable
has a Cognitive Complexity of 80 (exceeds 5 allowed). Consider refactoring. Open
public static function getDivisionMessageTable(TblDivision $tblDivision, $isAccordion = false, &$totalCount, $IsTableAccordion = false)
{
$list = array();
$missingGroupList = array();
- 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 createStudentsFromFile
has 318 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createStudentsFromFile(
IFormInterface $Form = null,
UploadedFile $File = null,
$Data = null
) {