Skip to content

Instantly share code, notes, and snippets.

@PlloYNiiE
Created March 15, 2011 19:50
Show Gist options
  • Select an option

  • Save PlloYNiiE/871317 to your computer and use it in GitHub Desktop.

Select an option

Save PlloYNiiE/871317 to your computer and use it in GitHub Desktop.
the_hook.sloc
Have a non-directory at the top, so creating directory top_dir
Adding /Users/Projects/Projects/drupal/sourcesieve/thehook/the_hook.php to top_dir
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Computing results.
Warning! Unclosed PHP file /Users/Projects/drupal/sourcesieve/thehook/the_hook.php, mode=1
SLOC Directory SLOC-by-Language (Sorted)
573 top_dir php=573
Totals grouped by language (dominant language first):
php: 573 (100.00%)
Total Physical Source Lines of Code (SLOC) = 573
Development Effort Estimate, Person-Years (Person-Months) = 0.11 (1.34)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.23 (2.79)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 0.48
Total Estimated Cost to Develop = $ 15,056
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment