1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool
mame 0a6816ecd7 Revamp method coverage to support define_method
Traditionally, method coverage measurement was implemented by inserting
`trace2` instruction to the head of method iseq.  So, it just measured
methods defined by `def` keyword.

This commit drastically changes the measuring mechanism of method
coverage; at `RUBY_EVENT_CALL`, it keeps a hash from rb_method_entry_t*
to runs (i.e., it counts the runs per method entry), and at
`Coverage.result`, it creates the result hash by enumerating all
`rb_method_entry_t*` objects (by `ObjectSpace.each_object`).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-05 07:16:42 +00:00
..
test
asm_parse.rb
bisect.sh
build-transcode
change_maker.rb
checksum.rb
colorize.rb distinguish pass and fail by highlight [ci skip] 2017-10-14 02:17:07 +00:00
downloader.rb
enc-emoji-citrus-gen.rb
enc-emoji4unicode.rb
enc-unicode.rb fix for emoji-data.txt 2017-12-02 03:12:51 +00:00
eval.rb
expand-config.rb
extlibs.rb
fake.rb
fetch-bundled_gems.rb test-bundled-gems-fetch 2017-10-25 23:35:46 +00:00
file2lastrev.rb
gem-unpack.rb
gen_dummy_probes.rb
gen_ruby_tapset.rb
generate-backport-changelog.rb
generic_erb.rb generic_erb.rb: -i option 2017-10-01 02:39:22 +00:00
git-refresh
id2token.rb
ifchange distinguish pass and fail by highlight [ci skip] 2017-10-14 02:17:07 +00:00
insns2vm.rb
install-sh
instruction.rb remove trace instruction. [Feature #14104] 2017-11-14 12:58:36 +00:00
jisx0208.rb
make-snapshot Fixed conflicted variables. v is already used another condition. 2017-10-25 06:58:24 +00:00
make_hgraph.rb
mdoc2man.rb
merger.rb
mk_call_iseq_optimized.rb mk_call_iseq_optimized.rb: add mode string [ci skip] 2017-11-09 23:02:52 +00:00
mkconfig.rb
mkrunnable.rb
node_name.rb
parse.rb
prereq.status
probes_to_wiki.rb
pull-latest-mspec-spec
rbinstall.rb rbinstall.rb: show categories of default gems 2017-10-30 05:45:20 +00:00
rbuninstall.rb
redmine-backporter.rb
release.sh
rmdirs
run-gcov.rb
run-lcov.rb Revamp method coverage to support define_method 2017-12-05 07:16:42 +00:00
runruby.rb tool/runruby.rb: fix RUNRUBY_USE_GDB case 2017-11-07 11:21:09 +00:00
strip-rdoc.rb
sync_default_gems.rb Ignored obsoleted bundle_ruby command from upstream. 2017-11-27 11:02:48 +00:00
test-coverage.rb Revamp method coverage to support define_method 2017-12-05 07:16:42 +00:00
transcode-tblgen.rb
update-deps
vcs.rb Set binmode to handle non ASCII commit message 2017-12-03 12:11:19 +00:00
vpath.rb
vtlh.rb
ytab.sed