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

MushroomObserver / mushroom-observer / 16102080899

06 Jul 2025 06:43PM UTC coverage: 94.814% (-0.01%) from 94.828%
16102080899

Pull #3069

github

JoeCohen
Remove unreachable code

At this point in the flow, there will always be a Naming for the Observation.name
Because `create_observation` called
`add_naming_with_vote(name: @observation.name, user: naming_user)`

Therefore the local variable `naming` will never be nil.

This code is an artifact of more complicated code, since refactored, where `naming` could be nil.
Pull Request #3069: InatImportJob coverage

6 of 6 new or added lines in 1 file covered. (100.0%)

9 existing lines in 2 files now uncovered.

34351 of 36230 relevant lines covered (94.81%)

518.14 hits per line

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

84.62
/app/views/controllers/glossary_terms/_form.html.erb


Source Not Available

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