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

akvo / agriconnect / #80
91%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2025 09:37AM UTC
Jobs 1
Files 36
Run time 3min
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

07 Oct 2025 09:36AM UTC coverage: 80.607%. Remained the same
#80

push

github

dedenbangkit
[#21] APP: fix(database): resolve SQLite NullPointerException by implementing single connection architecture

- Root cause: Multiple concurrent database connections causing race conditions
- Created database context hook (useDatabase) to access SQLiteProvider instance
- Refactored DAOManager to accept database instance instead of creating new connections
- Updated AuthContext to use database from context with useMemo
- Modified all utility functions to accept database parameter
- Updated migrateDbIfNeeded to use provided database instance
- Removed all direct openDatabaseSync() calls throughout the app
- Updated DAO and database documentation with best practices

The app now uses a single database connection managed by SQLiteProvider,
preventing java.lang.NullPointerException errors during database operations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

259 of 378 branches covered (68.52%)

Branch coverage included in aggregate %.

1574 of 1896 relevant lines covered (83.02%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #80.1 07 Oct 2025 09:37AM UTC 36
80.61
Source Files on build #80
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a8929590 on github
  • Prev Build on main
  • Next Build on main
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