Showing 5,014 of 7,620 total issues
Method createDivisionsFromFile
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createDivisionsFromFile(
IFormInterface $Form = null,
UploadedFile $File = null,
$TypeId = null,
$YearId = null
Method setContentForBehaviorTask
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setContentForBehaviorTask(
TblTest $tblTest,
TblTask $tblTask = null,
TblDivision $tblDivision,
TblSubject $tblSubject,
Method frontendScoreGroup
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendScoreGroup(
$ScoreGroup = null
) {
$Stage = new Stage('Zensuren-Gruppe', 'Übersicht');
Method getScoreConditionByStudent
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getScoreConditionByStudent(
TblScoreRule $tblScoreRule,
$tblGradeList,
TblYear $tblYear = null,
TblPeriod $tblPeriod = null,
Method frontendDestroyDroppedSubjects
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendDestroyDroppedSubjects(
$Id = null,
$GroupId = null,
$Confirm = false,
$Route = null
Method setStudentFocus
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function setStudentFocus(
TblPerson $tblPerson,
TblLevel $tblLevel,
&$Content,
$gender,
Frontend
has 30 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Frontend extends FrontendMinimumGradeCount
{
const SCORE_RULE = 0;
const SCORE_CONDITION = 1;
Consider simplifying this complex logical expression. Open
Open
if ($tblConsumer
&& $tblConsumer->getAcronym() == 'EVSR'
&& $isDivisionTeacherAvailable
) {
$firstName = $tblPersonSigner->getFirstName();
Method saveEditDebtorSelection
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function saveEditDebtorSelection(
$BasketVerificationId,
$DebtorSelection = array()
){
Method buildPages
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function buildPages(TblPerson $tblPerson = null)
{
$personId = $tblPerson ? $tblPerson->getId() : 0;
Method getCmsMsHjSlice
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getCmsMsHjSlice($personId, $TitleText = '')
{
return (new Slice())
->stylePaddingLeft('16px')
->stylePaddingRight('16px')
Method createBillingDocumentPdf
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function createBillingDocumentPdf($Data = array(), $Redirect = true)
{
if ($Redirect) {
return \SPHERE\Application\Api\Education\Certificate\Generator\Creator::displayWaitingPage(
Method frontendCompanyExport
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendCompanyExport(TblSerialLetter $tblSerialLetter)
{
$Stage = new Stage('Adresslisten für Serienbriefe', 'Institutionen mit Adressen uns Ansprechpartner herunterladen');
$Stage->addButton(new Standard('Zurück', '/Reporting/SerialLetter', new ChevronLeft()));
$Stage->addButton(new Standard('Bearbeiten', '/Reporting/SerialLetter/Edit', new Edit(),
Method frontendPrivilegeGrantRight
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendPrivilegeGrantRight($Id)
{
$Stage = new Stage('Berechtigungen', 'Privileg');
$this->menuButton($Stage);
Method frontendLevelGrantPrivilege
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendLevelGrantPrivilege($Id)
{
$Stage = new Stage('Berechtigungen', 'Zugriffslevel');
$this->menuButton($Stage);
Method frontendRoleGrantLevel
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendRoleGrantLevel($Id)
{
$Stage = new Stage('Berechtigungen', 'Rolle');
$this->menuButton($Stage);
Method formHandyCap
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formHandyCap($PersonId, $HandyCapId = null, $IsCanceled = false, $IsInit = false)
{
$Global = $this->getGlobal();
if($HandyCapId != null && !isset($Global->POST['Data']['Date'])){
Method frontendLayoutCompanyNew
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendLayoutCompanyNew(Element $tblEntity)
{
if ($tblEntity instanceof TblPerson) {
$tblRelationshipAll = Relationship::useService()->getCompanyRelationshipAllByPerson($tblEntity);
Method getCommonFormRow
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getCommonFormRow($genderId = 0)
{
$tblCommonBirthDatesAll = Common::useService()->getCommonBirthDatesAll();
$tblBirthplaceAll = array();
if ($tblCommonBirthDatesAll) {
Method frontendLeaveSelectStudent
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendLeaveSelectStudent($YearId = null)
{
$Stage = new Stage('Zeugnisvorbereitung', 'Abgangszeugnis - Schüler auswählen');
$this->setHeaderButtonList($Stage, View::LEAVE);