Code Analysis: Custom Post Type Permalinks 3.4.4

Function Rating Maintainability Complexity Lines of code
CPTP_Module_Permalink::post_type_link()
C
31 23 115
CPTP_Module_Rewrite::register_taxonomy_rules()
B
34 16 101
CPTP_Module_GetArchives::get_archives_link()
B
41 17 52
CPTP_Module_Rewrite::register_post_type_rules()
A
38 13 66
CPTP_Module_Permalink::term_link()
A
45 11 43
CPTP_Module_Admin::setting_structure_callback_function()
A
47 11 34
CPTP_Module_Permalink::create_taxonomy_replace_tag()
A
47 10 34
CPTP_Module_Permalink::attachment_link()
A
50 9 29
CPTP_Module_Option::save_options()
S
49 7 30
CPTP_Util::get_taxonomy_parents()
S
52 7 22
CPTP_Module_GetArchives::getarchives_where()
S
53 7 21
CPTP_Module_Rewrite::parse_request()
S
57 7 16
CPTP_Util::get_taxonomy_parents_slug()
S
55 6 18
CPTP_Module_Setting::upgrader_process_complete()
S
59 6 14
CPTP_Util::get_permalink_structure()
S
57 5 15
CPTP_Util::get_date_front()
S
57 4 16
CPTP_Module_Admin::settings_api_init()
S
47 2 45
CPTP_Util::sort_terms()
S
59 4 15
CPTP_Module_Admin::setting_section_callback_function()
S
49 2 38
CPTP_Module_Admin::enqueue_css_js()
S
53 3 22
CPTP_Util::get_post_type_date_archive_support()
S
65 4 9
CPTP_Util::get_post_type_author_archive_support()
S
65 4 9
CPTP_Module_Permalink::get_term_parent()
S
73 3 5
CPTP_Module_GetArchives::getarchives_join()
S
65 3 8
CPTP_Util::get_taxonomies()
S
61 2 14
CPTP_Util::is_rewrite_supported_by()
S
61 2 12
CPTP_Module_Permalink::add_hook()
S
54 1 26
CPTP::uninstall()
S
71 2 6
CPTP_Module_Permalink::replace_post_slug_with_placeholder()
S
70 2 6
CPTP_Module_GetArchives::add_hook()
S
67 2 7
CPTP::init_modules()
S
69 2 7
CPTP::activate()
S
70 2 6
CPTP_Module_FlushRules::update_rules()
S
67 2 7
CPTP_Module_FlushRules::dequeue_flush_rules()
S
71 2 6
CPTP::set_module()
S
67 2 7
CPTP_Module_Option::uninstall_hook()
S
71 2 6
cptp_class_loader()
S
68 2 7
CPTP::get_instance()
S
71 2 6
CPTP_Module_Admin::admin_notices()
S
66 2 7
CPTP::load_modules()
S
62 1 11
CPTP_Module_Option::add_hook()
S
74 1 4
CPTP_Module_Admin::setting_no_tax_structure_callback_function()
S
68 1 6
CPTP_Module::register()
S
79 1 3
CPTP_Util::get_no_taxonomy_structure()
S
78 1 3
CPTP_Util::__construct()
S
91 1 2
CPTP_Module_FlushRules::queue_flush_rules()
S
79 1 3
CPTP_Util::get_post_types()
S
66 1 8
CPTP_Module_Option::set_default_option()
S
76 1 4
CPTP_Module_FlushRules::add_hook()
S
69 1 6
CPTP::__construct()
S
82 1 3
CPTP_Module_Setting::add_hook()
S
72 1 5
CPTP::init()
S
74 1 5
CPTP_Module_FlushRules::activation_hook()
S
82 1 3
CPTP_Module::add_hook()
S
100 1 0
CPTP_Module_FlushRules::uninstall_hook()
S
80 1 3
CPTP_Module::init()
S
81 1 3
cptp_init()
S
77 1 4
CPTP_Module::uninstall_hook()
S
89 1 2
CPTP_Module_Setting::update_version()
S
80 1 3
CPTP_Module_Rewrite::get_slug_placeholder()
S
79 1 3
CPTP_Module_Rewrite::add_hook()
S
71 1 5
CPTP_Module_Admin::add_post_type_for_tax_callback_function()
S
71 1 5
CPTP_Module_Setting::load_textdomain()
S
79 1 3
CPTP_Module::activation_hook()
S
91 1 2
CPTP_Module_Admin::add_hook()
S
72 1 5