Demo: commit untested code #57
Open
UndercoverCI / coverage
failed
Jun 27, 2024 in 30s
Complete
🚨 UndercoverCI has detected 1 warning in this changeset.
Details
Revision 51b6a48
has modified the following 3 code locations. Results marked with
file | name | coverage | branches |
---|---|---|---|
app/controllers/application_controller.rb | check_cookie |
0.0 | 0/2 |
app/controllers/application_controller.rb | class ApplicationController |
0.625 | |
app/controllers/home_controller.rb | instance method index |
1.0 |
Annotations
Check warning on line 8 in app/controllers/application_controller.rb
undercoverci / coverage
Untested instance method
Instance method `check_cookie` is missing coverage for lines 3..4,7 (node coverage: 0.0).
Missing branch coverage found in line 3.
Raw output
2: def check_cookie hits: n/a
3: if params[:x] != ENV.fetch("CODE", "beta") hits: 0 branches: 0/2
4: redirect_to(bounce_home_index_url) and return hits: 0
5: end hits: n/a
6:
7: cookies[:beta_sign_in] = { value: 1, expires: 1.year } hits: 0
8: end hits: n/a
Loading