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

mysociety / alaveteli / 2558
88%
develop: 37%

Build:
Build:
LAST BUILD BRANCH: redelivery-cleanup
DEFAULT BRANCH: develop
Ran 29 May 2015 01:39PM UTC
Jobs 2
Files 116
Run time 2min
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

pending completion
2558

Pull #2505

travis-ci

garethrees
Avoid loading associations to check existence

Calling InfoRequestEvent#is_X? loads the associated model from the
database. We don't need to do this to check what 'type' the event is.

This commit first checks whether there is an association_id – if there
is then we know it's that 'type'. If there's no association_id, call the
association to check whether one has been added but not yet persisted.
Pull Request #2505: [#2288] public body page performance

18 of 18 new or added lines in 5 files covered. (100.0%)

6199 of 7043 relevant lines covered (88.02%)

331.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
app/controllers/public_body_controller.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
app/controllers/public_body_controller.rb
6
100.0
app/models/public_body.rb
Jobs
ID Job ID Ran Files Coverage
2 2558.2 (1.9.3) 29 May 2015 01:42PM UTC 0
88.06
Travis Job 2558.2
3 2558.3 (2.0.0) 29 May 2015 01:39PM UTC 0
88.02
Travis Job 2558.3
Source Files on build 2558
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2558
  • Pull Request #2505
  • PR Base - rails-3-develop (#2554)
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