Software Metrics  The measurement of a particular characteristic of a software program's performance or efficiency. (http://www.bitpipe.com/tlist/Software-

Slides:



Advertisements
Similar presentations
Scale Types.
Advertisements

Basic Issues in Measurements P M V Subbarao Professor Mechanical Engineering Department How to generate reliable Numbers?????
Lecture 1: Basic Descriptive Statistics 1.Types of Biological Data 2.Summary Descriptive Statistics Measures of Central Tendency Measures of Dispersion.
EDU 660 Methods of Educational Research Descriptive Statistics John Wilson Ph.D.
Chapter 1 A First Look at Statistics and Data Collection.
LECTURE 9.
Statistics.
QUANTITATIVE DATA ANALYSIS
A GOAL-BASED FRAMEWORK FOR SOFTWARE MEASUREMENT
Nominal Level Measurement n numbers used as ways to identify or name categories n numbers do not indicate degrees of a variable but simple groupings of.
Software metrics Selected key concepts. Introduction Motivation:  Management:  Appraisal  Assurance  Control  Improvement  Research:  Cause-effect.
© Vipin Kumar CSci 8980 Fall CSci 8980: Data Mining (Fall 2002) Vipin Kumar Army High Performance Computing Research Center Department of Computer.
Methods and Measurement in Psychology. Statistics THE DESCRIPTION, ORGANIZATION AND INTERPRATATION OF DATA.
Descriptive Statistics: Part One Farrokh Alemi Ph.D. Kashif Haqqi M.D.
Measurement and Data Quality
Descriptive Statistics Used to describe the basic features of the data in any quantitative study. Both graphical displays and descriptive summary statistics.
Slide 9-1 © 1999 South-Western Publishing McDaniel Gates Contemporary Marketing Research, 4e Understanding Measurement Carl McDaniel, Jr. Roger Gates Slides.
Statistics in psychology Describing and analyzing the data.
Fundamentals of Measurement by Michael Everton (mxe06u)
Copyright © 2008 by Nelson, a division of Thomson Canada Limited Chapter 11 Part 3 Measurement Concepts MEASUREMENT.
Measurement theory - for the interested student Erland Jonsson Department of Computer Science and Engineering Chalmers University of Technology.
1 Concepts of Variables Greg C Elvers, Ph.D.. 2 Levels of Measurement When we observe and record a variable, it has characteristics that influence the.
Chapter 5 Conceptualization, Operationalization, and Measurement.
Statistics 300: Introduction to Probability and Statistics Section 1-2.
1Software Measurement Advanced Software Engineering COM360 University of Sunderland © 2001.
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/ Data Mining Basics: Data Remark: Discusses “basics concerning data sets (first half of Chapter.
Analysing your evidence. What sort of evidence/data will you have? You need to plan how you will analyse the data before you collect it If not you may.
Chapter 4: Test administration. z scores Standard score expressed in terms of standard deviation units which indicates distance raw score is from mean.
Counseling Research: Quantitative, Qualitative, and Mixed Methods, 1e © 2010 Pearson Education, Inc. All rights reserved. Basic Statistical Concepts Sang.
Variables and their Operational Definitions
Chap 1-1 Chapter 1 Introduction and Data Collection Business Statistics.
Psychology 101. Statistics THE DESCRIPTION, ORGANIZATION AND INTERPRATATION OF DATA.
Scale2 1 Measurement Scales The “richness” of the measure.
Chapter 13 Descriptive Data Analysis. Statistics  Science is empirical in that knowledge is acquired by observation  Data collection requires that we.
Introduction to Measurement. According to Lord Kelvin “When you can measure what you are speaking about and express it in numbers, you know something.
740f02measure17 1 An Evaluation of the MOOD Set of Object-Oriented Software Metrics Harrison, Counsell and Nithi IEEE Trans on Soft Eng June 1998.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 16: reliability and validity.
Psychometrics. Goals of statistics Describe what is happening now –DESCRIPTIVE STATISTICS Determine what is probably happening or what might happen in.
Chapter 7 Measuring of data Reliability of measuring instruments The reliability* of instrument is the consistency with which it measures the target attribute.
F02measure13 1 Software Measurement Measurement is essential for a science.
1 What is Data? l An attribute is a property or characteristic of an object l Examples: eye color of a person, temperature, etc. l Attribute is also known.
1.2 Data Classification Qualitative Data consist of attributes, labels, or non-numerical entries. – Examples are bigger, color, names, etc. Quantitative.
Software Measurement: A Necessary Scientific Basis By Norman Fenton Presented by Siv Hilde Houmb Friday 1 November.
Measurement - part 5 1 An Evaluation of the MOOD Set of Object-Oriented Software Metrics Harrison, Counsell and Nithi IEEE Trans on Soft Eng June 1998.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 1-1 Chapter 1 Introduction and Data Collection Basic Business Statistics 10 th Edition.
Introduction and Data Collection Basic Business Statistics 10 th Edition.
1 Basic Geographic Concepts Real World  Digital Environment Data in a GIS represent a simplified view of physical entities or phenomena 1. Spatial location.
Types of Data Bell Ringer Come up with 4 types of data you think could represent all the kinds of data that could be collected.
© 2009 Pearson Prentice Hall, Salkind. Chapter 5 Measurement, Reliability and Validity.
Emilia Mendes Professora Visitante CAPES/ Associate Professor Univ. Auckland, NZ. Introdução a Métricas, Qualidade e Medição de Software.
Software METRICS. Intro Measurement is essential to life economic measurement... clinical measurement... air traffic control... etc., etc., etc....
Data Preliminaries CSC 600: Data Mining Class 1.
2.1 Data Types and Levels of Measurement
Elementary Statistics
2.1 Data Types and Levels of Measurement
Lecture Notes for Chapter 2 Introduction to Data Mining
مقدمة في الإحصاء الحيوي مع تطبيقات برنامج الحزم الإحصائية SPSS
Correlational Studies
Statistics in psychology
Understanding Averages
Computing Reliability
The Basic of Measurement
Chapter 5 Conceptualization, Operationalization, and Measurement
Introduction to Statistics
CIS 746 Software Measurement
15.1 The Role of Statistics in the Research Process
DESCRIPTIVE STATISTICS BORAM KANG
Data Preliminaries CSC 576: Data Mining.
Measurement Measurement is the assignment of numbers (or other symbols) to characteristics (or objects) according to certain pre-specified rules. One-to-one.
Presentation transcript:

Software Metrics  The measurement of a particular characteristic of a software program's performance or efficiency. ( Metrics.html).

Software Metrics  Software metrics is a collective term used to describe the very wide range of activities concerned with measurement in software engineering.  These activities range from producing numbers that characterize properties of software code (these are the classic software ‘metrics’) through to models that help predict software resource requirements and software quality. ( trics_roadmap.pdf).

Software Metrics  The history of software metrics dates back to the mid-1960’s when the Lines of Code metric was used as the basis for measuring programming productivity and effort. The first dedicated book on software metrics was not published until 1976.

Validation  Validation of a software metric is the process of ensuring that the metric is a proper numerical characterization of the claimed attribute. A software metric is only valid if it can be shown to be an accurate predictor of some software attribute of general interest like cost or reliability.

Software Metrics  The following are criteria for valid metrics : 1. A metric must allow different entities to be distinguished. 2. A metric must obey a representation condition. A representation condition is the condition that the rules assigning the metric properly characterizes the attribute measured.

Software Metrics 3. Each unit of the attribute must contribute an equivalent amount to the metric. For example, if we are counting lines of code, the attribute would be “lines of code” and we do not give different weights to different lines of code. Each line counts “one”.

Software Metrics 4. Different entities can have the same attribute values. For example, horses and people both have the attribute “height” which can be “measured” using a “metric”.

Software Metrics  Many times the attribute of interest is not directly measurable.  In this case an indirect measure is used. For example, you can’t directly measure the temperature on the surface of the sun, so an indirect measure is used. For example, you can’t directly measure the temperature on the surface of the sun, so an indirect measure is used.

Software Metrics  An indirect measure involves a measure and a prediction formula. For example, you cannot calculate density directly. First you measure mass and volume, then you can calculate density=Mass/Volume. For example, you cannot calculate density directly. First you measure mass and volume, then you can calculate density=Mass/Volume.

Software Metrics  In computer science, many of the “ilities” cannot be measured directly. These include: maintainability maintainability readability readability testability testability quality quality (not a true “ility”) reusability reusability complexity complexity (another non-“ility”)

Software Metrics  The following are criteria for valid indirect metrics: The model must be explicitly defined. The model must be explicitly defined. What in the world is a “explicitly defined”? For example, the model for density is described by the equation d = m/v. Since both mass and volume are directly measurable, density is explicitly defined.

Software Metrics 2. The model must be dimensionally consistent. For example, if you wanted to measure distance using velocity and time (d = v*t), you would not want velocity to be measured in ft/sec and time to be measured in hours.

Software Metrics 3. There should be no unexpected discontinuities. For example, using the following formula to measure “doodles”: Doodle metric = LOC / (LOC – 10) This metric would cause an unexpected discontinuity at 10 lines of code.

Software Metrics 4. Units and scale types must be correct. For example, you would not measure height in pounds or weight in inches.

Monotonicity  A metric is monotonic if it is a non-decreasing function of the attribute(s). For example, what this means for lines of code is that as the size of the program increases, the number of lines of code increases. For example, what this means for lines of code is that as the size of the program increases, the number of lines of code increases.

Measurement Scales  Measurement scales are “types” of data used in analysis. There are five types of data: There are five types of data: 1. Nominal – symbols without any order. For example, social security numbers.

Measurement Scales 2. Ordinal data – can be ordered, but no arithmetic. Example: ranking things like who can play basketball better 3. Interval data – the difference makes sense. Example: temperature

Measurement Scales 4. Ratio data – the ratio of two data items makes sense. For example, temperature measured in Fahrenheit is not ratio data. 64 degrees Fahrenheit is not twice as hot as 32 degrees Fahrenheit. Height and weight are ratio data.

Measurement Scales 5. Absolute data – can be counted (discrete) and the ratio, difference, and ordering all make sense. Example: One BILLION dollars

What statistics make sense  Nominal – mode, median, percentiles Ordinal – rank measures Ordinal – rank measures Interval – standard deviation, correlation Interval – standard deviation, correlation Ratio – all stats Ratio – all stats Absolute – all stats Absolute – all stats