Software Engineering SM ? 1. Outline of this presentation What is SM The Need for SM Type of SM Size Oriented Metric Function Oriented Metric 218/10/2015.

Slides:



Advertisements
Similar presentations
Early Effort Estimation of Business Data-processing Enhancements CS 689 November 30, 2000 By Kurt Detamore.
Advertisements

Project Estimation: Metrics and Measurement
Metrics. A Good Manager Measures measurement What do we use as a basis? size? size? function? function? project metrics process metrics process product.
Metrics for Process and Projects
Metrics for Process and Projects
Software Metrics.
Software Engineering II - Topic: Software Process Metrics and Project Metrics Instructor: Dr. Jerry Gao San Jose State University
R&D SDM 1 Metrics How to measure and assess software engineering? 2009 Theo Schouten.
Software project management (intro)
Project Management Metrics.
CSE Software Engineering: Analysis and Design, 2004Lecture 9B.1 Software Engineering: Analysis and Design - CSE3308 Software Metrics CSE3308/DMS/2004/23.
Software Engineering Rekayasa Perangkat Lunak Kuliah 05.
SOFTWARE PROJECT MANAGEMENT AND COST ESTIMATION © University of LiverpoolCOMP 319slide 1.
Software Metrics.
Project Metrics Infsy 570 Dr. R. Ocker.
1 Cost Estimation CIS 375 Bruce R. Maxim UM-Dearborn.
Software Metric capture notions of size and complexity.
Cmpe 589 Spring Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Lecture 22 Instructor Paulo Alencar.
MODULE PLANNING &ESTIMATION.
Chapter 6 : Software Metrics
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 26 Slide 1 Software cost estimation 1.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 23Slide 1 Chapter 23 Software Cost Estimation.
Function Point Analysis What is Function Point Analysis (FPA)? It is designed to estimate and measure the time, and thereby the cost, of developing new.
Software cost estimation Predicting the resources required for a software development process 1.
Product Metrics An overview. What are metrics? “ A quantitative measure of the degree to which a system, component, or process possesses a given attribute.”
Software Metrics Software Engineering.
1 Estimation Function Point Analysis December 5, 2006.
Software Project Management Lecture # 3. Outline Chapter 22- “Metrics for Process & Projects”  Measurement  Measures  Metrics  Software Metrics Process.
Software Metrics – part 2 Mehran Rezaei. Software Metrics Objectives – Provide State-of-art measurement of software products, processes and projects Why.
Lecture 4 Software Metrics
Copyright © 1994 Carnegie Mellon University Disciplined Software Engineering - Lecture 3 1 Software Size Estimation I Material adapted from: Disciplined.
Project Planning and Estimation
Quality Software Project Management Software Size and Reuse Estimating.
Estimation - Software Metrics Managers frequently have to measure the productivity of software engineers.
Function Point Analysis. Function Points Analysis (FPA) What is Function Point Analysis (FPA)? Function points are a standard unit of measure that represent.
SEG3300 A&B W2004R.L. Probert1 COCOMO Models Ognian Kabranov.
SOFTWARE METRICS. Software Process Revisited The Software Process has a common process framework containing: u framework activities - for all software.
©Ian Sommerville 2000Software Engineering, 7th edition. Chapter 26Slide 1 Software cost estimation l Predicting the resources required for a software development.
SOFTWARE PROCESS AND PROJECT METRICS. Topic Covered  Metrics in the process and project domains  Process, project and measurement  Process Metrics.
CSc 461/561 Information Systems Engineering Lecture 5 – Software Metrics.
Estimating “Size” of Software There are many ways to estimate the volume or size of software. ( understanding requirements is key to this activity ) –We.
Effort Estimation In WBS,one can estimate effort (micro-level) but needed to know: –Size of the deliverable –Productivity of resource in producing that.
Department of Computing and Information Sciences MSE Project Presentation 1 A Three-tier On-line Model For Transaction- based Applications Using VB.NET.
540f07cost12oct41 Reviews Postmortem u Surprises? u Use white background on slides u Do not zip files on CD u Team leader should introduce team members.
Advanced Software Engineering Lecture 4: Process & Project Metrics.
Chapter 22 Metrics for Process and Projects Software Engineering: A Practitioner’s Approach 6 th Edition Roger S. Pressman.
FUNCTION POINT ANALYSIS & ESTIMATION
Intro to Estimating Part Art, Part Science. Importance of Good Estimates Time (Realistic Deadlines) most software projects are late because the time was.
Software Project Management Lecture # 3. Outline Metrics for Process and Projects  Introduction  Software Metrics Process metrics Project metrics Direct.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Cost9b 1 Living with Function Points Bernstein and Lubashevsky Text pp
Estimation Questions How do you estimate? What are you going to estimate? Where do you start?
Cost23 1 Question of the Day u Which of the following things measure the “size” of the project in terms of the functionality that has to be provided in.
Software Engineering Rekayasa Perangkat Lunak
Sizing With Function Points
Function Point Analysis
Software Planning
Rekayasa Perangkat Lunak
Lecture 17 Software Metrics
Function Point.
Software Metrics “How do we measure the software?”
Activities During SPP Size Estimation
More on Estimation In general, effort estimation is based on several parameters and the model ( E= a + b*S**c ): Personnel Environment Quality Size or.
COCOMO Models.
Software metrics.
Rekayasa Perangkat Lunak
Process and Project Metrics
Software Effort Estimation
COCOMO MODEL.
Presentation transcript:

Software Engineering SM ? 1

Outline of this presentation What is SM The Need for SM Type of SM Size Oriented Metric Function Oriented Metric 218/10/2015

Software Metric A metric is a measurement of some aspect of the software product or the software process 318/10/2015

Software Metric We take metrics for a variety of reasons – to measure the quality of a product – to assess the productivity of the people building the product – to assess the benefits (productivity and quality) of new software tools – to form a baseline so we can estimate for new tools – to help justify requests for new tools or additional training 4 What is SM 18/10/2015

Software Metric Software Development in general – has excessive costs (especially in maintenance) – low productivity – poor quality – lack of standards 5 The Need for SM 18/10/2015

Software Metric Reasons being that we fail to: – set measurable targets – measure the real costs in projects – quantify the quality – properly evaluate new tools and techniques 6 The Need for SM 18/10/2015

Software Metric Size-oriented Metrics Function-oriented Metrics Technical Metrics Human-oriented Metrics Productivity Metrics Quality Metrics 7 Types of Metric

Software Metric Size-oriented Metrics – direct measures of the output and quality of the SE process Function-oriented Metrics – indirect measures of the output and quality of the SE process 8 Types of Metric

Software Metric Technical Metrics – focus on the character of the software, e.g. coupling and cohesion Human-oriented Metrics – information about the method by which people build and use systems 9 Types of Metric

Software Metric Productivity Metrics – focus on the output of the software engineering process Quality Metrics – focus on the conformance of the software to the implicit and explicit user requirements (fitness for use) 10 Types of Metric

Software Metric Built on the past experiences of organisations Direct measures of the software Generally based on the idea of Line of Code or Source Line of Code 11 Size Oriented Metric

Software Metric Primary Examples: – Size of a product = Kilo Lines of Code (KLOC) – Productivity = KLOC/person-month – Quality = number of faults/KLOC – Cost = $/KLOC – Documentation = Pages of Documentation/KLOC 12 Size Oriented Metric (cont.)

Software Metric Comments on Line of Code Defined as one line of text in a source file Modified by a number of factors depending upon your Source Line of Code (SLOC) Counting Standard Simplest Standard – Don ’ t count blank lines – Don ’ t count comments – Count everything else 13 Size Oriented Metric

Software Metric Advantages on Line of Code Artifact of software development which is easily counted Many existing methods use LOC as a key input A large body of literature and data based on LOC already exists 14 Size Oriented Metric

Software Metric Disadvantages of Line of Code Programming language-dependent Well-designed, but shorter programs are penalised Does not easily accommodate non-procedural languages Reuse can be difficult to factor in Difficult to develop a figure for LOC early in the development 15 Size Oriented Metric

Software Metric Concentrate on measuring the functionality of a system Are generally independent of the programming language used The first and by far the most popular is the Function Point & Feature Point 16 FUNCTION Oriented Metric

Software Metric FUNCTION POINT – Developed by Albrecht in 1979 for IBM – Function points are derived using countable measures of the software requirements domain assessments of the software complexity 17 FUNCTION Oriented Metric

Software Metric 18 FP = COUNT-TOTAL X [ x F i ] ∑ where Fi are the 14 complexity adjustment values (gives ±35%) Calculating Function Point FUNCTION Oriented Metric

Software Metric Calculating Count Total for Function Point based on: Number of user inputs Number of user outputs Number of user inquiries Number of files Number of external interfaces 19 FUNCTION Oriented Metric

Software Metric Number of user inputs – each user input which provides distinct application data to the software is counted Number of user outputs – each user output that provides application data to the user is counted, e.g. screens, reports, error messages 20 FUNCTION Oriented Metric

Software Metric Number of user inquiries – An on-line input that results in the generation of some immediate software response in the form of an output Number of files – each logical master file, i.e. a logical grouping of data that may be part of a database or a separate file Number of external interfaces – all machine-readable interfaces that are used to transmit information to another system are counted 21 FUNCTION Oriented Metric

Software Metric 22 Weighting Factor Measurement parameter Count Simple Average Complex Total Number of user Inputs x3 x4 x6 = Number of user outputs x4 x5 x7 = Number of user Inquiries x3 x4 x6 = Number of files x7 x10 x15 = Number of external interfaces x5 x7 x10 = COUNT TOTAL = + ? Calculating Count Total FUNCTION Oriented Metric

Software Metric We now assess the software complexity Rate each of the factors on the next 2 slides according to the following scale: – 0 - No influence – 1 - Incidental – 2 - Moderate – 3 - Average – 4 - Significant – 5 - Essential 23 Calculating Complexity Adjustment FUNCTION Oriented Metric

14 Complexity Adjustment Questions 1.Does the system require reliable backup and recovery? 2.Are data communications required? 3.Are there distributed processing functions? 4.Is performance critical? 5.Will the system run in an existing, heavily utilised operational environment? 6.Does the system require on-line data entry? 7.Does the on-line data entry require the input transaction to be built over multiple screens or operations? 24 FUNCTION Oriented Metric Software Metric

8.Are the master files updated on-line? 9.Are the inputs, outputs, files or inquiries complex? 10.Is the internal processing complex? 11.Is the code designed to be reusable? 12.Are conversion and installation included in the design? 13.Is the system designed for multiple installations in different organisations? 14.Is the application designed to facilitate change and ease of use by the user? 25 FUNCTION Oriented Metric 14 Complexity Adjustment Questions

Software Metric Advantage Programming language-independent Based on data which are known early in the project Significant bodies of data available 26 FUNCTION Oriented Metric

Software Metric Disadvantages Developed for business systems and therefore only valid for that domain (Feature Points which extend Function Points by also measuring algorithmic numbers solves this to some extent ) Many aspects are subjective and have not been validated Function Points have no physical meaning, it ’ s just a number 27 FUNCTION Oriented Metric

Software Metric 28 Small project : < 2000 Function Points Medium Project : 2,000 to 10,000 Function Points Large Project : > 10,000 Function Points FUNCTION Oriented Metric Some Figures

Software Metric 29 FP = COUNT-TOTAL X [ x F i ] ∑ where Fi are the 14 complexity adjustment values (gives ±35%) Calculating Feature Point FUNCTION Oriented Metric

Software Metric Calculating Count Total for Feature Point base on Number of user inputs Number of user outputs Number of user inquiries Number of files Number of external interfaces Number of algorithm 30 FUNCTION Oriented Metric

Software Metric Number of algorithm – all complex algorithm in creating program and in every aspect of Inputs Outputs Inquiries Files External interfaces 31 FUNCTION Oriented Metric Calculating Count Total for Feature Point

Software Metric 32 Weighting Measurement parameter Count Factor Total Number of user Inputs x4 = Number of user outputs x5 = Number of user Inquiries x4 = Number of files x7 = Number of external interfaces x7 = Number of algorithm x3 = Count total + ? FUNCTION Oriented Metric Calculating Count Total for Feature Point

33

Terimakasih….. Untuk mahasiswa/i yang tidak ngantuk dan tetap konsentrasi Mengikuti Perkuliahan. Sampai berjumpa minggu depan …….. (Dalam perkuliahan dan dosen yang sama)