-
Home
-
WP Revisions Control
-
1.3
-
Code
-
Classes
- WP_Revisions_Control
Total Complexity |
68 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
603 |
Lines of code |
310 |
Logical lines of code |
144 |
Comment lines |
192 |
Methods |
23 |
Properties |
8 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_post_types() |
S |
55 |
7 |
19 |
get_settings() |
S |
54 |
6 |
21 |
ajax_purge() |
S |
56 |
6 |
16 |
action_add_meta_boxes() |
S |
47 |
4 |
35 |
sanitize_options() |
S |
57 |
5 |
18 |
do_purge_excess() |
S |
51 |
4 |
28 |
action_save_post() |
S |
60 |
5 |
12 |
filter_wp_revisions_to_keep() |
S |
60 |
4 |
13 |
get_revisions_to_keep() |
S |
64 |
4 |
9 |
get_post_revisions_to_keep() |
S |
64 |
4 |
9 |
settings_section_intro() |
S |
57 |
2 |
21 |
do_purge_all() |
S |
58 |
2 |
17 |
plugin_priority() |
S |
68 |
3 |
7 |
action_admin_init() |
S |
59 |
2 |
12 |
revisions_meta_box() |
S |
54 |
1 |
24 |
action_admin_head() |
S |
63 |
1 |
17 |
get_instance() |
S |
69 |
2 |
7 |
field_post_type() |
S |
69 |
1 |
6 |
action_init() |
S |
74 |
1 |
4 |
hash_settings() |
S |
80 |
1 |
3 |
action_plugins_loaded() |
S |
69 |
1 |
7 |
setup() |
S |
75 |
1 |
4 |
__construct() |
S |
98 |
1 |
1 |