DebrideToOkuribito converts the execution result of "Debride" to yaml for "Okuribito".
What is Debride
Analyze code for potentially uncalled / dead methods, now with auto-removal.
Please, refer to the github repository for details: https://github.com/seattlerb/debride
What is Okuribito
Okuribito monitors the method call with YAML, and exec specified code.
In other words, it can be used in order to extract the really uncalled method.
Please, refer to the github repository for details: https://github.com/muramurasan/okuribito
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install debride2okuribito
Usage is very easy.
If you enter the following command, you can get yaml for "Okuribito" with potentially uncalled methods written.
$ debride2okuribito ./ --- Run debride and convert to yaml... --- 'okuribito.yml' has been generated.
The available options are "Debride" compliant.
$ debride2okuribito --rails app --- Run debride and convert to yaml... --- 'okuribito.yml' has been generated.
The gem is available as open source under the terms of the MIT License. Copyright 2016 Yasuhiro Matsumura.