GGPackageViewer D

Total Complexity 147
Dependencies 4
Dependents 0
Total lines 664
Lines of code 566
Logical lines of code 320
Comment lines 23
Methods 34
Properties 2

Methods 34

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