django-shop coverage report: 36.17%
Files Functions Classes
coverage.py v7.13.5, created at 2026-03-27 14:07 -0700
coverage.py v7.13.5, created at 2026-03-27 14:07 -0700
| Statements | Branches | Total | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| File | function | coverage | statements | missing | excluded | coverage | branches | partial | coverage | |||
| cart / admin.py | (no function) | 100.00% | 0 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / apps.py | (no function) | 100.00% | 4 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / cart.py | Cart.__init__ | 0.00% | 5 | 5 | 0 | 0.00% | 2 | 0 | 0.00% | |||
| cart / cart.py | Cart.__iter__ | 0.00% | 9 | 9 | 0 | 0.00% | 4 | 0 | 0.00% | |||
| cart / cart.py | Cart.__len__ | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / cart.py | Cart.add | 0.00% | 7 | 7 | 0 | 0.00% | 4 | 0 | 0.00% | |||
| cart / cart.py | Cart.save | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / cart.py | Cart.remove | 0.00% | 4 | 4 | 0 | 0.00% | 2 | 0 | 0.00% | |||
| cart / cart.py | Cart.clear | 0.00% | 2 | 2 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / cart.py | Cart.get_total_price | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / cart.py | (no function) | 0.00% | 12 | 12 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / forms.py | (no function) | 0.00% | 5 | 5 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / models.py | (no function) | 100.00% | 0 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_forms.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_forms.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_models.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_models.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_urls.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_urls.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_views.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / tests / test_views.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| cart / urls.py | (no function) | 0.00% | 4 | 4 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / views.py | cart_add | 0.00% | 7 | 7 | 0 | 0.00% | 2 | 0 | 0.00% | |||
| cart / views.py | cart_remove | 0.00% | 4 | 4 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / views.py | cart_detail | 0.00% | 2 | 2 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| cart / views.py | (no function) | 0.00% | 10 | 10 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| config / test.py | (no function) | 100.00% | 5 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| config / urls.py | (no function) | 0.00% | 7 | 7 | 1 | 100.00% | 0 | 0 | 0.00% | |||
| shop / admin.py | (no function) | 100.00% | 12 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / apps.py | (no function) | 100.00% | 4 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / models.py | Category.__str__ | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| shop / models.py | Category.get_absolute_url | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| shop / models.py | Product.__str__ | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| shop / models.py | Product.get_absolute_url | 0.00% | 1 | 1 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| shop / models.py | (no function) | 100.00% | 27 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_forms.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_forms.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_models.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_models.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_urls.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_urls.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_views.py | test_placeholder | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / tests / test_views.py | (no function) | 100.00% | 1 | 0 | 0 | 100.00% | 0 | 0 | 100.00% | |||
| shop / urls.py | (no function) | 0.00% | 4 | 4 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| shop / views.py | product_list | 0.00% | 7 | 7 | 0 | 0.00% | 2 | 0 | 0.00% | |||
| shop / views.py | product_detail | 0.00% | 3 | 3 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| shop / views.py | (no function) | 0.00% | 5 | 5 | 0 | 100.00% | 0 | 0 | 0.00% | |||
| Total | 39.53% | 172 | 104 | 1 | 0.00% | 16 | 0 | 36.17% | ||||
No items found using the specified filter.