SlideShare una empresa de Scribd logo
1 de 16
LOC Matric
Function Point Matric
Presented By
Ankush Singh
Software Metric
lA software metric is a quantitative measure of a
degree to which a software system or process
posesses some property.
lThe 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
lTwo popular metrics used to estimate the size of
software project :
lLine Of Code (LOC)
lFunction Point (FP)
Line Of Code Metric
lLOC 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.
lLines used for commenting the code and header
file are ignored.
lLOC 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
lTwo major types of LOC :
lPhysical LOC
lNo. of line of code
lLogical LOC
lNo. of executable statements.
Physical LOC
lPhysical LOC is the count of lines in the text of
the program's source code including comment
lines.
lBlank lines are also included unless the lines of
code in a section consists of more than 25% blank
lines.
Logical LOC
Logical LOC attempts to measure the number of
executable statements, but their specific
definitions are tied to specific computer
languages.
Example: Logical LOC measure for C-like
programming languages is the number of
statement-terminating semicolons(;).
Difference
1) PLOC = 1
1)LLOC = 2
1) PLOC = 5
1)LLOC = 2
Advantage
lScope for Automation of Counting
lAn Intuitive Metric
lUbiquitous Measure
Disadvantage
lLack of Accountability
lLack of Cohesion with Functionality
lAdverse Impact on Estimation
lDeveloper’s Experience
lPsychology
Function Point Matric
Function Point Matric
lFunction points measure software size.
lA function point is a unit of measurement to
express the amount of business functionality an
information system (as a product) provides to a
user.
lFunction points were defined in 1979 in
Measuring Application Development Productivity
by Allan Albrecht at IBM.
FP Matrics
lThe functional user requirements of the software
are identified and each one is categorized into one
of five types:
linputs,
loutputs,
linquiries,
linternal files, and
lexternal interfaces
Functional Requirements of
Software
lInputs : Each data item given by user except user
inquiries.
lOutput : Reports printed, Screen output, error
message produced etc.
lInquiries : Inquiries are user command whic
require specific action by user.
lInternal Files : It contains data structure and
physical files.
lExternal Interfaces : Interfaces are used to
exchange information with external system or
external data source eg. : CD-ROM
Function Point
lIt is computed in three step:
lComputing Unadjusted Function Point (UFP)
lRefining to show the complexity of UFP
lRefining each FP characteristic to to influence the
development effort of project.
lUFP = (Inputs)*4 + (Outputs)*5 + (Inquiries)*4 +
(Files)*10 + (Interfaces)*10
Line of Code (LOC) Matric and Function Point Matric

Más contenido relacionado

La actualidad más candente

Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
koolkampus
 

La actualidad más candente (20)

Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
 
Decomposition technique In Software Engineering
Decomposition technique In Software Engineering Decomposition technique In Software Engineering
Decomposition technique In Software Engineering
 
Evolving role of Software,Legacy software,CASE tools,Process Models,CMMI
Evolving role of Software,Legacy software,CASE tools,Process Models,CMMIEvolving role of Software,Legacy software,CASE tools,Process Models,CMMI
Evolving role of Software,Legacy software,CASE tools,Process Models,CMMI
 
Lecture6
Lecture6Lecture6
Lecture6
 
Spm software effort estimation
Spm software effort estimationSpm software effort estimation
Spm software effort estimation
 
Basic Software Effort Estimation
Basic Software Effort EstimationBasic Software Effort Estimation
Basic Software Effort Estimation
 
Pressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsPressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metrics
 
Software Estimation Techniques
Software Estimation TechniquesSoftware Estimation Techniques
Software Estimation Techniques
 
Chapter 6 software metrics
Chapter 6 software metricsChapter 6 software metrics
Chapter 6 software metrics
 
COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimation
 
Spm unit 3
Spm unit 3Spm unit 3
Spm unit 3
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
 
Software Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & SpecificationSoftware Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & Specification
 
Designing Techniques in Software Engineering
Designing Techniques in Software EngineeringDesigning Techniques in Software Engineering
Designing Techniques in Software Engineering
 
System testing
System testingSystem testing
System testing
 
HCI LAB MANUAL
HCI LAB MANUAL HCI LAB MANUAL
HCI LAB MANUAL
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factors
 
Phased life cycle model
Phased life cycle modelPhased life cycle model
Phased life cycle model
 

Similar a Line of Code (LOC) Matric and Function Point Matric

Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimation
Nur Islam
 
Software estimation techniques
Software estimation techniquesSoftware estimation techniques
Software estimation techniques
Tan Tran
 
Hard work matters for everyone in everytbing
Hard work matters for everyone in everytbingHard work matters for everyone in everytbing
Hard work matters for everyone in everytbing
lojob95766
 
14 ooad uml-19
14 ooad uml-1914 ooad uml-19
14 ooad uml-19
Niit Care
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
poonam.rwalia
 

Similar a Line of Code (LOC) Matric and Function Point Matric (20)

Cost estimation techniques
Cost estimation techniquesCost estimation techniques
Cost estimation techniques
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimation
 
Cost xpert
Cost xpertCost xpert
Cost xpert
 
Loc and function point
Loc and function pointLoc and function point
Loc and function point
 
Software estimation techniques
Software estimation techniquesSoftware estimation techniques
Software estimation techniques
 
Software Quality Metrics
Software Quality MetricsSoftware Quality Metrics
Software Quality Metrics
 
Cost effort.ppt
Cost effort.pptCost effort.ppt
Cost effort.ppt
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimation
 
Software Metrics for Identifying Software Size in Software Development Projects
Software Metrics for Identifying Software Size in Software Development ProjectsSoftware Metrics for Identifying Software Size in Software Development Projects
Software Metrics for Identifying Software Size in Software Development Projects
 
Hard work matters for everyone in everytbing
Hard work matters for everyone in everytbingHard work matters for everyone in everytbing
Hard work matters for everyone in everytbing
 
Extreme software estimation (xsoft estimation)
Extreme software estimation (xsoft estimation)Extreme software estimation (xsoft estimation)
Extreme software estimation (xsoft estimation)
 
14 ooad uml-19
14 ooad uml-1914 ooad uml-19
14 ooad uml-19
 
Extreme software estimation (xsoft estimation)
Extreme software estimation (xsoft estimation)Extreme software estimation (xsoft estimation)
Extreme software estimation (xsoft estimation)
 
Chap 1-language processor
Chap 1-language processorChap 1-language processor
Chap 1-language processor
 
Ijetr011834
Ijetr011834Ijetr011834
Ijetr011834
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Software engineer
Software engineerSoftware engineer
Software engineer
 
Software tools
Software toolsSoftware tools
Software tools
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICCOCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
 

Último

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

Line of Code (LOC) Matric and Function Point Matric

  • 1. LOC Matric Function Point Matric Presented By Ankush Singh
  • 2. Software Metric lA software metric is a quantitative measure of a degree to which a software system or process posesses some property. lThe 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.
  • 3. 2 Popular Metrics lTwo popular metrics used to estimate the size of software project : lLine Of Code (LOC) lFunction Point (FP)
  • 4. Line Of Code Metric lLOC 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. lLines used for commenting the code and header file are ignored. lLOC 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.
  • 5. Types of LOC lTwo major types of LOC : lPhysical LOC lNo. of line of code lLogical LOC lNo. of executable statements.
  • 6. Physical LOC lPhysical LOC is the count of lines in the text of the program's source code including comment lines. lBlank lines are also included unless the lines of code in a section consists of more than 25% blank lines.
  • 7. Logical LOC Logical LOC attempts to measure the number of executable statements, but their specific definitions are tied to specific computer languages. Example: Logical LOC measure for C-like programming languages is the number of statement-terminating semicolons(;).
  • 8. Difference 1) PLOC = 1 1)LLOC = 2 1) PLOC = 5 1)LLOC = 2
  • 9. Advantage lScope for Automation of Counting lAn Intuitive Metric lUbiquitous Measure
  • 10. Disadvantage lLack of Accountability lLack of Cohesion with Functionality lAdverse Impact on Estimation lDeveloper’s Experience lPsychology
  • 12. Function Point Matric lFunction points measure software size. lA function point is a unit of measurement to express the amount of business functionality an information system (as a product) provides to a user. lFunction points were defined in 1979 in Measuring Application Development Productivity by Allan Albrecht at IBM.
  • 13. FP Matrics lThe functional user requirements of the software are identified and each one is categorized into one of five types: linputs, loutputs, linquiries, linternal files, and lexternal interfaces
  • 14. Functional Requirements of Software lInputs : Each data item given by user except user inquiries. lOutput : Reports printed, Screen output, error message produced etc. lInquiries : Inquiries are user command whic require specific action by user. lInternal Files : It contains data structure and physical files. lExternal Interfaces : Interfaces are used to exchange information with external system or external data source eg. : CD-ROM
  • 15. Function Point lIt is computed in three step: lComputing Unadjusted Function Point (UFP) lRefining to show the complexity of UFP lRefining each FP characteristic to to influence the development effort of project. lUFP = (Inputs)*4 + (Outputs)*5 + (Inquiries)*4 + (Files)*10 + (Interfaces)*10