Lecture 17 Software Metrics

Slides:



Advertisements
Similar presentations
Project Estimation: Metrics and Measurement
Advertisements

So far.. We have covered a) Requirements gathering: observation & interview. b) Requirements specification. c) Requirements validation. d) Design/paper.
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
1 Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Chapter3: Language Translation issues
1 Introduction to Software Engineering Lecture 42 – Communication Skills.
Ch3: Software Engineering Principles 1 What is a principle?  Definition:  Goals of accounting principles:  Goals of software engineering principles?
March R. McFadyen1 Software Metrics Software metrics help evaluate development and testing efforts needed, understandability, maintainability.
Project Management Metrics.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 8: Introduction to High-level Language Programming Invitation to Computer Science, C++ Version, Third Edition.
SOFTWARE PROJECT MANAGEMENT AND COST ESTIMATION © University of LiverpoolCOMP 319slide 1.
Software Metrics.
Software Metric capture notions of size and complexity.
University of Toronto Department of Computer Science © 2001, Steve Easterbrook CSC444 Lec22 1 Lecture 22: Software Measurement Basics of software measurement.
Lecture 17 Software Metrics
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.
COCOMO Models Ognian Kabranov SEG3300 A&B W2004 R.L. Probert.
1 Computing Software. Programming Style Programs that are not documented internally, while they may do what is requested, can be difficult to understand.
Chapter 6 : Software Metrics
1Software Measurement Advanced Software Engineering COM360 University of Sunderland © 2001.
Software Metrics Software Engineering.
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.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
Software Metrics (Part II). Product Metrics  Product metrics are generally concerned with the structure of the source code (example LOC).  Product metrics.
Software Quality Metrics
Lecture 4 Software Metrics
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Cost Estimation. Problem Our ability to realistically plan and schedule projects depends on our ability to estimate project costs and development efforts.
SEG3300 A&B W2004R.L. Probert1 COCOMO Models Ognian Kabranov.
1 Ch. 1: Software Development (Read) 5 Phases of Software Life Cycle: Problem Analysis and Specification Design Implementation (Coding) Testing, Execution.
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.
Program Development C# Programming January 30, 2007 Professor J. Sciame.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Software Engineering Issues Software Engineering Concepts System Specifications Procedural Design Object-Oriented Design System Testing.
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.
The Hashemite University Computer Engineering Department
FUNCTION POINT ANALYSIS & ESTIMATION
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Cost9b 1 Living with Function Points Bernstein and Lubashevsky Text pp
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.
Static Software Metrics Tool
Principles of Programming & Software Engineering
Metrics of Software Quality
CSCI-235 Micro-Computer Applications
Software metric By Deepika Chaudhary.
Sizing With Function Points
Part 3 Design What does design mean in different fields?
Introduction to C++.
FORMAL SYSTEM DEVELOPMENT METHODOLOGIES
Function Point Analysis
Software Planning
An Introduction to Visual Basic .NET and Program Design
Assembler, Compiler, Interpreter
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
CS223: Software Engineering
Halstead software science measures and other metrics for source code
Software Metrics “How do we measure the software?”
COCOMO Models.
Assembler, Compiler, Interpreter
Information Flow Metric
CS310 Software Engineering Lecturer Dr.Doaa Sami
Software metrics.
Software Effort Estimation
Design Module view What module should the system and which have to be developed . It determines the module structure of components.
Cohesion and Coupling.
COCOMO MODEL.
PYTHON - VARIABLES AND OPERATORS
Presentation transcript:

Lecture 17 Software Metrics Software Engineering Lecture 17 Software Metrics

What is a Software Metric? Quantitative measure of the quality of software. Measure of the difficulty of testing, understanding, or maintaining a piece of software Measure of ease of using software

Size Metrics The larger the more complex – There are many ways to define size of a program 1. Lines of Code (LOC) Standard definition of LOC Count number of lines and data definitions Do not count comment lines Count a line containing both a statement or part of a statement and a comment as an executable line.

Problems with LOC Lack of a Standard definition for line of code. Application written in multiple language. Size variation due to individual programming style.

Size Metrics 2. Number of Tokens -- A detailed measure of size Size of program is number of tokens, where a token is a lexical token keyword, arithmetic operator, constants, grouping symbol such as parenthesis or bracket and so forth)

Data Structure Metrics A count of amount of data input to , processed in, and output from software is called data structure metrics.

Information Flow Metrics A coupling module increases with the complexity of interface and the total number of modules a module is coupled with. We want a metric that is better at quantifying coupling between modules. The information flow metrics attempt to define the complexity in terms of the total information flowing through a module

The complexity of module is considered as depending on the intra module complexity and the inter module complexity. intra module complexity- size of the module in LOC inter module complexity- Total information flowing in the module(inflow) and total info flowing out of the module(outflow

Design complexity Dc= size*(inflow*outflow)raise to the power 2 Module complexity also depends upon no of modules to or from which it is flowing. Dc= fan_in*fan_out+inflow*outflow Fan_in- the no of modules that call this module Fan_out- no of modules this module calls

Error prone Dc > avg_complexity+ std_deviation Complex Avg_complexity <DC<Avg_complexity+std_deviation Normal Otherwise

Function Points Weighted sum of following: 1. External inputs - provided by user that describe distinct application-oriented data (e.g. file names) 2. External outputs - items provided to user that generate distinct application-oriented data (e.g. reports) 3. External inquiries - interactive inputs requiring a response 4. External files - machine readable interfaces to other systems 5. Internal files - logical master files in the system