Hustle_Model D

Total Complexity 161
Dependencies 11
Dependents 16
Total lines 1,413
Lines of code 627
Logical lines of code 330
Comment lines 544
Methods 50
Properties 20

Methods 50

Method Rating Maintainability Complexity Lines of code
get_module_meta_names()
A
41 14 58
load_preview()
A
49 9 30
clone_module()
A
47 8 36
enable_type_track_mode()
S
56 7 17
clean_module_cache()
S
57 7 16
get_meta()
S
59 6 13
update_meta()
S
52 5 27
activate_providers()
S
56 5 19
set_sub_type_tracking_status()
S
59 5 14
disable_type_track_mode()
S
61 5 12
__construct()
S
55 4 20
get_module_id_by_shortcode_id()
S
56 4 20
is_tracking_enabled()
S
59 4 14
duplicate_module()
S
59 4 14
get_settings_meta()
S
61 4 13
load()
S
61 4 12
delete()
S
53 2 32
add_meta()
S
58 3 16
get_module_type_by_module_id()
S
59 3 15
update_feature_image_alt()
S
63 4 10
get_data()
S
61 3 13
get_module()
S
61 3 12
get_feature_image_alt()
S
68 3 7
is_condition_allow()
S
66 3 8
get_module_metas_as_array()
S
63 3 10
populate()
S
66 3 9
is_display_type_active()
S
65 3 8
sanitize_model_data()
S
67 3 7
save()
S
59 2 14
display()
S
67 2 8
get_decorated()
S
72 2 6
get_edit_roles()
S
71 2 5
get_edit_url()
S
68 2 7
update_module()
S
64 2 10
toggle_type_track_mode()
S
65 2 9
update_submitted_tracking_types()
S
65 2 9
save_from_migration()
S
59 1 14
activate()
S
66 1 9
update_edit_roles()
S
72 1 5
get_format()
S
68 1 8
can_role_edit_one_module()
S
69 1 6
is_track_type_active()
S
79 1 3
get_visibility()
S
79 1 3
get_attributes()
S
76 1 4
deactivate()
S
66 1 9
has_meta()
S
77 1 3
get_shortcode_id()
S
82 1 3
get_wizard_page()
S
80 1 3
get_listing_page()
S
80 1 3
get_tracking_types()
S
75 1 4