Click here to Skip to main content
15,885,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
1)What is meaning of Lines of Code as normalization factor?


This question is related to SIZE ORIENTED METRICS
Posted
Comments
Keith Barrow 4-Mar-12 5:03am    
Is this an exam question by any chance?
Richard MacCutchan 4-Mar-12 5:50am    
It's meaningless either way.
Keith Barrow 4-Mar-12 5:58am    
That doesn't mean it isn't an exam question :)
Richard MacCutchan 4-Mar-12 6:24am    
I did not say that it wasn't.
Chuck O'Toole 4-Mar-12 11:42am    
Before the invention of "panes of glass" screens, we used to use the "number of punched cards in the program as a normalization factor". AKA, paying programmers by the pound. The heavier the program deck, the better the programmer.

1 solution

Lines of Code (LOC) is literally counting the number of lines produced by the developer(s).

A normalisation factor is used to bring data to within a standard set of values so that the values mean something when read. Percentages are a type of normalisation I suppose. If I were to calculate the percentages of red-headed, blonde and brunette children in a class of 25, the normalisation factor would be 4 (100/25) as an example.

Attempts were made using LOC to measure the size of a project, but it is a poor measure taken by itself. LOC is used in more sophisticated attempts to calculate project size and is therefore a "factor", but I don't think describing it as a "normalisation factor" is helpful. Perhaps the author just wanted to sound clever?
 
Share this answer
 
Comments
[no name] 5-Feb-13 5:56am    
http://cybarlab.blogspot.com/2013/01/what-is-normalization.html
Keith Barrow 5-Feb-13 6:55am    
This isn't relevant, *database* normalization isn't the same as a normalization *factor* (and there are other types of normalization). The link you provide is far from useful as a description: it only goes up to 3rd normal form and doesn't even describe those fully, despite these things being well defined elsewhere.
Oh wait- you are plugging your own stuff. If you are going to do this, you should at least make it look as if you understand what is happening.
Keith Barrow 5-Feb-13 7:00am    
Your activities on this site (answering anything you can find with links to your site) have been spotted & reported.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900