-
Home
-
WP Dark Mode – WordPress Dark Mode Plugin for Improved Accessibility, Dark Theme, Night Mode, and Social Sharing
-
4.2.7
-
Code
-
Classes
- WP_Dark_Mode_Settings
Total Complexity |
111 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
1,643 |
Lines of code |
1,428 |
Logical lines of code |
217 |
Comment lines |
149 |
Methods |
19 |
Properties |
2 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
settings_fields() |
D |
10 |
9 |
761 |
exclude_wc_categories() |
A |
41 |
13 |
63 |
exclude_categories() |
A |
41 |
13 |
59 |
exclude_pages() |
A |
42 |
11 |
56 |
image_settings() |
A |
38 |
8 |
94 |
video_settings() |
A |
39 |
8 |
86 |
exclude_posts() |
A |
42 |
10 |
55 |
exclude_tags() |
A |
44 |
8 |
53 |
exclude_products() |
A |
45 |
8 |
49 |
if_image_settings() |
S |
61 |
7 |
12 |
switch_menus() |
S |
56 |
5 |
18 |
exclude_post_types() |
S |
57 |
3 |
17 |
custom_position_cb() |
S |
49 |
1 |
42 |
settings_page() |
S |
56 |
1 |
26 |
settings_menu() |
S |
57 |
1 |
20 |
instance() |
S |
72 |
2 |
6 |
__construct() |
S |
74 |
1 |
4 |
filter_preview() |
S |
81 |
1 |
3 |
switch_preview() |
S |
73 |
1 |
4 |