Showing 5,014 of 7,620 total issues
Function frontendSelectStudent
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function frontendSelectStudent($Division = null)
{
$Stage = new Stage('Schüler', 'wählen');
// Zurück button bei bedarf einbauen
- 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 getDisplayName
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function getDisplayName()
{
if ($this->getTblLevel()) {
if (strlen($this->getName()) >= 2) {
- 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 updateCertificateType
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function updateCertificateType(
IFormInterface $Form,
$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 getUnexcusedDaysByPerson
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
function getUnexcusedDaysByPerson(TblPerson $tblPerson, TblDivision $tblDivision, \DateTime $tillDate = null)
{
$list = array();
// Fehlzeiten aus alle Klassen des Schuljahrs
- 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 isFilterFulfilledByPerson
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function isFilterFulfilledByPerson(TblPerson $tblPerson)
{
if ($this->getTblGroup() && !$this->hasGroup($tblPerson)) {
return 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
Function getExcusedDaysByPerson
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function getExcusedDaysByPerson(TblPerson $tblPerson, TblDivision $tblDivision, \DateTime $tillDate = null)
{
$list = array();
// Fehlzeiten aus alle Klassen des Schuljahrs
- 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 formLevelDivision
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function formLevelDivision(TblLevel $tblLevel = null, TblDivision $tblDivision = null, $future = false)
{
$tblLevelAll = Division::useService()->getLevelAll();
$acNameAll = 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
Function frontendSubjectGroupAdd
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function frontendSubjectGroupAdd($Id = null, $DivisionSubjectId = null, $Group = null)
{
$Stage = new Stage('Fach-Gruppen', 'Ü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 changeGroupCategory
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function changeGroupCategory(
IFormInterface $Form,
TblGroup $tblGroup,
$Category
) {
- 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 changeDivision
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public
function changeDivision(
IFormInterface $Form,
$Division,
$Id
- 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 changePeriod
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function changePeriod(
IFormInterface &$Stage = null,
TblPeriod $tblPeriod,
$Period
) {
- 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 getCachedEntityById
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
final protected function getCachedEntityById($__METHOD__, Manager $EntityManager, $EntityName, $Id)
{
// Only if NOT REMOVED
$Parameter['EntityRemove'] = null;
- 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 changeCategorySubject
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function changeCategorySubject(
IFormInterface $Form,
TblCategory $tblCategory,
$Subject
) {
- 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 ticketList
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function ticketList()
{
$this->ticketLogin();
$CurlHandler = curl_init();
- 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 getPropertyList
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
final public function getPropertyList( Element $Entity, $PropertyName, $ConditionList = array() )
{
$Manager = $this->Binding->getEntityManager();
$Builder = $Manager->getQueryBuilder();
- 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 ticketList
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function ticketList()
{
$this->ticketLogin();
$CurlHandler = curl_init();
- 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 updateAddressToPersonByApi
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
TblToPerson $tblToPerson,
$Street,
$City,
$State,
$Type,
Method createAddressToPersonByApi
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
TblPerson $tblPerson,
$Street = array(),
$City = array(),
$State,
$Type,
Method frontendContact
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
public function frontendContact($Id = null, $Person = null, $Group = null, $tblPerson = null, $tblType = null, $tblSalutation = null, $doCreate = false)
Method updateAddressToCompanyByApi
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
TblToCompany $tblToCompany,
$Street,
$City,
$State,
$Type,