English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I already know the wikipedia number, but it is uncited, and I can find no other sources.

2007-02-13 03:29:35 · 1 answers · asked by pxtrials 2 in Computers & Internet Software

1 answers

What's it matter? SLOC is a meaningless value. SLOC does not represent the maintainability and efficiency of the code. Do you consider comments part of the SLOC? If not, aren't they changed when the programs are modified and therefore should be considered as part of the count? If they are, why should they be when they're not part of the executed source?

I could give you two programs both of 1000 lines. Are they considered equal? Only in the number of lines - one of them could perform so much more than the other, or one could be a nightmare to understand and maintain.

And, do 100 lines of C++ code have the same weight as 100 lines of Java? Maybe, but what about VB, or Tcl or Assembler?

What can you really tell from the following:
system A: 20K lines of Java
system B: 20K lines of Tcl
system C: 20K lines of assembler
system D: 5K lines of Java, 3K of assembler, 8K of Tcl, 2K scripting, 3K of C

Not much if you're just looking at SLOC.

2007-02-13 03:57:19 · answer #1 · answered by BigRez 6 · 1 1

fedest.com, questions and answers