Skip to content

Porting rails' stats task to django. Report code statistics (KLOCs, etc) from the django project.

License

Notifications You must be signed in to change notification settings

eclipseconsulting/django-matome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this module

Django commands for reporting code statistics (Classes, KLOCs, etc) from your django project. Reporting Ruby on Rails' rake stats like stats.

Quick start

  1. Add "matome" to your INSTALLED_APPS setting
2. Run ``python manage.py matome`` to see stats.

this command report something like this.

+----------------------+---------+---------+---------+---------+---------+---------+---------+
| Name                 |  FILES  |  Lines  |   LOC   | Classes | Methods |   M/C   |  LOC/M  |
+----------------------+---------+---------+---------+---------+---------+---------+---------+
| View                 |       1 |       2 |       2 |       1 |       0 |     0.0 |     0.0 |
| Model                |       0 |       0 |       0 |       0 |       0 |     0.0 |     0.0 |
| Route                |       1 |      10 |       7 |       0 |       0 |     0.0 |     0.0 |
| Other Modules        |       4 |     108 |      95 |       0 |       0 |     0.0 |     0.0 |
| JS                   |       0 |       0 |       0 |       0 |       0 |     0.0 |     0.0 |
| Coffee               |       0 |       0 |       0 |       0 |       0 |     0.0 |     0.0 |
+----------------------+---------+---------+---------+---------+---------+---------+---------+
| Total                |       6 |     120 |     104 |       1 |       0 |     0.0 |     0.0 |
+----------------------+---------+---------+---------+---------+---------+---------+---------+

About

Porting rails' stats task to django. Report code statistics (KLOCs, etc) from the django project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%