loading
Generated 2026-03-17T21:42:24+01:00

All Files ( 100.0% covered at 1.38 hits/line )

1 files in total.
8 relevant lines, 8 lines covered and 0 lines missed. ( 100.0% )
6 total branches, 4 branches covered and 2 branches missed. ( 66.67% )
File % covered Lines Relevant Lines Lines covered Lines missed Avg. Hits / Line Branch Coverage Branches Covered branches Missed branches
line_coverage/application_fund_review.rb 100.00 % 12 8 8 0 1.38 66.67 % 6 4 2

line_coverage/application_fund_review.rb

100.0% lines covered

66.67% branches covered

8 relevant lines. 8 lines covered and 0 lines missed.
6 total branches, 4 branches covered and 2 branches missed.
    
  1. 1 Application = Struct.new(:founders_hustling?, :grinding_mode)
  2. 1 def millions_to_invest(application)
  3. 2 then: 1 if application.grinding_mode == :performative
  4. 1 else: 1 count = 2
  5. 1 then: 1 else: 0 elsif application.grinding_mode == :real
  6. 1 count = 1
  7. end
  8. 2 then: 2 else: 0 count += 2 if application.founders_hustling?
  9. 2 count
  10. end