[ruby-cvs:66916] mame:r59738 (trunk): Refactor the internal data format for coverage measurement

mame at ruby-lang.org mame at ruby-lang.org
Sun Sep 3 23:26:07 JST 2017


mame	2017-09-03 23:26:06 +0900 (Sun, 03 Sep 2017)

  New Revision: 59738

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59738

  Log:
    Refactor the internal data format for coverage measurement
    
    To prepare new measuring targets: branch and method coverages.
    So far, iseq->coverage was an array of counts executed for line coverage.
    Now, it is a three-element array for each measuring target,
    whose first element is an array for line coverage.
    The second element is planned for branch coverage, and the third will be
    for method coverage.

  Modified files:
    trunk/compile.c
    trunk/ext/coverage/coverage.c
    trunk/internal.h
    trunk/iseq.h
    trunk/parse.y
    trunk/thread.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list