written 7.1 years ago by
teamques10
★ 64k
|
•
modified 7.1 years ago
|
Size‐oriented software metrics:
Size‐oriented software metrics are derived by normalizing quality and/or productivity measures by considering the size of the software that has been produced.
There are thousand lines of code (KLOC) which are often chosen as the normalization value
Metrics include
- Errors per KLOC - Errors per person-month
- Defects per KLOC - KLOC per person-month
- Dollars per KLOC - Dollars per page of documentation
- Pages of documentation per KLOC
This metric is not universally accepted as the best way to measure the software process
The opponents are the one that argue with KLOC measurements
- Are dependent on the programming language
- Penalize well-designed but short programs
- Cannot easily accommodate non-procedural languages
- Require a level of detail that may be difficult to achieve
Function - oriented metrics
This metric uses a measure of the functionality delivered by the application as a normalization value
The most widely used metric of this type is the function point:
FP = count total * [0.65 + 0.01 * sum (value adj. factors)]
Example:
Given that
Number of user input = 50
Number of user output = 30
Number of user enquiries = 35
Number of files =06
Number if external interfaces = 04
Let’s take complexity adjustment values and weighting factor are average
Sr No. |
Domain Characteristics |
Count |
X |
Average Value |
Total |
1. |
No. of user input |
50 |
X |
4 |
200 |
2. |
No. of user output |
30 |
X |
5 |
150 |
3. |
No. of user enquiries |
35 |
X |
4 |
140 |
4. |
No. of files |
06 |
X |
10 |
60 |
5. |
No. of external interface |
04 |
X |
7 |
28 |
. |
. |
. |
. |
. |
578 |
Software complexity can be computed by answering following questions. These are complexity adjustment values.
- Does the system need reliable backup and recovery?
- Are data communications required?
- Are there distributed processing functions?
- Is performance of the system critical?
- Will the system run in an existing, heavily utilized operational environment?
- Does the system require online data entry?
- Does the online data entry require the input transaction to be built over multiple screen or operation?
- Are the master file updated online?
- Are the input, output, file or inquiries complex?
- Is the internal processing complex?
- Is the code designed being reusable?
Chap 5| Software Design Specification KT280 Solutions
25
- Are conversion and installation included in the design?
- Is the system design for multiple installation in different organization?
- Is the application designed to facilitate change and ease of use by the user?
Function Points (FP)
= Count Total * (0.65 + (0.01 * Sum(Fi)))
= 578 * (0.65 + (0.01 * 42))
= 578 * (0.65 + 0.42)
= 578 * 1.07
= 618.46
Function Point value is 618.46