Forminator_Base_Form_Model D

Total Complexity 257
Dependencies 12
Dependents 50
Total lines 1,710
Lines of code 930
Logical lines of code 533
Comment lines 553
Methods 49
Properties 12

Methods 49

Method Rating Maintainability Complexity Lines of code
form_can_submit()
B
37 22 73
_load()
B
36 21 76
create_from_import_data()
B
37 17 71
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
module_update_do_action()
A
51 8 25
get_all_paged()
S
45 6 44
migrate_payments()
S
55 7 18
get_fields_grouped()
S
52 6 24
get_real_fields()
S
57 5 17
export_integrations_data()
S
55 4 18
get_entry_type()
S
58 4 18
get_model_class()
S
58 4 17
count_all()
S
58 4 17
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
get_fields_as_array()
S
65 3 10
is_entry_share_enabled()
S
64 3 9
is_global_use_donotcachepage_constant()
S
67 3 7
is_use_donotcachepage_constant()
S
62 3 10
set_var_in_array()
S
67 3 7
is_ajax_load()
S
62 3 10
get_latest_id()
S
61 2 13
get_expiry_date()
S
78 2 3
get_grouped_real_fields()
S
64 2 10
get_model()
S
67 2 8
get_field()
S
78 2 3
get_grouped_fields()
S
64 2 10
model()
S
69 2 7
get_grouped_fields_slugs()
S
72 1 5
add_field()
S
80 1 3
get_fields()
S
82 1 3
get_post_type()
S
82 1 3
clear_fields()
S
81 1 3
get_maps()
S
82 1 3
remove_field()
S
80 1 3