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

devhub-tud / devhub / 668 / 1
58%
master: 57%

Build:
Build:
LAST BUILD BRANCH: NotificationsDatabase
DEFAULT BRANCH: master
Ran 12 Jun 2016 02:30PM UTC
Files 146
Run time 5s
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

12 Jun 2016 02:18PM UTC coverage: 57.014% (+0.05%) from 56.966%
668.1

push

travis-ci

JWGmeligMeyling
Dependencies and configuration are provided on instance base, by dependency injection

This commit addresses issues related to static state. In Devhub we provide dependecies
through dependency injection. Static access is considered a bad practise. This commit
addresses that problem, and provides the `PegDownParser` and `MarkDownParser` by DI.

Concurrent access to the `PegDownParser` is prevented by binding it to the `RequestScope`.
No synchronized access is needed, so we keep our concurrency high.

As the `TemplateEngine` was accessed as a singleton, and it depends on the `PegDownParser`,
access to the `TemplateEngine` had to be transformed to `RequestScoped`, which is done
by using Guice `Providers`.

2662 of 4669 relevant lines covered (57.01%)

0.78 hits per line

Source Files on job 668.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 14
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 668
  • Travis Job 668.1
  • f440fb77 on github
  • Prev Job for on MarkdownRendering (#664.1)
  • Next Job for on MarkdownRendering (#671.1)
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