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

OneBusAway / watchdog
74%
main: 49%

Build:
Build:
LAST BUILD BRANCH: docs
DEFAULT BRANCH: main
Repo Added 18 Jan 2025 10:58PM UTC
Files 37
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

LAST BUILD ON BRANCH feat/increase-test-coverage-2
branch: feat/increase-test-coverage-2
CHANGE BRANCH
x
Reset
  • feat/increase-test-coverage-2
  • Improve-config-loading
  • aaronbrethorst-patch-1
  • bugfix/handle-nil-response
  • cache
  • ci
  • dh2
  • docker
  • docker-ci
  • docker-ci-redux
  • docker-hub
  • docs
  • feat/add-docker-compose-observability-stack
  • feat/exponential-backoff
  • feat/gtfs-bounding-box-validation
  • feat/healthcheck-endpoint
  • feat/increase-test-coverage
  • feat/speed-anomaly-metrics
  • feat/unmatched-stop-geo-clustering
  • feature/add-sentry-error-tracking
  • feature/docker-setup
  • feature/handle-auth-optional-in-gtfs-realtime
  • feature/matching-ratios-analysis
  • feature/vehicle-report-frequency
  • fix/dockerfile
  • improve-test-coverage
  • main
  • makefile
  • metrics/latlong
  • oba-metrics-api
  • refactor/app-service-injection
  • refactor/create-cache-dir-if-not-exist
  • refactor/gtfs-static-in-memory
  • refactor/minimal-gtfs-models
  • refactor/move-utils
  • refactor/reuse-http-client-realtime-store
  • refactor/support-mutliple-servers
  • refactor/use-helpers
  • security
  • test/integration
  • thread-safe-config
  • update/readme-dockerfile-config

07 Apr 2025 01:12AM UTC coverage: 74.051% (+9.7%) from 64.309%
14298885549

Pull #53

github

Abo-Omar-74
refactor(startMetricsCollection): extract metrics collection logic and add unit test for collectMetricsForServer

- Extract metrics collection into collectMetricsForServer.
- Add a basic unit test to verify the function collects metrics for a server and registers them with Prometheus, using a fresh registry to avoid conflicts.
Pull Request #53: refactor(main): extract helper functions and add comprehensive tests (#45)

54 of 83 new or added lines in 2 files covered. (65.06%)

3 existing lines in 1 file now uncovered.

468 of 632 relevant lines covered (74.05%)

0.82 hits per line

Relevant lines Covered
Build:
Build:
632 RELEVANT LINES 468 COVERED LINES
0.82 HITS PER LINE
Source Files on feat/increase-test-coverage-2
  • Tree
  • List 14
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
14298885549 feat/increase-test-coverage-2 refactor(startMetricsCollection): extract metrics collection logic and add unit test for collectMetricsForServer - Extract metrics collection into collectMetricsForServer. - Add a basic unit test to verify the function collects metrics for a serv... Pull #53 11 Apr 2025 03:26AM UTC Abo-Omar-74 github
74.05
See All Builds (190)
  • Repo on GitHub
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

© 2025 Coveralls, Inc