Ran
|
Files
11
|
Run time
0s
|
Badge
README BADGES
|
travis-ci
Rescue on undefined local variables in frame_binding For example, I see errors on local variables: `m`, `args`, `block`, `r`, and `target` when inspecting an error on a class that inherits from SimpleDelegator. Fix: Add a rescue on NameError to catch these. Fixes issue: https://github.com/charliesome/better_errors/issues/351 Inspiration for this fix comes from @glebtv in https://github.com/glebtv/better_errors/commit/6d00365df
376 of 386 relevant lines covered (97.41%)
82.65 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
92.86 | lib/better_errors/repl.rb | 32 + 23 | 14 + 10 | 13 + 11 | 1 - 1 | 1.0 | |
93.62 | lib/better_errors.rb | 154 + 42 | 47 - 65 | 44 + 44 | 3 - 109 | 12.0 + 12 | |
95.89 | lib/better_errors/error_page.rb | 142 + 109 | 73 + 52 | 70 + 49 | 3 + 3 | 8.0 - 66 | |
97.14 | lib/better_errors/stack_frame.rb | 130 + 12 | 70 + 6 | 68 + 5 | 2 + 1 | 314.0 - 25 | |
98.61 | lib/better_errors/middleware.rb | 174 | 72 | 71 | 1 | 6.0 | |
100.0 | lib/better_errors/code_formatter/html.rb | 26 - 43 | 14 - 55 | 14 + 14 | 0 - 69 | 26.0 + 26 | |
100.0 | lib/better_errors/raised_exception.rb | 68 - 36 | 37 - 10 | 37 + 7 | 0 - 17 | 137.0 + 125 | |
100.0 | lib/better_errors/exception_extension.rb | 17 | 9 | 9 | 0 | 276.0 - 49 | |
100.0 | lib/better_errors/repl/basic.rb | 20 + 14 | 11 + 7 | 11 + 9 | 0 - 2 | 2.0 + 1.0 | |
100.0 | lib/better_errors/code_formatter/text.rb | 14 | 7 | 7 | 0 | 16.0 |