Project

noraneko

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Find candidate unused methods, views from rails app with static parse
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0

Runtime

~> 2.4
 Project Readme

Noraneko

Noraneko is aim to guess unused codes, especially in a Rails project. This gem tries to find:

  • The methods not to be called in the models, helpers, concerns and plain ruby classes.
  • The dead views, meaning to say, which are not rendered.

Please be careful if you want to try this, it doesn't grant detected code is deletable, but may be deletable. Because Ruby is hard to analyze in static as you know. I will write some cases gem couldn't detect when it becomes stable.

Installation

gem install noraneko

Usage

noraneko path1,path2,path3 # if you don't pass, default path is '.'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/riseshia/noraneko.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Noraneko project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.