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

NZOI / nztrain / 14556569562
38%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2025 05:54AM 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

20 Apr 2025 05:52AM UTC coverage: 37.437% (-0.07%) from 37.506%
14556569562

push

github

web-flow
Remove caching from controller permitted_params etc. (#289)

We don't call these methods multiple times during a single request, so
there is no point in caching the result. (The example from the
original strong_parameters gem doesn't use caching:
https://github.com/rails/strong_parameters.)

This also eliminates silly inconsistencies with what was cached -- in
some places it was @_permitted_params, while in other places it was
the intermediate @_permitted_attributes.

Also remove method `visible_attributes` from user_controller.rb, it's
unused since commit 8798951a (Refactor to remove the UserPresenter
service object (#165), 2023-02-18).

32 of 51 new or added lines in 16 files covered. (62.75%)

4 existing lines in 4 files now uncovered.

2241 of 5986 relevant lines covered (37.44%)

5.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% app/controllers/accounts/settings_controller.rb
2
0.0
0.0% app/controllers/contest_relations_controller.rb
2
0.0
0.0% app/controllers/contest_supervisors_controller.rb
2
0.0
0.0% app/controllers/schools_controller.rb
2
16.28
0.37% app/controllers/test_cases_controller.rb
2
18.75
0.38% app/controllers/test_sets_controller.rb
3
44.59
0.59% app/controllers/submissions_controller.rb
4
27.66
0.58% app/controllers/file_attachments_controller.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% app/controllers/accounts/settings_controller.rb
1
0.0
0.0% app/controllers/contest_relations_controller.rb
1
0.0
0.0% app/controllers/contest_supervisors_controller.rb
1
0.0
0.0% app/controllers/schools_controller.rb
Jobs
ID Job ID Ran Files Coverage
1 14556569562.1 20 Apr 2025 05:54AM UTC 143
37.44
GitHub Action Run
Source Files on build 14556569562
  • Tree
  • List 143
  • Changed 16
  • Source Changed 16
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14556569562
  • bbe85ba4 on github
  • Prev Build on master (#14556566267)
  • Next Build on 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

© 2025 Coveralls, Inc