It is the branch of software metrics which deals with only the "Product Metrics". The presentation shows that how to calculate/measure the product by different methodologies and techniques.
2. INTRODUCTION
The measurement of the software product in terms of :
• The complexity of software design
• The size of final program
• The number of pages document produced
3. THE COMPLEXITY OF SOFTWARE DESIGN
It deals with the :
• Lines of Code
• Number of loops and selection statement
• Number of operator and operands
4. HALSTEAD'S COMPLEXITY MEASURES
The complexity of the product can be determined by calculating the :
n1: Distinct operators
n2: Distinct operands
N1: Total no. of operators
N2: Total no. of operands
5. • int a , b , c, avg;
• cin >> a , b , c ;
• avg = ( a + b + c ) / 3 ;
• cout << avg ;
Total
n1 int cin >> = + / << ; 8
n2 a b c avg 3 5
N1 int ; cin >> ; = () / ; cout << ; 12
N2 a b c avg a b c avg a b b 3 avg 13
6. THE SIZE OF FINAL PROGRAM
It depends on some of the attributes :
• LOC
• Errors
• Cost
7.
8. THE NUMBER OF PAGES DOCUMENT PRODUCED
It the documentation of the product which deals with :
• Length
• Labor
• Human Resource
9. Project Effort/Person Cost LOC kLOC Pgs Errors People
A 24 168000 12100 12.1 365 29 3
B 62 440000 27200 27.2 1224 86 5