Total Complexity | 30 |
Dependencies | 4 |
Dependents | 15 |
Total lines | 154 |
Lines of code | 113 |
Logical lines of code | 67 |
Comment lines | 1 |
Methods | 8 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_random_product() | 46 | 8 | 38 | |
preload_by_ids() | 57 | 7 | 15 | |
_load() | 60 | 5 | 14 | |
get_by_id() | 61 | 3 | 14 | |
get_without_loading() | 60 | 3 | 14 | |
_persist() | 66 | 2 | 9 | |
init_from_stdclass() | 71 | 1 | 6 | |
_get_from_cache() | 80 | 1 | 3 |