$ sloccount django/hrproj/urls.py django/hrproj/hr django/hrproj/yaml SLOC Directory SLOC-by-Language (Sorted) 251 hr python=251 69 yaml python=69 17 top_dir python=17 Totals grouped by language (dominant language first): python: 337 (100.00%) $ sloccount django/hrproj/hr/models.py (to be subtracted from hr above) SLOC Directory SLOC-by-Language (Sorted) 116 top_dir python=116 Totals grouped by language (dominant language first): python: 116 (100.00%) $ sloccount django/hrproj/hr/templatetags/ (to be subtracted from hr) ==> 26 SLOC $ sloccount rails/books/app/controllers rails/books/app/helpers rails/books/app/models rails/books/config/routes.rb rails/books/db/migrate (TODO) SLOC Directory SLOC-by-Language (Sorted) 204 controllers ruby=204 118 migrate ruby=118 101 models ruby=101 56 helpers ruby=56 12 top_dir ruby=12 Totals grouped by language (dominant language first): ruby: 491 (100.00%) $ sloccount rails/books/lib/tasks/data.rake $ sloccount rails/books/app/controllers/admin_controller.rb 13 (subtracted from controllers) Ben: reader.rb - 18 (password=, password, and self.authenticate) - sub tracted from models $ cp rails/books/lib/tasks/data.rake /tmp/data.rb $ sloccount /tmp/data.rb SLOC Directory SLOC-by-Language (Sorted) 26 top_dir ruby=26 Totals grouped by language (dominant language first): ruby: 26 (100.00%) $ find django/hrproj/hr/templates -name '*.html' | xargs wc -l 45 django/hrproj/hr/templates/base.html 68 django/hrproj/hr/templates/book_detail.html 54 django/hrproj/hr/templates/book_list.html 15 django/hrproj/hr/templates/frag_next_prev.html 41 django/hrproj/hr/templates/index.html 43 django/hrproj/hr/templates/reader_detail.html 52 django/hrproj/hr/templates/reader_list.html 45 django/hrproj/hr/templates/tag_detail.html 43 django/hrproj/hr/templates/tag_list.html 406 total $ find rails/books/app/views -name '*.rhtml' | xargs wc -l (TODO) 0 rails/books/app/views/admin/index.rhtml 13 rails/books/app/views/admin/signin.rhtml 7 rails/books/app/views/books/form.rhtml 15 rails/books/app/views/books/index.rhtml 17 rails/books/app/views/books/show.rhtml 21 rails/books/app/views/books/_book.rhtml 0 rails/books/app/views/books/_tag.rhtml 5 rails/books/app/views/home/index.rhtml 4 rails/books/app/views/home/_about.rhtml 9 rails/books/app/views/home/_reading.rhtml 8 rails/books/app/views/home/_recent_reads.rhtml 0 rails/books/app/views/home/_slash.rhtml 1 rails/books/app/views/home/_tag.rhtml 5 rails/books/app/views/home/_tag_cloud.rhtml 43 rails/books/app/views/layouts/application.rhtml 19 rails/books/app/views/readers/form.rhtml 15 rails/books/app/views/readers/index.rhtml 13 rails/books/app/views/readers/show.rhtml 19 rails/books/app/views/readers/_reader.rhtml 12 rails/books/app/views/readings/form.rhtml 10 rails/books/app/views/readings/_list.rhtml 21 rails/books/app/views/readings/_reading.rhtml 10 rails/books/app/views/tags/index.rhtml 7 rails/books/app/views/tags/show.rhtml 16 rails/books/app/views/tags/_book.rhtml 6 rails/books/app/views/tags/_tag.rhtml 1 rails/books/app/views/tags/_tagged_book.rhtml 297 total ----------------------------------------------------------------------- Old: $ sloccount django/hrproj/urls.py django/hrproj/hr django/hrproj/yaml SLOC Directory SLOC-by-Language (Sorted) 273 hr python=273 69 yaml python=69 17 top_dir python=17 Totals grouped by language (dominant language first): python: 359 (100.00%) $ sloccount rails/books/app rails/books/config/routes.rb rails/books/db/migrate SLOC Directory SLOC-by-Language (Sorted) 315 app ruby=315 85 migrate ruby=85 10 top_dir ruby=10 Totals grouped by language (dominant language first): ruby: 410 (100.00%) $ sloccount rails/books/app/helpers/ ==> 48 SLOC $ sloccount django/hrproj/hr/templatetags/ ==> 48 SLOC $ find django/hrproj/hr/templates -name '*.html' | xargs wc -l 45 django/hrproj/hr/templates/base.html 68 django/hrproj/hr/templates/book_detail.html 54 django/hrproj/hr/templates/book_list.html 15 django/hrproj/hr/templates/frag_next_prev.html 41 django/hrproj/hr/templates/index.html 43 django/hrproj/hr/templates/reader_detail.html 52 django/hrproj/hr/templates/reader_list.html 45 django/hrproj/hr/templates/tag_detail.html 43 django/hrproj/hr/templates/tag_list.html 406 total $ find rails/books/app/views -name '*.rhtml' | xargs wc -l 0 rails/books/app/views/admin/index.rhtml 13 rails/books/app/views/admin/signin.rhtml 7 rails/books/app/views/books/form.rhtml 15 rails/books/app/views/books/index.rhtml 17 rails/books/app/views/books/show.rhtml 21 rails/books/app/views/books/_book.rhtml 0 rails/books/app/views/books/_tag.rhtml 5 rails/books/app/views/home/index.rhtml 4 rails/books/app/views/home/_about.rhtml 9 rails/books/app/views/home/_reading.rhtml 8 rails/books/app/views/home/_recent_reads.rhtml 0 rails/books/app/views/home/_slash.rhtml 1 rails/books/app/views/home/_tag.rhtml 5 rails/books/app/views/home/_tag_cloud.rhtml 43 rails/books/app/views/layouts/application.rhtml 9 rails/books/app/views/readers/form.rhtml 15 rails/books/app/views/readers/index.rhtml 13 rails/books/app/views/readers/show.rhtml 20 rails/books/app/views/readers/_reader.rhtml 12 rails/books/app/views/readings/form.rhtml 10 rails/books/app/views/readings/_list.rhtml 21 rails/books/app/views/readings/_reading.rhtml 10 rails/books/app/views/tags/index.rhtml 7 rails/books/app/views/tags/show.rhtml 16 rails/books/app/views/tags/_book.rhtml 6 rails/books/app/views/tags/_tag.rhtml 1 rails/books/app/views/tags/_tagged_book.rhtml 288 total