Code Analysis: Gestion-Pymes 2.0.0

Function Rating Maintainability Complexity Lines of code
GestionPymesPostTypes::save_post()
D
26
41 148
GP_Budgets::save_post()
C
32 28 101
GP_PDF_Template::getBudgetContent()
B
28
16 164
GP_PDF_Template::getInvoiceContent()
B
28
14 161
GestionPymes_Plugin::gestionpymes_menu_settings()
A
28
4 222
GP_Budgets::render_meta_box_gp_budget_information()
A
42 9 48
GestionPymesPostTypes::render_meta_box_gp_invoice_information()
A
42 9 48
GestionPymesPostTypes::render_meta_box_gp_invoice_items()
S
42 5 59
GP_Budgets::render_meta_box_gp_budget_items()
S
42 5 59
GestionPymesPostTypes::create_post_types()
S
36 1 101
GestionPymesPostTypes::manage_gp_invoice_posts_custom_column()
S
54 6 22
GP_Budgets::manage_gp_budget_posts_custom_column()
S
54 6 22
GestionPymes_wp_init::wp_insert_post()
S
55 6 17
GestionPymes::getInvoiceSubtotal()
S
56 6 16
GestionPymes::getBudgetSubtotal()
S
56 6 16
GestionPymesTaxonomies::parse_query()
S
61 7 10
GestionPymesPostTypes::post_row_actions()
S
51 4 27
GestionPymesPostTypes::manage_gp_customer_posts_custom_column()
S
59 4 15
GestionPymesTaxonomies::render_meta_box()
S
54 3 21
GestionPymesTaxonomies::restrict_manage_posts()
S
56 3 18
GestionPymes_Plugin::admin_enqueue_scripts()
S
50 2 31
GestionPymes::budgetToInvoice()
S
49 2 30
GestionPymesPostTypes::admin_action_gp_print_invoice()
S
57 3 15
GP_Budgets::admin_action_gp_print_budget()
S
57 3 15
GestionPymesPostTypes::render_meta_box_gp_customer_budgets()
S
61 3 12
GestionPymesPostTypes::render_meta_box_gp_customer_invoices()
S
61 3 12
GestionPymes_Plugin::admin_notices()
S
69 3 7
GestionPymesTaxonomies::register_tax()
S
50 1 29
GP_Dashboard::widget_main()
S
56 1 28
GestionPymesPostTypes::add_meta_boxes_gp_customer()
S
56 1 21
GestionPymesPostTypes::render_meta_box_gp_customer_information()
S
54 1 19
GestionPymesPostTypes::add_meta_boxes_gp_invoice()
S
57 1 19
GP_Budgets::add_meta_boxes_gp_budget()
S
57 1 19
GestionPymes_Plugin::wp_init()
S
58 1 18
GP_Budgets::render_meta_box_gp_budget_actions()
S
60 1 13
GestionPymes_Plugin::admin_menu()
S
62 1 13
GestionPymes_Plugin::init()
S
65 1 11
GestionPymesPostTypes::init()
S
63 1 10
GP_Budgets::manage_gp_budget_posts_columns()
S
64 1 9
GestionPymesTaxonomies::init()
S
72 1 5
GestionPymes::getInvoiceTax()
S
74 1 4
GestionPymes::getInvoiceIRPF()
S
74 1 4
GestionPymesPostTypes::manage_gp_customer_posts_columns()
S
68 1 7
GP_PDF_Template::getInvoiceFooterContent()
S
71 1 5
GP_PDF_Template::getInvoiceCSS()
S
72 1 5
GP_PDF_Template::getBudgetFooterContent()
S
71 1 5
GestionPymes::getBudgetIRPF()
S
74 1 4
GP_Budgets::init()
S
69 1 6
GestionPymes::getCustomerInvoices()
S
64 1 10
GestionPymes::getInvoiceTotal()
S
77 1 3
GestionPymesPostTypes::manage_gp_invoice_posts_columns()
S
64 1 9
GestionPymes::getBudgetTotal()
S
77 1 3
GP_Dashboard::init()
S
79 1 3
GestionPymesPostTypes::render_meta_box_gp_invoice_actions()
S
64 1 9
GestionPymes::getCustomerBudgets()
S
64 1 10
GestionPymes::getBudgetTax()
S
74 1 4
GP_Dashboard::wp_dashboard_setup()
S
78 1 3
GestionPymes_Plugin::admin_init()
S
72 1 5
GP_PDF_Template::getBudgetCSS()
S
72 1 5
GestionPymes_wp_init::init()
S
79 1 3