| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 20 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 38 | public function ElementForm()  | 
            ||
| 39 |     { | 
            ||
| 40 | $controller = new UserDefinedFormController($this);  | 
            ||
| 41 | $current = Controller::curr();  | 
            ||
| 42 | |||
| 43 |         if ($current && $current->getAction() == 'finished') { | 
            ||
| 44 | return $controller->renderWith(UserDefinedFormController::class .'_ReceivedFormSubmission');  | 
            ||
| 45 | }  | 
            ||
| 46 | |||
| 47 | $form = $controller->Form();  | 
            ||
| 48 | $form->setFormAction(  | 
            ||
| 49 | Controller::join_links(  | 
            ||
| 50 | $current->Link(),  | 
            ||
| 51 | 'element',  | 
            ||
| 52 | $this->owner->ID,  | 
            ||
| 53 | 'Form'  | 
            ||
| 54 | )  | 
            ||
| 55 | );  | 
            ||
| 56 | |||
| 57 | return $form;  | 
            ||
| 58 | }  | 
            ||
| 74 | 
This check marks private properties in classes that are never used. Those properties can be removed.