Forminator_Base_Form_Model D

Total Complexity 252
Dependencies 12
Dependents 49
Total lines 1,667
Lines of code 893
Logical lines of code 511
Comment lines 551
Methods 48
Properties 12

Methods 48

Method Rating Maintainability Complexity Lines of code
form_can_submit()
B
37 22 73
_load()
B
36 21 76
create_from_import_data()
B
36 21 75
validate_registration_fields_mapping()
B
46 17 33
form_is_visible()
B
47 17 31
import_integrations_data()
A
49 12 29
clear_stripe_plan_ids()
A
50 11 28
save()
A
48 9 34
to_exportable_data()
A
49 8 31
migrate_payments()
S
55 7 18
get_fields_grouped()
S
52 6 24
get_all_paged()
S
50 5 29
get_real_fields()
S
57 5 17
get_entry_type()
S
58 4 18
export_integrations_data()
S
55 4 18
get_model_class()
S
58 4 17
count_all()
S
58 4 16
load()
S
60 4 15
is_prevent_store()
S
63 5 9
get_models_by_field_and_version()
S
59 4 14
to_json()
S
54 3 24
get_default_maps()
S
47 1 50
get_all_models()
S
55 3 20
get_models()
S
57 3 17
is_global_ajax_load()
S
67 4 7
load_preview()
S
59 3 14
get_models_by_field()
S
60 3 14
to_array()
S
62 3 12
is_use_donotcachepage_constant()
S
62 3 10
get_fields_as_array()
S
65 3 10
is_global_use_donotcachepage_constant()
S
67 3 7
is_entry_share_enabled()
S
64 3 9
is_ajax_load()
S
62 3 10
set_var_in_array()
S
67 3 7
get_latest_id()
S
61 2 13
get_grouped_fields()
S
64 2 10
get_grouped_real_fields()
S
64 2 10
get_field()
S
78 2 3
model()
S
69 2 7
get_model()
S
67 2 8
get_expiry_date()
S
78 2 3
get_grouped_fields_slugs()
S
72 1 5
get_post_type()
S
82 1 3
get_maps()
S
82 1 3
remove_field()
S
80 1 3
get_fields()
S
82 1 3
add_field()
S
80 1 3
clear_fields()
S
81 1 3