Lines-of-Code, a questionable but oft-cited metric for measuring a given application based on the volume of source code.
Questions tagged [loc]
6 questions
7
votes
1 answer
Is 500 million lines of code even remotely possible?
The New York Times is reporting that the Healthcare.gov website contains "about 500 million lines of software code." This number, attributed to "one specialist", and widely repeated across the interwebs, seems incredibly far-fetched (even assuming a…

kmote
- 3,322
- 6
- 24
- 33
3
votes
4 answers
Is using KLOC just to normalize size of projects still bad?
I know many despise KLOC as some managers attempt to correlate that with productivity. But when we speak only comparing sizes of projects using the same languages and coding standards as well as the same tool for LOC calculation. Unlike story…

John V
- 4,898
- 10
- 47
- 73
2
votes
2 answers
Source file shouldn't be more than 100 SLOC
I just started working on a baseline that is rooted in Ada. Many of the older Ada programmers insist that the source files shouldn't be more than 100 SLOC. I researched this online and I have not found any source to this statement. Is this a…

Engineer2021
- 3,238
- 5
- 28
- 32
1
vote
2 answers
Relation between " lines of the longest working program " in a language and familiarity with it?
In some computer master program online application, it says:
Please list the programming languages in which you have written
programs. For each language, indicate the length in lines of the
longest working program you have written in that…

Tim
- 5,405
- 7
- 48
- 84
0
votes
2 answers
Relation between LOC and Cyclomatic Complexity
Is there something that ratio of the metrics LOC and Sum Cyclomatic Complexity in a project with many modules can talk about?
Does it show the logical complexity of a module/project?

Christy Wald
- 123
- 5
-1
votes
1 answer
In a language interpreted line by line - is optimizing similar lines of code within a module into functions better in terms of efficiency?
While writing python code (I write python-selenium for GUI automation), I am facing situations wheer I have to deal with 5 widgets that do the same thing, just there xpath is differs by one term.
# set value of a type of web element to x
try:
if…

Ulysses
- 101
- 4