• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

0x5chn0uf / SmartWalletFX / 16448672151
86%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2025 03:30PM UTC
Jobs 1
Files 100
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2025 03:25PM UTC coverage: 92.742% (+0.8%) from 91.955%
16448672151

push

github

web-flow
feat: refactor FastAPI application to use dependency injection singletons (#58)

* clean up unused code and scripts (#30)

* feat: implement phase 1 core infrastructure classes

- transform Settings into ConfigurationService with convenience properties
- create DatabaseService with explicit dependency injection
- implement comprehensive DIContainer for singleton management
- add comprehensive test suite for phase 1 components
- establish foundation for repository and usecase refactoring

* feat: implement phase 3 usecase singleton refactoring

- refactor all 8 usecases to use explicit dependency injection
- EmailVerificationUsecase: comprehensive audit logging and error handling
- WalletUsecase: user parameter injection and improved error handling
- OAuthUsecase: configuration service injection and audit logging
- TokenPriceUsecase: simplified with dependency injection pattern
- TokenUsecase: simplified with dependency injection pattern
- TokenBalanceUsecase: simplified with dependency injection pattern
- HistoricalBalanceUsecase: simplified with dependency injection pattern
- PortfolioSnapshotUsecase: restored timeline functionality with proper schemas
- register all usecases as singletons in DIContainer
- add comprehensive tests for repository and usecase registration
- maintain backward compatibility where needed
- all 14 tests passing with improved coverage

* feat: implement phase 3 usecase singleton refactoring

- refactor all 8 usecases to use explicit dependency injection
- EmailVerificationUsecase: comprehensive audit logging and error handling
- WalletUsecase: user parameter injection and improved error handling
- OAuthUsecase: configuration service injection and audit logging
- TokenPriceUsecase: simplified with dependency injection pattern
- TokenUsecase: simplified with dependency injection pattern
- TokenBalanceUsecase: simplified with dependency injection pattern
- HistoricalBalanceUsecase: simplified with dependency injection pattern
-... (continued)

3923 of 4230 relevant lines covered (92.74%)

0.93 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.78
32.06% app/api/endpoints/users.py
1
95.0
0.26% app/models/user.py
1
96.15
-0.4% app/models/wallet.py
2
99.16
-0.84% app/di.py
3
97.14
33.84% app/api/endpoints/auth.py
3
94.64
17.19% app/api/endpoints/wallets.py
3
91.67
0.42% app/core/config.py
3
97.6
-2.4% app/repositories/portfolio_snapshot_repository.py
3
94.34
-3.03% app/utils/jwt_keys.py
4
91.84
0.73% app/api/endpoints/jwks.py
4
92.31
-7.69% app/core/middleware.py
10
87.01
-12.99% app/main.py
10
86.84
-8.77% app/utils/logging.py
13
83.12
-16.88% app/utils/jwks_cache.py
17
86.05
-7.34% app/utils/jwt.py
189
14.98
-76.01% app/api/endpoints/defi.py
Jobs
ID Job ID Ran Files Coverage
1 16448672151.1 22 Jul 2025 03:31PM UTC 100
92.74
GitHub Action Run
Source Files on build 16448672151
  • Tree
  • List 100
  • Changed 53
  • Source Changed 0
  • Coverage Changed 53
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d46529eb on github
  • Prev Build on main (#16163398310)
  • Next Build on main (#16542059596)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc