From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id E73C917D608D for ; Fri, 7 Mar 2014 19:48:35 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id F1550B5D8DA for ; Fri, 7 Mar 2014 19:43:47 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 3471A97A83A for ; Fri, 7 Mar 2014 19:43:50 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ry3x-uzeTqpf for ; Fri, 7 Mar 2014 19:43:50 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 1433497A82C for ; Fri, 7 Mar 2014 19:43:50 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 623A195241B for ; Fri, 7 Mar 2014 19:43:47 +0900 (JST) Received: from [221.186.184.76] (unknown [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 4E50B1206A0; Fri, 7 Mar 2014 19:43:40 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by neon.ruby-lang.org (Postfix) with ESMTP id C3785120672 for ; Fri, 7 Mar 2014 19:43:33 +0900 (JST) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0C6302094B; Fri, 7 Mar 2014 10:43:33 +0000 (UTC) Date: Fri, 7 Mar 2014 10:43:32 +0000 From: Eric Wong To: Ruby developers Message-ID: <20140307104332.GA17720@dcvr.yhbt.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-ML-Name: ruby-core X-Mail-Count: 61364 Subject: [ruby-core:61364] Re: [ruby-trunk - Feature #9508] Add method coverage and branch coverage metrics X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" sam.rawlins@gmail.com wrote: > Hi Eric, thanks for that test. It revealed my poor choice for `#define > RUBY_EVENT_MCOVERAGE 0x040000` (`RUBY_INTERNAL_EVENT_SWITCH` is the > same). I've updated my pull request with better choices in > `include/ruby/ruby.h`: https://github.com/ruby/ruby/pull/511.patch Thanks Sam, works for me! I'll try to play with it more next week. (and maybe extract the dtas/yahns coverage hack into its own gem for GUI-phobes like myself) I'll let mame answer your design question.