Coverage report: 74%

Files Functions Classes

coverage.py v7.10.7, created at 2025-10-04 20:38 +0000

File statements missing excluded branches partial coverage
src/stable_yield_lab/__init__.py 17 0 0 0 0 100%
src/stable_yield_lab/analytics/__init__.py 2 0 0 0 0 100%
src/stable_yield_lab/analytics/attribution.py 140 36 0 46 15 67%
src/stable_yield_lab/analytics/metrics.py 115 21 0 40 9 77%
src/stable_yield_lab/analytics/performance.py 149 20 0 56 17 81%
src/stable_yield_lab/analytics/portfolio.py 92 15 0 30 10 80%
src/stable_yield_lab/analytics/risk.py 43 8 2 10 4 77%
src/stable_yield_lab/attribution.py 2 2 0 0 0 0%
src/stable_yield_lab/core/__init__.py 5 0 0 0 0 100%
src/stable_yield_lab/core/constants.py 3 0 0 0 0 100%
src/stable_yield_lab/core/models.py 29 0 0 0 0 100%
src/stable_yield_lab/core/repositories.py 44 3 0 14 2 91%
src/stable_yield_lab/metrics.py 2 2 0 0 0 0%
src/stable_yield_lab/performance.py 2 2 0 0 0 0%
src/stable_yield_lab/pipeline/__init__.py 43 0 0 12 2 96%
src/stable_yield_lab/portfolio.py 2 2 0 0 0 0%
src/stable_yield_lab/rebalance.py 86 86 0 28 0 0%
src/stable_yield_lab/reporting/__init__.py 218 42 0 86 20 74%
src/stable_yield_lab/risk_metrics.py 2 2 0 0 0 0%
src/stable_yield_lab/risk_scoring.py 23 0 2 0 0 100%
src/stable_yield_lab/sources/__init__.py 12 0 0 2 1 93%
src/stable_yield_lab/sources/base.py 16 1 0 2 1 89%
src/stable_yield_lab/sources/beefy.py 47 7 5 8 2 80%
src/stable_yield_lab/sources/csv.py 15 0 0 2 0 100%
src/stable_yield_lab/sources/defillama.py 38 6 5 8 1 80%
src/stable_yield_lab/sources/morpho.py 39 9 5 8 2 72%
src/stable_yield_lab/visualization/__init__.py 2 0 0 0 0 100%
src/stable_yield_lab/visualization/visualizer.py 162 18 2 72 29 80%
Total 1350 282 21 424 115 74%

No items found using the specified filter.