[ros-dev] Request: SLOC stats of ReactOS 0.0.1.0, 0.1.0, 0.2.0 & 0.3.0

M Bealby mbealby at gmail.com
Thu Aug 17 17:20:20 CEST 2006


From: "Klemens Friedl" <frik85 at gmail.com>
Subject: [ros-dev] Request: SLOC stats of ReactOS 0.0.1.0, 0.1.0, 0.2.0 & 0.3.0
Date: Thu, 17 Aug 2006 16:34:21 +0200

> If you don't want to hassle with svn, then download the following
> source code archives from sourceforge:
> 
> 0.0.1.0: http://prdownloads.sourceforge.net/reactos/0010_source.zip
> 0.1.0: http://prdownloads.sourceforge.net/reactos/0100_source.zip
> 0.2.0: http://prdownloads.sourceforge.net/reactos/reactos-0.2.0-source.zip
> 0.3.0 (rc2): http://prdownloads.sourceforge.net/reactos/reactos0.3.0-RC2-src.zip
> 

Using sloccount 2.26 on Linux and the zip archives listed above I get the
following results.

Note: The 0.0.1.0 download appears to be corrupt (tried multiple mirrors),
so I have no results for that version.


ReactOS Version 0.1.0.0
-----------------------

SLOC	Directory	SLOC-by-Language (Sorted)
123354  lib             ansic=122456,asm=599,yacc=153,lex=114,cpp=32
119025  drivers         ansic=117047,asm=712,cpp=560,pascal=536,sh=170
80652   subsys          ansic=71435,sh=7476,python=1741
73994   include         ansic=73994
66434   ntoskrnl        ansic=64625,asm=1809
38169   apps            ansic=31518,cpp=6203,asm=448
6307    tools           ansic=5777,yacc=530
6035    hal             ansic=5948,asm=87
1384    loaders         asm=1384
720     iface           ansic=720
227     services        ansic=227
2       top_dir         sh=2
0       dk              (none)
0       doc             (none)
0       media           (none)


Totals grouped by language (dominant language first):
ansic:       493747 (95.63%)
sh:            7648 (1.48%)
cpp:           6795 (1.32%)
asm:           5039 (0.98%)
python:        1741 (0.34%)
yacc:           683 (0.13%)
pascal:         536 (0.10%)
lex:            114 (0.02%)




Total Physical Source Lines of Code (SLOC)                = 516,303
Development Effort Estimate, Person-Years (Person-Months) = 141.12 (1,693.41)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 3.51 (42.16)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 40.17
Total Estimated Cost to Develop                           = $ 19,063,011
 (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'."





ReactOS Version 0.2.0.0
-----------------------

SLOC	Directory	SLOC-by-Language (Sorted)
416457  lib             ansic=400265,sh=9031,python=2542,asm=2063,perl=1193,
                        cpp=560,pascal=536,yacc=153,lex=114
128836  drivers         ansic=128787,asm=49
116870  subsys          ansic=86123,cpp=30747
92486   include         ansic=92486
78229   ntoskrnl        ansic=76300,asm=1929
50590   apps            ansic=43564,cpp=6578,asm=448
25410   tools           ansic=18749,cpp=4229,lex=1350,yacc=1082
7008    hal             ansic=6921,asm=87
926     loaders         asm=926
698     iface           ansic=698
571     regtests        ansic=571
258     services        ansic=258
0       bootdata        (none)
0       CVS             (none)
0       dk              (none)
0       doc             (none)
0       media           (none)
0       top_dir         (none)


Totals grouped by language (dominant language first):
ansic:       854722 (93.07%)
cpp:          42114 (4.59%)
sh:            9031 (0.98%)
asm:           5502 (0.60%)
python:        2542 (0.28%)
lex:           1464 (0.16%)
yacc:          1235 (0.13%)
perl:          1193 (0.13%)
pascal:         536 (0.06%)




Total Physical Source Lines of Code (SLOC)                = 918,339
Development Effort Estimate, Person-Years (Person-Months) = 258.33 (3,100.02)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 4.42 (53.05)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 58.44
Total Estimated Cost to Develop                           = $ 34,897,539
 (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'."




ReactOS Version 0.3.0 RC2
-------------------------

SLOC	Directory	SLOC-by-Language (Sorted)
808659  dll             ansic=759391,cpp=25583,asm=8201,sh=8147,python=6029,
                        yacc=1308
322536  lib             ansic=301074,sh=13093,asm=3421,python=3160,cpp=924,
                        pascal=536,perl=328
197085  include         ansic=192572,cpp=4513
163334  base            ansic=121143,cpp=41411,asm=448,sh=332
144607  drivers         ansic=144551,asm=56
103080  ntoskrnl        ansic=100386,asm=2694
70621   subsystems      ansic=70610,asm=11
64180   tools           ansic=36412,cpp=19738,yacc=4708,lex=2392,perl=930
48168   regtests        ansic=48168
34750   boot            ansic=29798,asm=4952
9571    hal             ansic=9444,asm=127
47      media           ansic=47
0       modules         (none)
0       top_dir         (none)


Totals grouped by language (dominant language first):
ansic:      1813596 (92.22%)
cpp:          92169 (4.69%)
sh:           21572 (1.10%)
asm:          19910 (1.01%)
python:        9189 (0.47%)
yacc:          6016 (0.31%)
lex:           2392 (0.12%)
perl:          1258 (0.06%)
pascal:         536 (0.03%)




Total Physical Source Lines of Code (SLOC)                = 1,966,638
Development Effort Estimate, Person-Years (Person-Months) = 574.70 (6,896.39)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 5.99 (71.88)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 95.94
Total Estimated Cost to Develop                           = $ 77,634,055
 (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'."



Cheers,
Martin


More information about the Ros-dev mailing list