Total Complexity | 21 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 94 |
Lines of code | 71 |
Logical lines of code | 43 |
Comment lines | 0 |
Methods | 10 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
render_preview() | 60 | 3 | 12 | |
preview() | 72 | 3 | 5 | |
enqueue_scripts() | 67 | 3 | 7 | |
get_instance() | 71 | 2 | 6 | |
bottomBlock() | 64 | 2 | 10 | |
stockLeft() | 68 | 2 | 7 | |
elapsedTime() | 68 | 2 | 7 | |
dismissButton() | 67 | 2 | 7 | |
__construct() | 75 | 1 | 4 | |
formattedMessage() | 70 | 1 | 6 |