ChoiceAreaAjax   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 12
ccs 0
cts 8
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTemplate() 0 3 1
A getDefaults() 0 4 1
1
<?php namespace Distilleries\FormBuilder\Fields;
2
3
4
class ChoiceAreaAjax extends FormFieldsView
5
{
6
    protected function getTemplate()
7
    {
8
        return 'choice_area_ajax';
9
    }
10
11
12
    protected function getDefaults()
13
    {
14
        return [
15
            'action'   => ''
16
        ];
17
    }
18
}