Count lines of code in your Xcode project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.txt
README.md
loc.rb

README.md

Simple script to search your Xcode project lines of code

It takes an argument, so you should run it like ruby loc.rb /path_to_your_project_folder. If you don't provide an argument, you will be prompted for one after launching.

It searches m, mm, cpp, c, h, css and html files by default. Easily changeable.

It provides easily changeable exclusions, defaults being vendor and framework.

You will be displayed a list of files, with their respective number of lines of code, then a grand total.

That's about it. Please feel free to improve or contact me for any questions, I'd be more than happy to hear from you @rolandleth.

License

Licensed under MIT.