mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
0a6816ecd7
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 |
||
---|---|---|
.. | ||
test | ||
asm_parse.rb | ||
bisect.sh | ||
build-transcode | ||
change_maker.rb | ||
checksum.rb | ||
colorize.rb | ||
downloader.rb | ||
enc-emoji-citrus-gen.rb | ||
enc-emoji4unicode.rb | ||
enc-unicode.rb | ||
eval.rb | ||
expand-config.rb | ||
extlibs.rb | ||
fake.rb | ||
fetch-bundled_gems.rb | ||
file2lastrev.rb | ||
gem-unpack.rb | ||
gen_dummy_probes.rb | ||
gen_ruby_tapset.rb | ||
generate-backport-changelog.rb | ||
generic_erb.rb | ||
git-refresh | ||
id2token.rb | ||
ifchange | ||
insns2vm.rb | ||
install-sh | ||
instruction.rb | ||
jisx0208.rb | ||
make-snapshot | ||
make_hgraph.rb | ||
mdoc2man.rb | ||
merger.rb | ||
mk_call_iseq_optimized.rb | ||
mkconfig.rb | ||
mkrunnable.rb | ||
node_name.rb | ||
parse.rb | ||
prereq.status | ||
probes_to_wiki.rb | ||
pull-latest-mspec-spec | ||
rbinstall.rb | ||
rbuninstall.rb | ||
redmine-backporter.rb | ||
release.sh | ||
rmdirs | ||
run-gcov.rb | ||
run-lcov.rb | ||
runruby.rb | ||
strip-rdoc.rb | ||
sync_default_gems.rb | ||
test-coverage.rb | ||
transcode-tblgen.rb | ||
update-deps | ||
vcs.rb | ||
vpath.rb | ||
vtlh.rb | ||
ytab.sed |