Coverage report: 97.67%

Files Functions Classes

coverage.py v7.6.3, created at 2024-10-17 17:18 +0200

File class statements missing excluded branches partial coverage
src/duty/cli.py _DebugInfo 3 0 0 0 0 100.00%
src/duty/cli.py (no class) 117 1 0 30 1 98.64%
src/duty/collection.py Duty 23 0 0 10 0 100.00%
src/duty/collection.py Collection 31 0 0 10 1 97.56%
src/duty/collection.py (no class) 25 0 0 0 0 100.00%
src/duty/context.py Context 33 2 0 8 1 92.68%
src/duty/context.py (no class) 15 0 2 0 0 100.00%
src/duty/debug.py Variable 0 0 0 0 0 100.00%
src/duty/debug.py Package 0 0 0 0 0 100.00%
src/duty/debug.py Environment 0 0 0 0 0 100.00%
src/duty/debug.py (no class) 63 4 0 10 2 91.78%
src/duty/decorator.py (no class) 37 0 3 12 2 95.92%
src/duty/exceptions.py DutyFailure 2 0 0 0 0 100.00%
src/duty/exceptions.py (no class) 2 0 0 0 0 100.00%
src/duty/validation.py ParamsCaster 23 1 0 12 1 94.29%
src/duty/validation.py (no class) 72 1 2 20 2 96.74%
tests/conftest.py (no class) 0 0 0 0 0 100.00%
tests/fixtures/arguments.py (no class) 4 0 0 0 0 100.00%
tests/fixtures/basic.py (no class) 4 0 0 0 0 100.00%
tests/fixtures/booleans.py (no class) 4 0 0 0 0 100.00%
tests/fixtures/code.py (no class) 4 0 0 0 0 100.00%
tests/fixtures/list.py (no class) 5 0 0 0 0 100.00%
tests/fixtures/multiple.py (no class) 7 0 0 0 0 100.00%
tests/fixtures/precedence.py (no class) 4 0 0 0 0 100.00%
tests/fixtures/validation.py (no class) 12 0 12 0 0 100.00%
tests/test_cli.py (no class) 79 0 0 0 0 100.00%
tests/test_collection.py (no class) 41 0 1 0 0 100.00%
tests/test_context.py (no class) 63 0 0 0 0 100.00%
tests/test_decorator.py (no class) 14 0 0 0 0 100.00%
tests/test_running.py (no class) 58 0 0 0 0 100.00%
tests/test_validation.py CustomType1 2 0 0 0 0 100.00%
tests/test_validation.py CustomType2 0 0 1 0 0 100.00%
tests/test_validation.py (no class) 42 2 0 0 0 95.24%
Total   789 11 21 112 10 97.67%

No items found using the specified filter.