Professional Documents
Culture Documents
UNIT1
UNIT1
MEASUREMENT
MEASUREMENT IN EVERYDAY LIFE
MEASUREMENT IN EVERYDAY LIFE
MEASUREMENT IN EVERYDAY LIFE
MEASUREMENT IN EVERYDAY LIFE
MEASUREMENT IN EVERYDAY LIFE
MEASUREMENT IN SOFTWARE ENGINEERING
• The below productivity model illustrate various components that contribute to overall productivity. It shows
productivity as a function of value and cost
• Many mangers make decisions based on the rate at which lines of code are being written per person month of effort
SCOPE OF SOFTWARE METRICS
• Data Collection
• The quality of any measurement program is dependent on careful data collection
• Metric data collection must be planned and executed in careful and sensitive manner
• The data collected can be distilled into simple charts and graphs the show mangers the progress and
problem of development
SCOPE OF SOFTWARE METRICS
• Quality models and measures
• Without an accompanying assessment of product quality, speed of the production is meaningless
• This has made software engineers to develop models of quality.
SCOPE OF SOFTWARE METRICS
• The diagram of consists of quality factors of product such as reliability, usability etc. Each
quality factor is composed of lower level criteria such as structuredness and traceability
• The criteria are easier to understand and measure than the factors
• The actual measures are proposed for the criteria
• Reliability models
• Most quality models include reliability as a component factor
• But the need to predict and measure reliability itself has led to a separate specialization
in reliability modelling and prediction
SCOPE OF SOFTWARE METRICS
• Empirical Relation
REPRESENTATIONAL THEORY OF MEASUREMENT
• Empirical Relation
REPRESENTATIONAL THEORY OF MEASUREMENT
Rules of Mapping
REPRESENTATIONAL THEORY OF MEASUREMENT
• Model is an abstraction of reality, allowing us to strip away detail and view an entity or concept from particular
perspective
• Eg: Cost models permit us to examine only those project aspects that contribute to the project’s final cost
• Models comes in different form
• Equations
• Mapping
• Diagram
• Representation condition requires every measure to be associate with a model of how the measure maps the
entities and attributes in the real world to the elements of a numerical system
• These models are essential in understanding not only how the measure is derived, but also how to interpret
the behavior of the numerical elements when we return to the real world
MEASUREMENT AND MODELS
• Defining attributes
• There is always danger that we focus too much on the formal,
mathematical system, not enough on the empirical one
• We rush to create mappings and then manipulate numbers, without
giving careful thought to the relationships among entities and their
attributes in the real world
Defining Attribute
• Predication system
• It consists of a mathematical model together with a set of prediction
procedures for determining unknown parameters and interpreting results
MEASUREMENT SCALES
• Nominal
• Ordinal
• Interval
• Ratio
• Absolute
WHY IS LEVEL OF MEASUREMENT IMPORTANT?
Nominal
THE HIERARCHY OF LEVELS
Ordinal
Interval
Ordinal Attributes can be ordered
Ratio
Interval Distance is meaningful
Identify the following as nominal level, ordinal level, interval level, or ratio level
data.
Nominal
1. Flavors of frozen yogurt ________________
2. Amount of money in savings accounts________________Ratio
3. Students classified by their reading ability: Above average (50-70), Below
average (<30), Normal (30-50) ________________
Interval
4. Letter grades on an English essay ________________
Ordinal
Nominal
5. Religions ________________
6. Commuting times to work ____________ Ratio
7. Ages (in years) of art students ________________
Ratio
8. Ice cream flavor preference ________________
Ordinal
9. Years of important historical events ________________Interval
10. Instructors classified as: Easy, Difficult or Impossible ________________
Ordinal
MEANINGFULNESS IN MEASUREMENT
• After measurement is made , can we reduce meaningful statements about the entities
being measured
CLASSIFYING SOFTWARE MEASURE
• Requirements
• Time and effort
• Cost effectiveness
• Design
• Time, effort, number of changes
• Cost effectiveness
SAMPLE PROCESS MEASURE
SAMPLE PROCESS MEASURE
RESOURCES ENTITIES AND ATTRIBUTES
• Personnel
• Age, cost
• Experience ,productivity
• Hardware
• Memory, speed, cost
• Reliability, usability
SAMPLE RESOURCE MEASURE
DETERMINING WHAT TO MEASURE
• Many metric program begin by measuring what is convenient or easy to measure, rather
than by measuring what is needed
• A measurement program can be more successful if it is designed with the goals of the
project in mind
• The GQM approach provides a framework involving three steps
GQM
GQM
GQM
TEMPLATES FOR GOAL DEFINITION
SOFTWARE MEASUREMENT VALIDATION