[vtkusers] How BIG is VTK ? (OpenCascade, OpenDX)

Sebastien BARRE sebastien at barre.nom.fr
Sat Jun 23 12:36:04 EDT 2001


At 23/06/2001 16:37, Sebastien BARRE wrote:

>OK, we are a bit smaller than Tcl/Tk :)) But bigger than KDE base. And 
>Mesa. Wow, Mesa is big :) I guess we could count the SLOC for OpenDX or 
>OpenCascade too.

Done.

************************
VTK : source vtk32-src-unix.tgz is 3 982 KB

cpp:         289458 (76.96%)
tcl:          65452 (17.40%)
python:       14859 (3.95%)
ansic:         3426 (0.91%)
java:           940 (0.25%)
yacc:           886 (0.24%)
perl:           804 (0.21%)
objc:           170 (0.05%)
sh:             129 (0.03%)

Total Physical Source Lines of Code (SLOC)                   = 376 124

************************
OpenDX : source dx-4.1.3.tar.gz is 8 869 KB

ansic:       323251 (66.83%)
cpp:         147688 (30.54%)
java:          8378 (1.73%)
yacc:          1737 (0.36%)
csh:           1290 (0.27%)
sh:             899 (0.19%)
awk:            416 (0.09%)

Total Physical Source Lines of Code (SLOC)                   = 483 659

************************
OpenCascade (CAD/CAM) : source sourceOpenCascade-3.1.tar.gz is 31 709 KB !

This beast is huge. 40 000 files ! (VTK has 3000).
I had to patch sloccount to handle .gxx, .ixx, .jxx, .lxx files (seems 
C++). But tt does not take into account the 5000 .cdl files (which language 
is it, I do not remember).

cpp:        1330530 (89.06%)
ansic:       137911 (9.23%)
tcl:          24121 (1.61%)
lisp:           632 (0.04%)
sh:             535 (0.04%)
java:           203 (0.01%)
csh:             99 (0.01%)

Total Physical Source Lines of Code (SLOC)                   = 1 494 031 !
Total Estimated Cost to Develop                              = $ 58 172 699
Please credit this data as "generated using 'SLOCCount' by David A. Wheeler."





More information about the vtkusers mailing list