Introduction to Measurement According to Lord Kelvin When

  • Slides: 20
Download presentation
Introduction to Measurement

Introduction to Measurement

According to Lord Kelvin “When you can measure what you are speaking about and

According to Lord Kelvin “When you can measure what you are speaking about and express it in numbers, you know something about it; but when you cannot measure, when you cannot express it in numbers, your knowledge is of a meager and unsatisfactory kind; it may be the beginning of knowledge, but you have scarcely, in your thoughts, advanced to the stage of a science. ”

What is Measurement? o Measurement is the process by which numbers or symbols are

What is Measurement? o Measurement is the process by which numbers or symbols are assigned to attributes of entities in the real world in such way as to describe them according to clearly defined rules.

Why do we Measure? o To characterize

Why do we Measure? o To characterize

Why do we Measure? o To characterize o To evaluate

Why do we Measure? o To characterize o To evaluate

Why do we Measure? o To characterize o To evaluate o To predict

Why do we Measure? o To characterize o To evaluate o To predict

Why do we Measure? o To characterize o To evaluate o To predict o

Why do we Measure? o To characterize o To evaluate o To predict o To improve

Some Difficult Measurement Questions o In a room with blue walls, is “blue” a

Some Difficult Measurement Questions o In a room with blue walls, is “blue” a measure of the color of the room? o Can intelligence be measured? Is IQ an adequate measure? o Should we reject measures because they cannot be accurately measured or because they depend on the judgment of the person doing the measuring?

Some Difficult Measurement Questions (Cont’d) o How do we decide which error margins are

Some Difficult Measurement Questions (Cont’d) o How do we decide which error margins are acceptable in measurement and which are not? o How do we determine the correct scale for a given measurement? o What kinds of manipulation are we able to do to our measurements and still have meaningful results?

Galileo Galilei (1564 – 1642) “What is not measurable make measurable”

Galileo Galilei (1564 – 1642) “What is not measurable make measurable”

Direct and Indirect Measures o Direct Measures – direct quantification as in measuring the

Direct and Indirect Measures o Direct Measures – direct quantification as in measuring the height of a person. o Indirect Measure – calculations involving multiple measures as in a grade point average.

Measurement in Software Engineering o Computer Science provides theoretical foundations for building software. o

Measurement in Software Engineering o Computer Science provides theoretical foundations for building software. o Engineering focuses on implementing the software in a controlled and scientific way.

Neglect of Measurement in Software Engineering o Failure to set measurable targets for our

Neglect of Measurement in Software Engineering o Failure to set measurable targets for our software products. (“Projects without clear goals will not achieve their goals clearly, ” Tom Gilb) o Failure to understand quantify the component costs of software projects. o Failure to quantify or predict the quality of produced products. o Guided by anecdotal evidence in deciding to try new approaches instead of doing carefully controlled studies

Tom De. Marco (1982) “You cannot control what you cannot measure”

Tom De. Marco (1982) “You cannot control what you cannot measure”

Objectives for Software Measurement (Managers) o What does each process cost? o How productive

Objectives for Software Measurement (Managers) o What does each process cost? o How productive is the staff? o How good is the code being developed? o Will the user be satisfied with the product? o How can we improve?

Objectives for Software Measurement (Engineers) o Are the requirements testable? o Have we found

Objectives for Software Measurement (Engineers) o Are the requirements testable? o Have we found all the faults? o Have we met our product or process goals? o What will happen in the future?

Purposes of Measurement in Software Engineering o Understand o Control o Improve

Purposes of Measurement in Software Engineering o Understand o Control o Improve

The Scope of Software Metrics o Cost and effort estimation o Productivity measures and

The Scope of Software Metrics o Cost and effort estimation o Productivity measures and models o Data collection o Quality models and measures o Reliability models o Performance evaluation and models o Structural and complexity metrics o Capability maturity assessment o Management by metrics o Evaluation of methods and tools

Productivity Measures and Models

Productivity Measures and Models

Quality Models and Measures

Quality Models and Measures