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

pulibrary / tigerdata-app / 7ab9089e-7ed5-4c90-9855-9749cfbe2d27

13 Nov 2025 02:38PM UTC coverage: 87.508% (-0.9%) from 88.421%
7ab9089e-7ed5-4c90-9855-9749cfbe2d27

push

circleci

web-flow
Show the status of our java plugin (#2175)

Ref #2166

<img width="1262" height="486" alt="Screenshot 2025-11-10 at 11 22
04 AM"
src="https://github.com/user-attachments/assets/d9132f9a-f0e1-4e15-ac53-3336a48f77f4"
/>

---------

Co-authored-by: Hector Correa <hector_correa@princeton.edu>

5 of 7 new or added lines in 1 file covered. (71.43%)

557 existing lines in 36 files now uncovered.

2760 of 3154 relevant lines covered (87.51%)

362.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/jobs/request_cleanup_job.rb
1
# frozen_string_literal: true
UNCOV
2
class RequestCleanupJob < ApplicationJob
1✔
UNCOV
3
  queue_as :default
1✔
4

UNCOV
5
  def perform
1✔
6
    # Destroy every request in the database that is not valid to submit and has 6 or more errors
UNCOV
7
    Request.where.not(state: Request::SUBMITTED).each do |request|
3✔
8
      # check if the request has not been updated within 24 hours
UNCOV
9
      next unless request.updated_at < 24.hours.ago
2✔
UNCOV
10
      next if request.valid_title?
2✔
UNCOV
11
      request.valid_to_submit?
1✔
12
      # 6 errors is arbitrary, but it is the number of manditory fields (excluding pre-populated fields) in the request form
UNCOV
13
      if request.errors.count >= 6
1✔
UNCOV
14
        request.destroy
1✔
UNCOV
15
      end
UNCOV
16
    end
UNCOV
17
  end
UNCOV
18
end
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