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

NZOI / nztrain / 14614203362
38%
master: 38%

Build:
Build:
LAST BUILD BRANCH: feature/subtask-scoring
DEFAULT BRANCH: master
Ran 23 Apr 2025 09:04AM UTC
Jobs 1
Files 143
Run time 1min
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

23 Apr 2025 09:00AM UTC coverage: 38.445% (+1.0%) from 37.437%
14614203362

Pull #291

github

bagedevimo
Remove unused actions on ContestRelationsController

Most of these actions were rendered unused in 2da020ef59c5, #destroy was
restored and #update_year_level added in 00c9636d1364. The rest of these
sections seem to be dead code, so lets remove them! Git history can
always bring them back as needed, but none of the code is particularly
interesting so it'd be easy to rewrite, anyway.

I've also specs to cover off the major functions of
contest_relations_controller, including some permission tests, and
ensured that there is at least a logged in user to slightly mitigate a
leak of information in the response differing between not_found and
unathorised on ContestRelation objects.
Pull Request #291: Remove unused actions on ContestRelationsController

7 of 8 new or added lines in 1 file covered. (87.5%)

2274 of 5915 relevant lines covered (38.44%)

5.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.48
90.48% app/controllers/contest_relations_controller.rb
Jobs
ID Job ID Ran Files Coverage
1 14614203362.1 23 Apr 2025 09:04AM UTC 143
38.44
GitHub Action Run
Source Files on build 14614203362
  • Tree
  • List 143
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14614203362
  • Pull Request #291
  • PR Base - master (#14556575112)
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