• Keine Ergebnisse gefunden

ManagementDr. Stefan Wagner

N/A
N/A
Protected

Academic year: 2021

Aktie "ManagementDr. Stefan Wagner"

Copied!
42
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Technische Universität München

Management

Dr. Stefan Wagner

Technische Universität München

Garching 25 June 2010

Software Quality

1

(2)

Last QOT: Do CMMI level 5

companies produce software with higher quality than CMMI level 1 companies?

"Yes, because the CMMI 5 companies have a good and standard process."

"No."

"Process quality doesn't necessarily lead to product quality! But on average it

does."

2

The answer is of course not a simple yes or no, but a "it depends". On average CMMI level 5 companies

tend to have higher quality, but considering the the whole range, this is not the case.

New QOT: "What is the most important principle in lean development?"

(3)

Quality

measures

Visualisation

3

Review of last week's lecture.

(4)

ISO 9000 Post mortem

analysis

CMMI/SPICE

4

Review of last week's lecture.

(5)

Product

Metrics and

Measurement

Management

Certifi- cation Process

Quality

Quality Quality Basics

5

We are in the part "Process Quality".

(6)

Process

simulation

Lean

development

6

Today, we cover simulating process and lean development.

(7)

Process simulation

7

(8)

Test process model

Initial Writing test specifications

Writing test cases Executing

tests

Documenting

failures End

Requirements

Source code

Executable

Failures Change

requests Test problems

Changed

requirements Specification problems

8

This is an extremely simplified state machine model of a test process.

It describes in which states the process can be and what is input and output at state transitions.

(9)

Test process model

Initial Writing test specifications

Writing test cases Executing

tests

Documenting

failures End

Requirements

Source code

Executable

Failures Change

requests Test problems

Changed

requirements Specification problems

0.7

0.2 0.1

9

One way to enhance the state model is to add probabilities.

In this example, the probability that the process goes from the state "executing tests" to the state "documenting failures"

is 70%, to the state "writing test cases" 20%, and to "writing test specifications" 10%.

Using this information, we can calculate the most likely path through the process, for example.

(10)

Test process model

Initial Writing test specifications

Writing test cases Executing

tests

Documenting

failures End

Requirements

Source code

Executable

Failures Change

requests Test problems

Changed

requirements Specification problems

10h

30h 40h

20h

10

Another way to enrich the model is to add average durations to the states, for example, executing the tests

takes 10 hours.

We can calculate average or maximum durations of processes using this information.

(11)

Why simulate?

• Strategic management

• Planning

• Control and operational management

• Process improvement and technology adoption

• Understanding

• Training and learning

Kellner, Madachy, Raffo (1999)

11

Strategic management: Outsource/inhouse, distributed/one location, COTS/custom Planning: Effort or schedule forecast, resource constraints, risks

Control and operational management: Tracking of key project parameters, decision making

Process improvement and technology adoption: comparison of process alternatives, what tool support

Understanding: understand process flow, flow of work products, animated simulations Training and learning: practice project management, likely impacts of common decisions

(12)

Process abstraction Result

variables Model scope

Input parameters

Model purpose

Kellner, Madachy, Raffo (1999)

12

Model purpose: Key questions to address

Model scope: Organisational breadth, time span

Result variables: Metrics/model outputs designed to address key questions Process abstraction: Level of process detail captured

Input parameters: Data and information needed to compute result variables

(13)

Simulation approaches

• State-based process models

• General discrete event simulations

• System dynamics (or continuous simulation)

• Rule-based languages

• Petri-net models

• Queueing models

• Project management (CPM, PERT)

• Scheduling approaches

Kellner, Madachy, Raffo (1999)

13

PERT: Program evaluation and review technique CPM: Critical path method

(14)

System dynamics

14

Jay Forrester (MIT) developed system dynamic in the mid 1950 to describe complex systems.

It consists of

Feedback loops

Stocks and flows

The example here shows how a new product is adopted.

Source: http://en.wikipedia.org/wiki/File:Adoption_SFD.gif

(15)

Causal loop diagram

15

The causal loop diagram specifies such feedback loops.

Here, the number of adopters is influenced by the adoption rate, but the number of adopters also influences

the adoption rate. Similarly, the adoption rate and the number of potential adopters influence each other.

Source: http://en.wikipedia.org/wiki/File:Adoption_CLD.gif

(16)

Causal loop diagram

16

This is the implementation of the causal loop in a software tool.

Source: http://en.wikipedia.org/wiki/File:Adoption_CLD_ANI.gif

(17)

Stock and flow diagrams

17

The stock and flow diagram adds the actual numbers of available potential adopters, new adopters,

and adopters.

Source: http://en.wikipedia.org/wiki/File:Adoption_SFD.gif

(18)

Stock and flow diagrams

18

Again, the implementation in a tool.

Source: http://en.wikipedia.org/wiki/File:Adoption_SFD_ANI_s.gif

(19)

19

Here, we have the complete implementation with the generated curves for the factors, we are interested in.

For example, the curve for the stock "Adopters" grows following an S-shape.

Source: http://en.wikipedia.org/wiki/File:Adoption_SFD_ANI.gif

(20)

Process

simulation

Lean

development

20

(21)

Lean development

21

(22)

Perfection is

not when there's nothing to add,

but when there's nothing to take away.  

–Antoine

de Saint-Exupéry

22

The painting is Black Square from Kazimir Malevich.

(23)

Continuous improvement

Respect for people

23

Lean development originates from the Toyota production system.

Two main principles in lean development are the two shown on this slide.

(24)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

24

Lean thinking house from Larman, Vodde (2009)

(25)

Goal

Sustainable shortest lead time

Best quality and value (to people and society) Most customer delight

Lowest cost High morale Safety

25

(26)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

26

Lean thinking house

(27)

Foundation

Expert

knowledge of the work

Only general management knowledge

Bottom-up Coach/mentor,

builder of a learning organisation

facilitator

Top-down Detailed task

manager Bureaucrat

27

Management applies and teaches lean thinking, and bases decisions on this long-term philosophy

(28)

Go See

28

This principles says that you as a manager should not just sit behind a desk and give orders, but you need

to go and see the problems for yourself to understand them.

(29)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

29

Lean thinking house

(30)

Respect for people

• Develop people and then build products

• Don't trouble your customers

• Managers "walk the talk"

• Teams & individuals evolve their own practices and

improvements

• Develop teams

• Build partners

30

(31)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

31

Lean thinking house

(32)

Continuous improve-

ment

Go see

• Perfection challenge

• No final process

Kaizen

32

Also "go see".

(33)

Kaizen

33

Step 1—Choose and practice techniques the team has agreed to try, until they are well understood (master standardized work).

Steps 2 and 3—Small, incremental, relentless change of anything.

Kaizen events 5 Whys

Value and Waste

(34)

Reduce waste

34

(35)

Group work

• Find examples for wastes in software engineering processes!

• Types

– Overproduction – Waiting

– Handoff

– Relearning/reinvention – Partially done work – Task switching

– Defects

– Under-realising people's skills – Knowledge loss

– Whishful thinking

4 Groups 10 Minutes

1 Example for each type

35

(36)

36

(37)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

37

Lean thinking house

(38)

principles 14

1. Long-term philosophy 2. Flow

3. Pull systems

4. Level the work

5. Stopping and fixing problems 6. Master norms

7. Simple visual management 8. Well-tested technology

9. Leaders and teachers 10. Exceptional people

11. Helping partners improve 12. Go see

13. Slow decisions, rapid implementation 14. Relentless reflection, kaizen

38

(39)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

39

Lean thinking house

(40)

Product develop-

ment

Outlearn the competition!

40

(41)

Foundation Respect for

people

Continuous improve-

ment Product

develop- ment

principles 14 Goal

41

Lean thinking house

(42)

Process

simulation

Lean

development

42

Referenzen

ÄHNLICHE DOKUMENTE

This story of Abü 'Abdallah Muhammad is told in essentially the same. way by the Muslim Ibn

ben, so daß ihre Aufarbeitung dringend geboten erschien. wertet die Lit.- Kritik deshalb nicht nur liir seine Lit.-Gesch. aus, sondern gibt in den letzten 3 Kapp, auch eine Gesch.

Li Yüan does not give the source of these figures, see Shu-shui ching 5.25a. Conceming this

the name for the so-called Egyptian Lotus (see above), is given for alii and ämpal, whereas neytal is explained as "white Indian water-lily, Nymphea lotus alba, blue

any text or inscription written in the Middle Iranian languages; this should. not really surprise us as the extant texts, grosso modo, deal with

The stelae dedicated to Suchus "the lord of Smen", and of "the Imit-tree" , uncovered on the temple ground and thereabout.. were placed there by great personages,

In order to give as exact a picture as possible of the Congress, the Proceedings include the Programme, too, but of course as it actually took place according to conveners'

Hammerschmiclt (Hrsg.): Proceedings ofthe XXXII Intemational Congress for Asian and Nonh African Studies, Hamburg, 25th-30lh August 1986 (ZDMG-Suppl... in Los Angeles in