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

pulibrary / orangelight / 68f73718-8b3c-4b64-9464-233d807f755d
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: memoize-for-advanced
DEFAULT BRANCH: main
Ran 23 Oct 2025 12:25AM UTC
Jobs 1
Files 221
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 Oct 2025 12:20AM UTC coverage: 95.275%. Remained the same
68f73718-8b3c-4b64-9464-233d807f755d

Pull #5254

circleci

sandbergja
Refactor: move Requestable creation out of Requests::Form

Prior to this commit, one of the Form class' many
responsibilities was to create many of the
Requestable instances needed by the Requests system.
It created four different kinds of Requestable, and
it was hard to trace the logic throughout the Form
class for each one of those four paths.

This commit takes a different approach: introducing
a factory class named RequestablesList, which
determines what type of Requestable to create,
then delegates the creation to one of four smaller
factories: AlmaItemsFactory, ScsbItemsFactory,
NoItemsFactory, and TooManyItemsFactory.
Pull Request #5254: Refactor: move Requestable creation out of Requests::Form

160 of 164 new or added lines in 7 files covered. (97.56%)

1 existing line in 1 file now uncovered.

6150 of 6455 relevant lines covered (95.27%)

1498.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.28
app/models/requests/requestables_list/alma_items_factory.rb
3
91.89
app/models/requests/requestables_list.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.96
-0.63% app/models/requests/form.rb
Jobs
ID Job ID Ran Files Coverage
1 68f73718-8b3c-4b64-9464-233d807f755d.1 23 Oct 2025 12:25AM UTC 221
95.27
Source Files on build 68f73718-8b3c-4b64-9464-233d807f755d
  • Tree
  • List 221
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #68F73718...
  • Pull Request #5254
  • PR Base - main (#5A8E378A...)
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