From: mame@... Date: 2018-02-28T00:53:37+00:00 Subject: [ruby-core:85851] [Ruby trunk Feature#4095][Closed] C1 Coverage Issue #4095 has been updated by mame (Yusuke Endoh). Status changed from Feedback to Closed Branch coverage has been already implemented at #13901 and released in Ruby 2.5.0. Closing this ticket. Sorry for leaving it untouched. Of course, your contribution is welcome. You may want to read: https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute I'm unsure if these docs are good enough, though. ---------------------------------------- Feature #4095: C1 Coverage https://bugs.ruby-lang.org/issues/4095#change-70708 * Author: DanielHeath (Daniel Heath) * Status: Closed * Priority: Normal * Assignee: * Target version: ---------------------------------------- =begin The built-in coverage in Ruby 1.9 is great, but it only offers line-by-line coverage. It would be better if we could determine which parts of each line have been run e.g: # File 'coverage_example.rb' true ? 'always run' : 'never run' Coverage would return: {'coverage_example.rb' => [ { 0..28 => 1 }, { 0..21 => 1, 22..33 => 0 } ] } =end -- https://bugs.ruby-lang.org/ Unsubscribe: