-
Home
-
YITH WooCommerce Badge Management
-
3.20.0 (latest)
-
Code
-
Classes
- YITH_WCBM_Badge
| Total Complexity |
98 |
| Dependencies |
4 |
| Dependents |
0 |
| Total lines |
827 |
| Lines of code |
324 |
| Logical lines of code |
164 |
| Comment lines |
360 |
| Methods |
54 |
| Properties |
4 |
Methods 54
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
A |
57 |
8 |
16 |
| get_internal_props_from_request() |
S |
54 |
6 |
20 |
| get_position_css() |
S |
53 |
5 |
25 |
| get_transform_css() |
S |
58 |
5 |
16 |
| get_positions() |
S |
57 |
3 |
19 |
| save() |
S |
62 |
3 |
12 |
| get_text() |
S |
61 |
3 |
11 |
| get_selected_style_id() |
S |
63 |
3 |
10 |
| get_dimensions_prop_unit() |
S |
66 |
3 |
8 |
| get_width() |
S |
68 |
3 |
6 |
| get_height() |
S |
68 |
3 |
6 |
| get_classes() |
S |
62 |
2 |
11 |
| load_data_store() |
S |
69 |
2 |
7 |
| set_size() |
S |
72 |
2 |
5 |
| set_padding() |
S |
72 |
2 |
5 |
| set_border_radius() |
S |
72 |
2 |
5 |
| set_position() |
S |
77 |
2 |
3 |
| set_alignment() |
S |
77 |
2 |
3 |
| get_image_url() |
S |
64 |
2 |
9 |
| get_additional_style() |
S |
63 |
2 |
10 |
| get_text_color_from_text() |
S |
74 |
2 |
4 |
| get_title() |
S |
79 |
1 |
3 |
| get_type() |
S |
79 |
1 |
3 |
| get_enabled() |
S |
79 |
1 |
3 |
| get_image() |
S |
79 |
1 |
3 |
| get_background_color() |
S |
79 |
1 |
3 |
| get_size() |
S |
79 |
1 |
3 |
| get_padding() |
S |
79 |
1 |
3 |
| get_border_radius() |
S |
79 |
1 |
3 |
| get_position() |
S |
79 |
1 |
3 |
| get_alignment() |
S |
79 |
1 |
3 |
| set_title() |
S |
79 |
1 |
3 |
| set_type() |
S |
79 |
1 |
3 |
| set_enabled() |
S |
78 |
1 |
3 |
| set_image() |
S |
79 |
1 |
3 |
| set_text() |
S |
80 |
1 |
3 |
| set_background_color() |
S |
80 |
1 |
3 |
| is_type() |
S |
80 |
1 |
3 |
| is_enabled() |
S |
80 |
1 |
3 |
| get_position_top() |
S |
80 |
1 |
3 |
| get_position_right() |
S |
80 |
1 |
3 |
| get_position_bottom() |
S |
80 |
1 |
3 |
| get_position_left() |
S |
80 |
1 |
3 |
| get_image_id() |
S |
78 |
1 |
3 |
| get_style() |
S |
64 |
1 |
10 |
| get_background_color_css() |
S |
79 |
1 |
3 |
| get_height_css() |
S |
79 |
1 |
3 |
| get_width_css() |
S |
79 |
1 |
3 |
| get_border_radius_css() |
S |
73 |
1 |
4 |
| get_padding_css() |
S |
72 |
1 |
4 |
| get_position_values_unit() |
S |
80 |
1 |
3 |
| get_border_radius_unit() |
S |
80 |
1 |
3 |
| get_padding_unit() |
S |
80 |
1 |
3 |
| display() |
S |
67 |
1 |
8 |