-
Home
-
DocsPress – Online Documentation
-
2.5.3 (latest)
-
Code
-
Classes
- DocsPress
| Total Complexity |
71 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
688 |
| Lines of code |
395 |
| Logical lines of code |
156 |
| Comment lines |
186 |
| Methods |
25 |
| Properties |
8 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| enqueue_scripts() |
A |
43 |
7 |
49 |
| register_post_type() |
A |
38 |
5 |
72 |
| add_role_caps() |
A |
46 |
7 |
38 |
| get_breadcrumbs_array() |
A |
49 |
7 |
32 |
| maybe_setup() |
S |
58 |
5 |
14 |
| get_template_part() |
S |
60 |
5 |
14 |
| activation_hook() |
S |
56 |
4 |
19 |
| include_dependencies() |
S |
59 |
4 |
15 |
| get_option() |
S |
67 |
4 |
7 |
| load_template() |
S |
67 |
4 |
8 |
| register_post_meta() |
S |
51 |
1 |
35 |
| get_current_doc_id() |
S |
62 |
2 |
11 |
| plugin_init() |
S |
57 |
1 |
16 |
| instance() |
S |
70 |
2 |
7 |
| get_docs_page_title() |
S |
66 |
2 |
8 |
| get_docs_page_content() |
S |
66 |
2 |
8 |
| deactivation_hook() |
S |
91 |
1 |
2 |
| add_image_sizes() |
S |
75 |
1 |
4 |
| image_size_names_choose() |
S |
68 |
1 |
8 |
| load_textdomain() |
S |
77 |
1 |
3 |
| rest_auth() |
S |
78 |
1 |
3 |
| is_archive() |
S |
82 |
1 |
3 |
| is_single() |
S |
82 |
1 |
3 |
| get_next_adjacent_doc_id() |
S |
66 |
1 |
8 |
| get_previous_adjacent_doc_id() |
S |
66 |
1 |
8 |