Ran
|
Files
12
|
Run time
1s
|
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
383 of 402 relevant lines covered (95.27%)
79.24 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
40.0 | lib/better_errors/rails.rb | 28 - 574 | 15 - 172 | 6 - 45 | 9 - 127 | 1.0 | |
92.86 | lib/better_errors/repl.rb | 32 - 441 | 14 - 352 | 13 - 59 | 1 - 293 | 1.0 | |
93.62 | lib/better_errors.rb | 154 + 138 | 47 + 36 | 44 + 40 | 3 - 4 | 12.0 + 11 | |
95.89 | lib/better_errors/error_page.rb | 142 - 30 | 73 - 26 | 70 + 54 | 3 - 80 | 8.0 + 7 | |
97.14 | lib/better_errors/stack_frame.rb | 130 + 86 | 70 + 53 | 68 + 53 | 2 | 314.0 - 20 | |
98.63 | lib/better_errors/middleware.rb | 174 + 113 | 73 + 49 | 72 + 67 | 1 - 18 | 5.0 + 4 | |
100.0 | lib/better_errors/exception_extension.rb | 17 - 3 | 9 + 1 | 9 + 7 | 0 - 6 | 276.0 + 275 | |
100.0 | lib/better_errors/raised_exception.rb | 68 + 39 | 37 + 18 | 37 + 32 | 0 - 14 | 137.0 + 136 | |
100.0 | lib/better_errors/code_formatter/text.rb | 14 - 6 | 7 - 7 | 7 + 3 | 0 - 10 | 16.0 + 15 | |
100.0 | lib/better_errors/repl/basic.rb | 20 + 13 | 11 + 7 | 11 + 7 | 0 | 2.0 + 1.0 |