Ruby, Rubocop, Software Metrics, Ruby on Rails, Software Development.
rescue occurrences together are considered one decision point. begin # decision points = 1 foobar rescue FooException => e log_foo e rescue BarException => e log_bar e else :baz ensure :qux end # (kwbegin # (ensure # (rescue # (send nil :foobar) # (resbody # (array # (const nil :FooException)) --