{"title":"Measuring software size by distinct lines","authors":"D. Lubinsky","doi":"10.1109/CMPSAC.1990.139394","DOIUrl":null,"url":null,"abstract":"The relationship between DLC (distinct line count) and NCSL (noncomment source lines) is studied on a number of programs, and it is found that, as a simple rule of thumb, the NCSL count can be estimated by twice the DLC. A more accurate model is derived by predicting NCSL from DLC and the number of lines that occur exactly once. It is also shown that, for unrelated programs, the proportion of common lines is very small; hence, DLC is approximately additive. It is concluded that, overall, the DLC is a very attractive measure of size that has two basic advantages over NCSL: it is an intuitively more appealing measure of effort than NCSL, and the problems of measuring size of subsequent releases disappear when using DLC.<<ETX>>","PeriodicalId":127509,"journal":{"name":"Proceedings., Fourteenth Annual International Computer Software and Applications Conference","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings., Fourteenth Annual International Computer Software and Applications Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CMPSAC.1990.139394","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
The relationship between DLC (distinct line count) and NCSL (noncomment source lines) is studied on a number of programs, and it is found that, as a simple rule of thumb, the NCSL count can be estimated by twice the DLC. A more accurate model is derived by predicting NCSL from DLC and the number of lines that occur exactly once. It is also shown that, for unrelated programs, the proportion of common lines is very small; hence, DLC is approximately additive. It is concluded that, overall, the DLC is a very attractive measure of size that has two basic advantages over NCSL: it is an intuitively more appealing measure of effort than NCSL, and the problems of measuring size of subsequent releases disappear when using DLC.<>