-
Home
-
WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels
-
2.8.9
-
Code
-
Classes
- WF_Boxpack_Box
Total Complexity |
56 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
385 |
Lines of code |
170 |
Logical lines of code |
111 |
Comment lines |
135 |
Methods |
22 |
Properties |
19 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
can_fit() |
B |
51 |
20 |
21 |
pack() |
A |
38 |
14 |
71 |
set_type() |
S |
73 |
2 |
5 |
get_volume() |
S |
69 |
2 |
7 |
__construct() |
S |
64 |
1 |
9 |
get_length() |
S |
82 |
1 |
3 |
get_packed_width() |
S |
82 |
1 |
3 |
get_packed_height() |
S |
82 |
1 |
3 |
get_outer_length() |
S |
82 |
1 |
3 |
get_outer_width() |
S |
82 |
1 |
3 |
get_outer_height() |
S |
82 |
1 |
3 |
get_weight() |
S |
82 |
1 |
3 |
get_height() |
S |
82 |
1 |
3 |
get_width() |
S |
82 |
1 |
3 |
get_box_name() |
S |
82 |
1 |
3 |
set_id() |
S |
81 |
1 |
3 |
reset_packed_dimensions() |
S |
74 |
1 |
5 |
set_inner_dimensions() |
S |
68 |
1 |
7 |
set_max_weight() |
S |
81 |
1 |
3 |
get_max_weight() |
S |
80 |
1 |
3 |
set_volume() |
S |
80 |
1 |
3 |
get_packed_length() |
S |
82 |
1 |
3 |