Total Complexity | 42 |
Dependencies | 0 |
Dependents | 5 |
Total lines | 247 |
Lines of code | 154 |
Logical lines of code | 81 |
Comment lines | 47 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
send_low_stock_email() | 50 | 6 | 26 | |
display_low_stock_warning() | 56 | 6 | 16 | |
display_limited_availability_ribbon() | 58 | 6 | 13 | |
display_low_stock_warning_template() | 58 | 6 | 12 | |
display_limited_availability_ribbon_template() | 58 | 6 | 12 | |
get_low_stock_email_content() | 47 | 1 | 39 | |
should_show_low_stock_warning() | 65 | 3 | 8 | |
get_low_stock_status() | 65 | 3 | 8 | |
get_limited_availability_status() | 65 | 3 | 8 | |
__construct() | 65 | 1 | 8 | |
get_low_stock_text() | 74 | 1 | 4 |