jeudi 6 mai 2010

Statistiques

Le framework vient juste d'atteindre 10 000 lignes! Voici les statistiques du code. Si la couche ORM (sur laquelle je vais avoir beaucoup de choses à poster) fonctionne correctement, attendez vous à un sacré saut vers le haut, parce que le code autour de la base de données est particulièrement verbeux.


SLOC Directory SLOC-by-Language (Sorted)
3005 utils cpp=3005
813 messages cpp=772,xml=41
746 geom cpp=746
742 unittests cpp=742
533 osgutils cpp=533
532 libweb ml=532
508 wxutils cpp=508
471 server cpp=471
413 sound cpp=413
377 openrail cpp=377
288 orm ml=188,xml=100
237 dsgen ml=237
235 wxosg cpp=235
229 rail cpp=229
202 logserver cpp=202
158 chatserver cpp=158
157 logapi cpp=157
108 doc perl=108
84 wxdemo cpp=84
73 wxosgdemo cpp=73
47 logviewer cpp=47
43 listviewer ml=43
0 authserver (none)
0 bin (none)
0 data (none)
0 lib (none)
0 listserver (none)
0 top_dir (none)


Totals grouped by language (dominant language first):
cpp: 8752 (87.51%)
ml: 1000 (10.00%)
xml: 141 (1.41%)
perl: 108 (1.08%)




Total Physical Source Lines of Code (SLOC) = 10,001
Development Effort Estimate, Person-Years (Person-Months) = 2.24 (26.93)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.73 (8.74)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 3.08
Total Estimated Cost to Develop = $ 303,171
(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'."

Aucun commentaire: