吸引者-Ruby:Ruby的代码复杂性指标可视化和探索工具

时间:2021-01-30 01:30:06
【文件属性】:
文件名称:吸引者-Ruby:Ruby的代码复杂性指标可视化和探索工具
文件大小:28.9MB
文件格式:ZIP
更新时间:2021-01-30 01:30:06
ruby complexity code-quality CodequalityRuby 吸引者Ruby插件 Ruby编程语言及其生态系统的插件 目录 入门 这是一个插件,可帮助您可视化Ruby代码的代码复杂性指标。 如果您不熟悉 ,请先看一下主仓库。 安装 将此添加到应用程序的Gemfile中: gem 'attractor' gem 'attractor-ruby' 然后执行: bundle install 用法 要在attractor_output/index.html创建HTML报告,请尝试 bundle exec attractor report 如果要指定目录,请使用文件前缀选项: bundle exec attractor report --file_prefix app/models 或更短: bundle exec attractor report -p app/models 注意文件更改: bundle exec attractor report -p app/models --watch 服务于 : bundle exec attractor serve -p app/models 启用机架传递负载: bundle exec

网友评论