Hustle_Model D

Total Complexity 159
Dependencies 11
Dependents 16
Total lines 1,306
Lines of code 620
Logical lines of code 324
Comment lines 475
Methods 50
Properties 6

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
duplicate_module()
S
59 4 14
is_tracking_enabled()
S
59 4 14
load()
S
61 4 12
delete()
S
53 2 32
get_module_type_by_module_id()
S
57 3 17
add_meta()
S
58 3 16
update_feature_image_alt()
S
63 4 10
get_module()
S
62 3 11
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
get_settings_meta()
S
64 3 10
sanitize_model_data()
S
67 3 7
save()
S
59 2 14
get_data()
S
67 2 8
update_submitted_tracking_types()
S
65 2 9
toggle_type_track_mode()
S
65 2 9
update_module()
S
64 2 10
get_edit_url()
S
68 2 7
get_edit_roles()
S
71 2 5
get_decorated()
S
72 2 6
display()
S
67 2 8
save_from_migration()
S
59 1 14
has_meta()
S
77 1 3
get_tracking_types()
S
75 1 4
get_format()
S
68 1 8
can_role_edit_one_module()
S
69 1 6
is_track_type_active()
S
79 1 3
update_edit_roles()
S
72 1 5
get_visibility()
S
79 1 3
get_attributes()
S
76 1 4
get_shortcode_id()
S
82 1 3
get_wizard_page()
S
80 1 3
get_listing_page()
S
80 1 3
deactivate()
S
66 1 9
activate()
S
66 1 9