MediaWiki
Jump to navigation
Jump to search
This is part of my notes about open-source classics.
Links
Source code
On my computer the code is here:
- virtuoso:/home/jj5/repo/git/gerrit.wikimedia.org/mediawiki
The core project is here:
Extensions example:
Source metrics
These metrics for 'core' generated using David A. Wheeler's 'SLOCCount'.
SLOC Directory SLOC-by-Language (Sorted)
430,156 includes php=429878,xml=251,sh=27
308,157 tests php=274039,javascript=25015,xml=9097,sh=6
158,111 resources javascript=154582,php=3529
53,008 languages php=52750,xml=258
29,174 maintenance php=28786,python=352,sh=30,javascript=6
4,694 top_dir php=4544,javascript=150
878 docs php=760,xml=118
255 mw-config javascript=204,php=51
Totals grouped by language (dominant language first): php: 794,337 (80.69%) javascript: 179,957 (18.28%) xml: 9,724 ( 0.99%) python: 352 ( 0.04%) sh: 63 ( 0.01%)
Total Physical Source Lines of Code (SLOC) = 984,433 Development Effort Estimate, Person-Years (Person-Months) = 277.89 (3,334.70) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 4.54 (54.54) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 61.14 Total Estimated Cost to Develop = $ 37,539,380 (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.