Skip to content

Making a gem of the normal rails rake stats method, to make it more robust and work on non rails projects

License

Notifications You must be signed in to change notification settings

devver/code_statistics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code_statistics

This is a port of the rails ‘rake stat’ so it can be used on none rails projects and have it’s features slowly expanded. Please feel free to contact us if you have any ideas for additional stats that should be added. It in general tries to have defaults that work better for both rails and non rails projects. It specifically supports cucumber tests and rspec better than the original rails stats.

todos:

  • make bin accept passed cmd line arguments to run

  • stop relying on ENV vars

  • count number of total files

  • count number of of .rb or passed in filter files

  • find todo, perf, bug, hack, etc comments and display them with info about them (line number etc)

*reduce duplication between bin and task

[email protected]

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 Devver. See LICENSE for details.

About

Making a gem of the normal rails rake stats method, to make it more robust and work on non rails projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%