-
Home
-
WordPress Translation plugin for Post, Pages & WooCommerce products. Tranzly IO AI DeepL automatic WordPress Translator.
-
1.0.2
-
Code
-
Classes
- Tranzly_Truncate_HTML
Total Complexity |
35 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
294 |
Lines of code |
163 |
Logical lines of code |
101 |
Comment lines |
66 |
Methods |
13 |
Properties |
4 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
truncate() |
B |
39 |
15 |
68 |
add_remaining_string_from_parent_element() |
S |
48 |
5 |
34 |
get_splitted() |
S |
53 |
4 |
23 |
get_truncated() |
S |
68 |
2 |
7 |
set_length() |
S |
81 |
1 |
3 |
get_length() |
S |
82 |
1 |
3 |
set_max_length() |
S |
81 |
1 |
3 |
get_max_length() |
S |
82 |
1 |
3 |
set_content() |
S |
72 |
1 |
6 |
get_content() |
S |
82 |
1 |
3 |
set_lines_splitted_by_html_tags() |
S |
81 |
1 |
3 |
get_lines_splitted_by_html_tags() |
S |
82 |
1 |
3 |
get_splittted_by_html_tags() |
S |
75 |
1 |
4 |