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

CBIIT / crdc-ctdc-ui / 30488199209

29 Jul 2026 08:22PM UTC coverage: 7.114% (-0.006%) from 7.12%
30488199209

push

github

adamdaventryGov
Refactor stats fetching and add study query

Move dispatch out of selector and always refresh global stats from the shared controller to avoid leaking scoped/stale values between routes. Update StatsState: fetchStats now dispatches REQUEST_STATS and returns the query promise; fetchDataForStats accepts an options.force flag to bypass caching logic; REQUEST_STATS sets isLoading and clears data. Remove study_short_name from the global stats GraphQL query and add a new STUDY_DETAIL_STATS_QUERY used by the page-specific controller (import gql and query study-specific counts instead of using the global query).

131 of 3178 branches covered (4.12%)

Branch coverage included in aggregate %.

0 of 12 new or added lines in 3 files covered. (0.0%)

403 of 4328 relevant lines covered (9.31%)

1.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/Stats/AllStatsController.js


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc