cf_pagination B

Total Complexity 87
Dependencies 0
Dependents 1
Total lines 645
Lines of code 333
Logical lines of code 167
Comment lines 79
Methods 52
Properties 27

Methods 52

Method Rating Maintainability Complexity Lines of code
print_pagination()
A
45 12 45
run()
A
48 8 32
WPSR_get_current_parameters()
S
56 4 19
get_go_button_html()
S
50 3 33
get_page_url()
S
62 3 12
pagination_header_html()
S
66 3 8
show_pages_number()
S
69 2 7
set_printed_pages()
S
70 2 7
set_filter()
S
72 2 5
set_rows()
S
70 2 7
show_go_button()
S
69 2 7
get_page_url_parameter()
S
70 2 6
show_prev_next()
S
69 2 7
show_first_last()
S
69 2 7
set_invalid_page_number_text()
S
77 1 4
set_first_page_text()
S
77 1 4
get_first_page_text()
S
82 1 3
get_last_page_text()
S
82 1 3
set_last_page_text()
S
77 1 4
get_invalid_page_number_text()
S
82 1 3
__construct()
S
71 1 6
get_alignment()
S
82 1 3
set_alignment()
S
77 1 4
get_direction()
S
82 1 3
set_direction()
S
77 1 4
get_prev_page_text()
S
82 1 3
can_show_pages_number()
S
82 1 3
can_show_go_button()
S
82 1 3
can_show_prev_next()
S
82 1 3
set_prev_page_text()
S
77 1 4
get_go_button_text()
S
82 1 3
set_next_page_text()
S
77 1 4
get_parameter_name()
S
82 1 3
get_page_html()
S
77 1 3
get_current_page_html()
S
79 1 3
pagination_footer_html()
S
82 1 3
random_id()
S
75 1 4
get_sql_limit()
S
75 1 4
get_rows()
S
82 1 3
get_total_records()
S
82 1 3
get_printed_pages()
S
82 1 3
set_parameter_name()
S
77 1 4
get_next_page_text()
S
82 1 3
get_url_rewrite()
S
82 1 3
set_url_rewrite()
S
77 1 4
get_data_source()
S
82 1 3
set_data_source()
S
77 1 4
get_filter()
S
82 1 3
set_go_button_text()
S
77 1 4
get_pages_number_text()
S
82 1 3
set_pages_number_text()
S
77 1 4
can_show_first_last()
S
82 1 3