Professional Documents
Culture Documents
Lecture # 4: Software System Quality
Lecture # 4: Software System Quality
LECTURE # 4
¤ Website: http://fms.uettaxila.edu.pk/Profile/ali.javed
¤ Email: ali.javed@uettaxila.edu.pk
¤ Contact No: +92-51-9047747
¤ Office hours:
n Monday, 09:00 - 11:00, Office # 7 S.E.D
ü Size metrics
ü Defects-based metrics
ü Cost-metrics
ü Time metrics
ü Quality Attribute metrics
q Easy to use
q Easy to compute
Video Rental
System
Video Rental
System
q Data Functions
ü Internal Logic Files
ü External Interface Files
q Transaction Functions
ü External Inputs
ü External Outputs
ü External Inquiries
q Transaction Functions
ü External Inputs: External Input (EI) is a transaction function in which Data goes “into” the application from
outside the boundary. This data is coming external to the application. Data may come from a data input
screen or another application. The data may be used to maintain one or more internal logical files. Eis
can add, change and delete information in the file.
ü External Outputs: External Output (EO) is a transaction function in which data comes “out” of the system.
The data creates reports or output files sent to other applications. These reports and files are created
from information contained in one or more internal logical files and external interface files. Formatted
data sent out of application with added value (e.g calculated totals).
ü External Inquiries: External Inquiry (EQ) is a transaction function with both input and output components
that result in data retrieval from one or more internal logical files and external interface files. Formatted
data sent out of application without added value. A screen full of customer address information would be
an example of an EQ.
q Data Functions
ü Internal Logic Files: Internal Logical File (ILF) is a user identifiable group of logically related
data or control information that resides entirely within the application boundary. An ILF has
the inherent meaning that it is internally maintained, it has some logical structure, and it is
stored in a file. (Employee file)
ü External Interface Files: are responsible for exchanging data with other systems e.g files
accessed by the application but not maintained by it. EIFs can contain business data, control
data and rules-based data. E.g. An example of Business data is customer names, addresses,
phone number, etc.
q Require the same set of processing logic to complete the EP. For e.g if you have
identified ‘Add Employee’ as an EP, it should not be divided into two EPs to account
for the fact that an employee may or may not have dependents. The EP is still ‘Add
Employee’, and there is variation in the processing logic and DETs to account for
dependents.
Ø A RET is user recognizable sub group of data elements within an ILF or an EIF.
function
Low 7 5
Average 10 7
High 15 10
Complexity FP Count
Low 3
Average 4
High 6
q The Value Adjustment Factor (VAF) is based on 14 GSCs that rate the
general functionality of the application being counted. Each characteristic
has associated descriptions to determine the degree of influence.
q The GSC extension involves answering 14 questions about the system and
modifying the original function point count accordingly
q The sum of the values of the 14 GSCs thus obtained is termed as Total Degree of
Influence (TDI).
q In step 2 compute the unadjusted function point (UFP) which rate each
component as low, average, or high. For transactions (EI, EO, and EQ), the
rating is based on the FTR (File type reference:: The number of files
updated or referenced) and DET (Data element types:: the number of
user-recognizable fields).
q Based on this Table, an EI that references 2 files and 10 user recognizable fields
would be ranked as Average.
FTR’s DET’s
1-5 6-15 >15
0-1 Low Low Average
2-3 Low Average High
>3 Average High High
Dr. Ali Javed
Function Points- Employee Tracking
38
Example
q For files (ILF and ELF), the rating is based on the RET (Record element
type:: the number of user recognizable data elements in an ILF or ELF)
and DET (Data element type:: The number of user-recognizable fields).
q Based on this Table, an ILF that contains 10 data elements, and 5 user
recognizable fields would be ranked as Average.
RET’s DET’s
1-5 6-15 >15
0-1 Low Low Average
2-5 Low Average High
>5 Average High High
Ratings Values
EO EQ EI ILF ELF
Low 4 3 3 7 5
Average 5 4 4 10 7
High 6 5 6 15 10
q VAF=sum (GSC)
q FP= 81*(0.65+(41*.01))=85.86
inputs
3 simple X 2 = 6
4 average X 4 = 16
1 complex X 6 = 6
outputs
6 average X 5 = 30
2 complex X 7 = 14
files
5 complex X 15 = 75
inquiries
8 average X 4 = 32
interfaces
3 average X 7 = 21
4 complex X 10 = 40
Unadjusted function points 240
q Code to be reusable = 2
q High performance = 4
q Multiple sites = 3
q Distributed processing = 5
q Adjustment calculation:
1. http://groups.engin.umd.umich.edu/CIS/course.des/cis525/js/f00/artan/function
points.htm