Coverage report: 78%

Files Functions Classes

coverage.py v7.13.0, created at 2026-01-25 14:26 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
dibbler / models / Base.py _pascal_case_to_snake_case   100% 1 0 0   100% 0 0   100%
dibbler / models / Base.py Base.__tablename__   50% 4 2 0   50% 2 1   50%
dibbler / models / Base.py Base.__repr__   100% 2 0 0   100% 0 0   100%
dibbler / models / Base.py (no function)   100% 9 0 0   100% 0 0   100%
dibbler / models / LastCacheTransaction.py (no function)   100% 12 0 2   100% 0 0   100%
dibbler / models / Product.py Product.__init__   100% 3 0 0   100% 0 0   100%
dibbler / models / Product.py (no function)   100% 15 0 0   100% 0 0   100%
dibbler / models / ProductCache.py (no function)   100% 14 0 2   100% 0 0   100%
dibbler / models / Transaction.py _transaction_type_field_constraints   100% 2 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.__init__   100% 16 0 0   100% 2 0   100%
dibbler / models / Transaction.py Transaction._validate_by_transaction_type   67% 12 4 0   71% 14 4   69%
dibbler / models / Transaction.py Transaction.__repr__   100% 3 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.adjust_balance   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.adjust_interest   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.adjust_penalty   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.adjust_stock   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.add_product   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.buy_product   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.joint   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.joint_buy_product   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.transfer   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py Transaction.throw_product   100% 1 0 0   100% 0 0   100%
dibbler / models / Transaction.py (no function)   100% 80 0 3   100% 0 0   100%
dibbler / models / TransactionType.py TransactionType.as_literal_column   100% 2 0 0   100% 0 0   100%
dibbler / models / TransactionType.py (no function)   100% 15 0 0   100% 0 0   100%
dibbler / models / User.py User.__init__   100% 3 0 0   100% 0 0   100%
dibbler / models / User.py (no function)   100% 15 0 0   100% 0 0   100%
dibbler / models / UserCache.py (no function)   100% 13 0 2   100% 0 0   100%
dibbler / models / __init__.py (no function)   100% 9 0 0   100% 0 0   100%
dibbler / queries / __init__.py (no function)   100% 24 0 0   100% 0 0   100%
dibbler / queries / add_product.py add_product   0% 16 16 0   0% 12 0   0%
dibbler / queries / add_product.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / adjust_balance.py adjust_balance   0% 8 8 0   0% 4 0   0%
dibbler / queries / adjust_balance.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / adjust_interest.py adjust_interest   100% 8 0 0   100% 4 0   100%
dibbler / queries / adjust_interest.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / adjust_penalty.py adjust_penalty   100% 16 0 0   100% 12 0   100%
dibbler / queries / adjust_penalty.py (no function)   100% 5 0 0   100% 0 0   100%
dibbler / queries / adjust_stock.py adjust_stock   0% 10 10 0   0% 6 0   0%
dibbler / queries / adjust_stock.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / affected_products.py affected_products   64% 28 10 0   59% 22 7   62%
dibbler / queries / affected_products.py (no function)   100% 6 0 0   100% 0 0   100%
dibbler / queries / affected_users.py affected_users   64% 28 10 0   59% 22 7   62%
dibbler / queries / affected_users.py (no function)   100% 6 0 0   100% 0 0   100%
dibbler / queries / buy_product.py buy_product   0% 10 10 0   0% 6 0   0%
dibbler / queries / buy_product.py (no function)   0% 4 4 0   100% 0 0   0%
dibbler / queries / create_product.py create_product   0% 8 8 0   0% 4 0   0%
dibbler / queries / create_product.py (no function)   100% 3 0 0   100% 0 0   100%
dibbler / queries / create_user.py create_user   0% 6 6 0   0% 2 0   0%
dibbler / queries / create_user.py (no function)   100% 3 0 0   100% 0 0   100%
dibbler / queries / current_interest.py current_interest   60% 15 6 0   50% 12 4   56%
dibbler / queries / current_interest.py (no function)   100% 7 0 0   100% 0 0   100%
dibbler / queries / current_penalty.py current_penalty   67% 15 5 0   50% 10 3   60%
dibbler / queries / current_penalty.py (no function)   100% 7 0 0   100% 0 0   100%
dibbler / queries / joint_buy_product.py joint_buy_product   100% 22 0 0   100% 14 0   100%
dibbler / queries / joint_buy_product.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / product_owners.py _product_owners_query   74% 19 5 0   42% 12 5   61%
dibbler / queries / product_owners.py product_owners_log   71% 7 2 0   50% 4 2   64%
dibbler / queries / product_owners.py product_owners   95% 19 1 0   92% 12 1   94%
dibbler / queries / product_owners.py (no function)   100% 15 0 0   100% 0 0   100%
dibbler / queries / product_price.py _product_price_query   79% 19 4 0   67% 12 4   74%
dibbler / queries / product_price.py product_price_log   71% 7 2 0   50% 4 2   64%
dibbler / queries / product_price.py product_price   82% 17 3 0   75% 12 3   79%
dibbler / queries / product_price.py (no function)   100% 16 0 0   100% 0 0   100%
dibbler / queries / product_stock.py _product_stock_query   93% 15 1 0   83% 12 2   89%
dibbler / queries / product_stock.py product_stock   100% 5 0 0   100% 2 0   100%
dibbler / queries / product_stock.py (no function)   100% 8 0 0   100% 0 0   100%
dibbler / queries / query_helpers.py const   100% 1 0 0   100% 0 0   100%
dibbler / queries / query_helpers.py until_filter   82% 11 2 0   75% 8 2   79%
dibbler / queries / query_helpers.py after_filter   73% 11 3 0   62% 8 3   68%
dibbler / queries / query_helpers.py (no function)   100% 19 0 0   100% 0 0   100%
dibbler / queries / search_product.py search_product   100% 7 0 0   100% 4 0   100%
dibbler / queries / search_product.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / search_user.py search_user   100% 8 0 0   100% 4 0   100%
dibbler / queries / search_user.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / throw_product.py throw_product   0% 7 7 0   0% 6 0   0%
dibbler / queries / throw_product.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / transaction_log.py transaction_log   100% 78 0 0   100% 62 0   100%
dibbler / queries / transaction_log.py (no function)   100% 5 0 0   100% 0 0   100%
dibbler / queries / transfer.py transfer   0% 10 10 0   0% 6 0   0%
dibbler / queries / transfer.py (no function)   100% 4 0 0   100% 0 0   100%
dibbler / queries / update_cache.py update_cache   97% 30 1 0   81% 16 3   91%
dibbler / queries / update_cache.py (no function)   100% 9 0 0   100% 0 0   100%
dibbler / queries / user_balance.py _joint_transaction_query   89% 9 1 0   75% 4 1   85%
dibbler / queries / user_balance.py _non_joint_transaction_query   86% 7 1 0   75% 4 1   82%
dibbler / queries / user_balance.py _product_cost_expression   100% 2 0 0   100% 0 0   100%
dibbler / queries / user_balance.py _user_balance_query   100% 10 0 0   50% 4 2   86%
dibbler / queries / user_balance.py UserBalanceLogEntry.is_penalized   0% 1 1 0   100% 0 0   0%
dibbler / queries / user_balance.py user_balance_log   73% 11 3 0   62% 8 3   68%
dibbler / queries / user_balance.py user_balance   73% 11 3 0   62% 8 3   68%
dibbler / queries / user_balance.py (no function)   100% 24 0 0   100% 0 0   100%
dibbler / queries / user_products.py user_products   0% 12 12 0   0% 10 0   0%
dibbler / queries / user_products.py (no function)   100% 5 0 0   100% 0 0   100%
Total     83% 966 161 9   65% 370 63   78%

No items found using the specified filter.