Line of Code (LOC) Matric and Function Point Matric
diehardankush
35,543 views
16 slides
Feb 26, 2015
Slide 1 of 16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
About This Presentation
Presentaion on LOC matric and Function Point Matric for Software Engineering
Size: 184.74 KB
Language: en
Added: Feb 26, 2015
Slides: 16 pages
Slide Content
LOC Matric Function Point Matric Presented By Ankush Singh
Software Metric A software metric is a quantitative measure of a degree to which a software system or process posesses some property. The goal is obtaining objective, reproducible and quantifiable measurements, which may have numerous valuable applications in schedule and budget planning, cost estimation, quality assurance testing, software debugging, software performance optimization, and optimal personnel task assignments.
2 Popular Metrics Two popular metrics used to estimate the size of software project : Line Of Code (LOC) Function Point (FP)
Line Of Code Metric LOC matric is a software metric used to measure the size of a computer program by counting the number of lines in the text of the program's source code. Lines used for commenting the code and header file are ignored. LOC is typically used to predict the amount of effort that will be required to develop a program, as well as to estimate programming productivity or maintainability once the software is produced.
Types of LOC Two major types of LOC : Physical LOC No. of line of code Logical LOC No. of executable statements.
Physical LOC Physical LOC is the count of lines in the text of the program's source code including comment lines. Blank lines are also included unless the lines of code in a section consists of more than 25% blank lines.
Logical LOC
Difference PLOC = 1 LLOC = 2 PLOC = 5 LLOC = 2
Advantage Scope for Automation of Counting An Intuitive Metric Ubiquitous Measure
Disadvantage Lack of Accountability Lack of Cohesion with Functionality Adverse Impact on Estimation Developer’s Experience Psychology
Function Point Matric
Function Point Matric Function points measure software size. A function point is a unit of measurement to express the amount of business functionality an information system (as a product) provides to a user. Function points were defined in 1979 in Measuring Application Development Productivity by Allan Albrecht at IBM .
FP Matrics The functional user requirements of the software are identified and each one is categorized into one of five types: inputs, outputs, inquiries, internal files, and external interfaces
Functional Requirements of Software Inputs : Each data item given by user except user inquiries. Output : Reports printed, Screen output, error message produced etc. Inquiries : Inquiries are user command whic require specific action by user. Internal Files : It contains data structure and physical files. External Interfaces : Interfaces are used to exchange information with external system or external data source eg. : CD-ROM
Function Point It is computed in three step: Computing Unadjusted Function Point (UFP) Refining to show the complexity of UFP Refining each FP characteristic to to influence the development effort of project. UFP = (Inputs)*4 + (Outputs)*5 + (Inquiries)*4 + (Files)*10 + (Interfaces)*10