Symbian developer community

 
wiki

Quality Metrics/Package Size

From Symbian Developer Community

Jump to: navigation, search

Package Size

Contents

Description

The size of a package can be measured in many ways, but this metric counts the number of lines of source code, excluding blank lines and comment lines.

NB.
Currently, file-types included are "*.cpp", "*.c", "*.cxx", "*.h", "*.hrh", "*.hpp", "*.inl"

On its own, this metric does not indicate quality. However, it is used to normalise other measures. For example, Defect Inflow divided by Package Size becomes Relative Defect Inflow. This is important where there is a wide range of package sizes.

How to implement?

Symbian Foundation has developed a perl utility to measure package size and code churn. It can be found here:
http://developer.symbian.org/oss/MCL/utilities/file/62971d19bb33/code_churn

How to access?

Discussions held

RB, SimonH, AS & NR

Comments

Sign in to comment…