-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.4.1
-
Code
-
Classes
- LP_Abstract_Assets
Total Complexity |
71 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
463 |
Lines of code |
195 |
Logical lines of code |
105 |
Comment lines |
197 |
Methods |
24 |
Properties |
7 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
localize_printed_scripts() |
A |
49 |
11 |
31 |
handle_style() |
A |
54 |
8 |
20 |
handle_js() |
S |
55 |
7 |
19 |
check_can_load_asset() |
S |
53 |
6 |
24 |
enqueue_script() |
S |
68 |
5 |
6 |
enqueue_style() |
S |
68 |
5 |
6 |
__construct() |
S |
58 |
3 |
16 |
add_script_data() |
S |
63 |
4 |
10 |
add_localize() |
S |
64 |
3 |
10 |
_get_wp_scripts() |
S |
70 |
2 |
7 |
_get_wp_styles() |
S |
70 |
2 |
7 |
register_script() |
S |
71 |
2 |
5 |
register_style() |
S |
71 |
2 |
5 |
load_scripts() |
S |
100 |
1 |
0 |
get_script_var_name() |
S |
71 |
1 |
5 |
_get_styles() |
S |
82 |
1 |
3 |
localize_printed_admin_scripts() |
S |
81 |
1 |
3 |
_valid_json_number() |
S |
77 |
1 |
3 |
_get_script_data() |
S |
82 |
1 |
3 |
_get_scripts() |
S |
82 |
1 |
3 |
url() |
S |
79 |
1 |
3 |
add_param() |
S |
89 |
1 |
2 |
add_var() |
S |
89 |
1 |
2 |
add_script_tag() |
S |
89 |
1 |
2 |