GGPackageViewer D

Total Complexity 157
Dependencies 4
Dependents 0
Total lines 727
Lines of code 626
Logical lines of code 355
Comment lines 28
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
unzip_package()
C
31 30 101
import_options_page()
B
30 19 134
shortcode()
A
43 14 45
get_attachment_metadata()
A
49 8 32
prepare_attachment_for_js()
A
50 8 28
__construct()
S
46 6 36
import_validate_options()
S
55 7 19
render_block()
S
55 7 19
gg_chmod()
S
57 5 16
delete_package()
S
60 4 13
install()
S
62 4 11
media_send_to_editor()
S
66 4 8
attribute_set_false()
S
68 4 7
attribute_set_true()
S
68 4 7
get_attachment_image_attributes()
S
61 3 12
del_tree()
S
66 3 7
mime_type_icon()
S
68 3 7
register_block()
S
58 2 15
attachment_is_package()
S
67 3 8
trigger_error()
S
66 3 8
error_log()
S
60 2 12
add_allow_upload_extension_exception()
S
64 2 9
import_admin_init()
S
62 1 12
import_settings_default()
S
65 1 9
init()
S
67 1 7
add_admin_page()
S
68 1 7
settings_styles()
S
81 1 3
settings_scripts()
S
77 1 4
modify_post_mime_types()
S
67 1 8
settings_link()
S
74 1 4
add_help()
S
66 1 8
register_widgets()
S
76 1 4
import_section_text()
S
91 1 2
add_filetypes()
S
76 1 4