Code Analysis: Allow PHP in Posts and Pages 3.0.4

Function Rating Maintainability Complexity Lines of code
allow_php_in_posts::check_post()
B
40 16 59
allow_php_in_posts::shortcode()
A
35 12 85
allow_php_in_posts::shortcode_advanced()
S
48 3 36
allow_php_in_posts::snippet_404()
S
60 4 13
allow_php_in_posts::form_general_options()
S
48 1 47
allow_php_in_posts::menu_primary()
S
53 2 24
allow_php_in_posts::form_edit_snippet()
S
57 1 18
allow_php_in_posts::db_upgrade()
S
58 1 17
allow_php_in_posts::form_add_snippet()
S
62 1 16
allow_php_in_posts::snippet_get()
S
66 2 8
allow_php_in_posts::display_message()
S
71 2 5
allow_php_in_posts::snippet_add()
S
66 2 9
allow_php_in_posts::db_check()
S
71 2 6
allow_php_in_posts::snippet_swap()
S
66 2 9
allow_php_in_posts::hook_uninstall()
S
66 2 8
allow_php_in_posts::option_get()
S
62 1 12
allow_php_in_posts::__construct()
S
62 1 11
allow_php_in_posts::option_set()
S
80 1 3
allow_php_in_posts::snippet_get_all()
S
72 1 5
allow_php_in_posts::snippet_delete()
S
74 1 4
allow_php_in_posts::hook_activation()
S
82 1 3
allow_php_in_posts::menu_styles()
S
82 1 3
allow_php_in_posts::snippet_edit()
S
73 1 4
allow_php_in_posts::menu_register()
S
68 1 6
allow_php_init()
S
77 1 4
allow_php_in_posts::menu_sub()
S
69 1 7
allow_php_in_posts::menu_register_extras()
S
79 1 3