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

OpenConext / OpenConext-engineblock-metadata / 132 / 1
52%
master: 52%

Build:
DEFAULT BRANCH: master
Ran 26 Jan 2018 04:16PM UTC
Files 45
Run time 2s
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

26 Jan 2018 04:13PM UTC coverage: 51.985% (+0.4%) from 51.581%
EXECUTE_COVERAGE=true

Pull #20

travis-ci

web-flow
Allow caching all database queries for the lifetime of a request

This commit introduces a new metadata repository as an alternative to
the regular doctrine metadata repository. It wraps the regular
doctrine metadata repository but caches the result of each distinct
query for the request lifetime. This mechanism is safe to use for
EngineBlock since it doesn't write metadata, and we're not concerned
with metadata updates during an authentication request.

In test cases, using the caching wrapper reduces the number of queries
during a single authentication request from approximately 40 to 15.

In order to use this new repository in EngineBlock, replace the
following line in engineblock.ini:

    metadataRepository.database.type = Doctrine

With:

    metadataRepository.database.type = CachedDoctrine
Pull Request #20: Allow caching all database queries for the lifetime of a request

956 of 1839 relevant lines covered (51.98%)

2.91 hits per line

Source Files on job 132.1 (EXECUTE_COVERAGE=true)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 132
  • Travis Job 132.1
  • e0e86a9f on github
  • Prev Job for EXECUTE_COVERAGE=true on master (#122.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