mire:Ruby 方法使用分析器

时间:2021-05-31 12:39:52
【文件属性】:
文件名称:mire:Ruby 方法使用分析器
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-31 12:39:52
Ruby mire [ˈmɪʀɛ] mire 分析一个 Ruby 项目并帮助您找到依赖项、调用堆栈和未使用的方法。 它解析 Ruby 和 Haml 文件并收集所有方法定义和调用。 安装 将此行添加到应用程序的 Gemfile 中: gem 'mire' 然后执行: $ bundle 或者自己安装: $ gem install mire 用法 首先您需要分析代码并创建一个.mire_analysis.yml文件。 bundle exec mire -a 像这样的Ruby代码 class Foo def bar buz end end 将导致此.mire_analysis.yml文件。 :bar : :definitions : - :class : Foo :method : :bar :file : foo.rb :line
【文件预览】:
mire-master
----.gitignore(132B)
----bin()
--------mire(124B)
----.travis.yml(154B)
----.rubocop.yml(55B)
----CHANGELOG.md(561B)
----mire.gemspec(1KB)
----LICENSE.txt(1KB)
----spec()
--------spec_helper.rb(54B)
--------mire()
----README.md(3KB)
----.rubocop_todo.yml(539B)
----lib()
--------mire.rb(310B)
--------mire()
----Gemfile(39B)
----Rakefile(130B)

网友评论