On the Relationship between Functional Size and Software Code Size
Paper in proceeding, 2010

SLOC (Source Lines-Of-Code) has been used extensively as a Code Size Measure, and as input to parametric software cost and effort estimation tools. SLOC is obtained by measuring FP (Function Points) on the requirements and multiplying by the SLOC/FP ratio from similar projects. This is done even though several studies show large variations in this ratio, due to weak correlation between FP and SLOC. However, in our previous experiments we have obtained strong correlation between CFP (COSMIC Function Points) and Bytes compiled code as Code Size Measure. The experiments were conducted in the automotive industry using software components developed by GM (General Motors). In this paper we explain the reasons behind the strong correlation. The main reasons are that we apply the COSMIC method on software components of similar type, with a 1-to-1 mapping to COSMIC. A strong correlation between the Functional Size Measure and the Code Size Measure is required to obtain accurate Code Size estimation results. To estimate the Code Size before the software is available, is important both for Cost/Effort estimation and design of electronic hardware.

Software Code Size

UML components

COSMIC Function Points

system architecture.

Bytes

Source Lines-Of-Code

Functional Size Measurement

Author

Kenneth Lind

Chalmers, Computer Science and Engineering (Chalmers)

Rogardt Heldal

Chalmers, Computer Science and Engineering (Chalmers), Software Engineering (Chalmers)

International Workshop on Emerging Trends in Software Metrics (WETSoM 2010), May 4, 2010, Cape Town, South Africa.

0270-5257 (ISSN)

47-52
978-1-60558-976-3 (ISBN)

Subject Categories

Software Engineering

DOI

10.1145/1809223.1809230

ISBN

978-1-60558-976-3

More information

Created

10/6/2017