31
Software Engineering Management Main issues: Plan - as much as possible, but not too much, up front Control - continuously

es/cs377_2009/Mgmt.ppt" classTitle

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: es/cs377_2009/Mgmt.ppt" classTitle

Software Engineering Management

Main issues:Plan - as much as possible, but not too much, up frontControl - continuously

Page 2: es/cs377_2009/Mgmt.ppt" classTitle

Concerned with activities involved in ensuring that software is delivered

on time within the budget in accordance with the requirements

Project management is needed because software development is always subject to budget and schedule constraints

Set by the development organisation or the customer

Software project management

Page 3: es/cs377_2009/Mgmt.ppt" classTitle

The product is intangibleThe product is uniquely flexibleThe product is uniquely complexSoftware engineering is not recognized as an

engineering discipline with the same status as mechanical, electrical engineering, etc.

The software development process is not standardised

Many software projects are “one-off” projects

Software management distinctions

Page 4: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 4

Example: information plan of a universityregistration of student data

Relations to other systems: personal data, courses, course results, alumni, …

Use both by central administration, at faculty level, and possibly by students themselves

Requires training courses to administrative personnel

Authorization/security procedures Auditing procedures External links, e.g. to scholarship funding

agencies, ministry of education

Page 5: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 5

Project control

Time, both the number of man-months and the schedule

Information, mostly the documentation

Organization, people and team aspects

Quality, not an add-on feature; it has to be built in

Money, largely personnel

Page 6: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 6

Managing time

Measuring progress is hard (“we spent half the money, so we must be halfway”)

Development models serve to manage time

More people less time? Brooks’ law: adding people to a late project makes it later

Page 7: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 7

Managing information

Documentation Technical documentation Current state of projects Changes agree upon …

Agile projects: less attention to explicit documentation, more on tacit knowledge held by people

Page 8: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 8

Managing people

Managing expectations

Building a team

Coordination of work

Page 9: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 9

Managing quality

Quality has to be designed in

Quality is not an afterthought

Quality requirements often conflict with each other

Requires frequent interaction with stakeholders

Page 10: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 10

Managing cost

Which factors influence cost?

What influences productivity?

Relation between cost and schedule

Page 11: es/cs377_2009/Mgmt.ppt" classTitle

Proposal writingProject planning and schedulingProject costingProject monitoring and reviewsPersonnel selection and evaluationReport writing and presentations

Management activities

Page 12: es/cs377_2009/Mgmt.ppt" classTitle

Project staffing

May not be possible to appoint the ideal people to work on a project

Project budget may not allow for the use of highly-paid staff Staff with the appropriate experience may not be available An organisation may wish to develop employee skills on a

software project Here’s Bob. He’s new. He’ll be a member of your team. He doesn’t

know much yet, but he can brew a mean cup of coffee and has a great personality.

Managers have to work within these constraints especially when (as is currently the case) there is an

international shortage of skilled IT staff

Page 13: es/cs377_2009/Mgmt.ppt" classTitle

Project planning

Probably the most time-consuming project management activity

Continuous activity from initial concept through to system delivery

Plans must be regularly revised as new information becomes available

Beware of grumbling developers

Various different types of plan may be developed to support the main software project plan that is concerned with schedule and budget

Page 14: es/cs377_2009/Mgmt.ppt" classTitle

Types of project plan

Plan DescriptionQuality plan Describes the quality procedures and

standards that will be used in a project.Validation plan Describes the approach, resources and

schedule used for system validation. Configurationmanagement plan

Describes the configuration managementprocedures and structures to be used.

Maintenance plan Predicts the maintenance requirements ofthe system, maintenance costs and effortrequired.

Staff development plan. Describes how the skills and experience ofthe project team members will bedeveloped.

Page 15: es/cs377_2009/Mgmt.ppt" classTitle

SE, Management, Hans van Vliet, ©2008 15

Contents of project plan

Introduction Process model Organization of

project Standards,

guidelines, procedures

Management activities

Risks

Staffing Methods and

techniques Quality assurance Work packages Resources Budget and

schedule Changes Delivery

Page 16: es/cs377_2009/Mgmt.ppt" classTitle

Activity organization

Activities in a project should be organized to produce tangible outputs for management to judge progress

Milestones are the end-point of a process activity

Deliverables are project results delivered to customers

Evaluationreport

Prototypedevelopment

Requirementsdefinition

Requirementsanalysis

Feasibilityreport

Feasibilitystudy

Architecturaldesign

Designstudy

Requirementsspecification

Requirementsspecification

ACTIVITIES

MILESTONES

Page 17: es/cs377_2009/Mgmt.ppt" classTitle

Project scheduling

Split project into tasks and estimate time and resources required to complete each task

Organize tasks concurrently to make optimal use of workforce

Minimize task dependencies to avoid delays caused by one task waiting for another to complete

Dependent on project managers’ intuition and experience

Page 18: es/cs377_2009/Mgmt.ppt" classTitle

Scheduling problems

Estimating the difficulty of problems and hence the cost of developing a solution is hard

Productivity is not proportional to the number of people working on a task

Adding people to a late project makes it later because of communication overheads

The unexpected always happens Always allow contingency in planning

Page 19: es/cs377_2009/Mgmt.ppt" classTitle

Bar charts and activity networks

Graphical notations used to illustrate the project schedule

Show project breakdown into tasks Tasks should not be too small They should take about a week or two

Activity charts show task dependencies and the the critical path

Bar charts show schedule against calendar time

Page 20: es/cs377_2009/Mgmt.ppt" classTitle

Task durations and dependencies

Task Duration (days) DependenciesT1 8T2 15T3 15 T1 (M1)T4 10T5 10 T2, T4 (M2)T6 5 T1, T2 (M3)T7 20 T1 (M1)T8 25 T4 (M5)T9 15 T3, T6 (M4)T10 15 T5, T7 (M7)T11 7 T9 (M6)T12 10 T11 (M8)

Page 21: es/cs377_2009/Mgmt.ppt" classTitle

Activity network

start

T2

M3T6

Finish

T10

M7T5

T7

M2T4

M5

T8

4/7/99

8 days

14/7/99 15 days

4/8/99

15 days

25/8/99

7 days

5/9/99

10 days

19/9/99

15 days

11/8/99

25 days

10 days

20 days

5 days25/7/99

15 days

25/7/99

18/7/99

10 days

T1

M1 T3T9

M6

T11

M8

T12

M4

Page 22: es/cs377_2009/Mgmt.ppt" classTitle

Staff allocation

4/7 11/7 18/7 25/ 1/8 8/8 15/8 22/8 29/8 5/9 12/9 19/9

T4

T8 T11

T12

T1

T3

T9

T2

T6 T10

T7

T5

Fred

Jane

Anne

Mary

Jim

Page 23: es/cs377_2009/Mgmt.ppt" classTitle

Risk management

Risk management is concerned with identifying risks and drawing up plans to minimise their effect on a project.

A risk is a probability that some adverse circumstance will occur.

Project risks affect schedule or resources Product risks affect the quality or performance of the software

being developed Business risks affect the organisation developing or procuring

the software

Page 24: es/cs377_2009/Mgmt.ppt" classTitle

The risk management process

Risk identification Identify project, product and business risks

Risk analysis Assess the likelihood and consequences of risks

Risk planning Draw up plans to avoid/minimise risk effects

Risk monitoring Monitor the risks throughout the project

Page 25: es/cs377_2009/Mgmt.ppt" classTitle

Risk identification

Technology risksPeople risksOrganisational risksRequirements risksEstimation risks

Page 26: es/cs377_2009/Mgmt.ppt" classTitle

Risks and risk types

Risk type Possible risksTechnology The database used in the system cannot process as many

transactions per second as expected.Software components which should be reused contain defectswhich limit their functionality.

People It is impossible to recruit staff with the skills required.Key staff are ill and unavailable at critical times.Required training for staff is not available.

Organisational The organisation is restructured so that different managementare responsible for the project.Organisational financial problems force reductions in the projectbudget.

Tools The code generated by CASE tools is inefficient.CASE tools cannot be integrated.

Requirements Changes to requirements which require major design rework areproposed.Customers fail to understand the impact of requirementschanges.

Estimation The time required to develop the software is underestimated.The rate of defect repair is underestimated.The size of the software is underestimated.

Page 27: es/cs377_2009/Mgmt.ppt" classTitle

Risk analysis

Assess probability and seriousness of each riskProbability may be

very low low moderate high very high

Risk effects might be catastrophic serious tolerable insignificant

Page 28: es/cs377_2009/Mgmt.ppt" classTitle

Risk analysis

Risk Probability EffectsOrganisational financial problems force reductionsin the project budget.

Low Catastrophic

It is impossible to recruit staff with the skillsrequired for the project.

High Catastrophic

Key staff are ill at critical times in the project. Moderate SeriousSoftware components which should be reusedcontain defects which limit their functionality.

Moderate Serious

Changes to requirements which require majordesign rework are proposed.

Moderate Serious

The organisation is restructured so that differentmanagement are responsible for the project.

High Serious

The database used in the system cannot process asmany transactions per second as expected.

Moderate Serious

The time required to develop the software isunderestimated.

High Serious

CASE tools cannot be integrated. High TolerableCustomers fail to understand the impact ofrequirements changes.

Moderate Tolerable

Required training for staff is not available. Moderate TolerableThe rate of defect repair is underestimated. Moderate TolerableThe size of the software is underestimated. High TolerableThe code generated by CASE tools is inefficient. Moderate Insignificant

Page 29: es/cs377_2009/Mgmt.ppt" classTitle

Risk planning

Consider each risk and develop a strategy to manage that risk

Avoidance strategies The probability that the risk will arise is reduced

Minimisation strategies The impact of the risk on the project or product will be reduced

Contingency plans If the risk arises, contingency plans are plans to deal with that

risk

Page 30: es/cs377_2009/Mgmt.ppt" classTitle

Risk monitoring

Assess each identified risks regularly to decide whether or not it is becoming less or more probable

Also assess whether the effects of the risk have changed

Each key risk should be discussed at management progress meetings

Page 31: es/cs377_2009/Mgmt.ppt" classTitle

Key points

Good project management is essential for project success The intangible nature of software causes problems for management Managers have diverse roles but their most significant activities are

planning, estimating and scheduling Planning and estimating are iterative processes that continue

throughout the course of a project A project milestone is a predictable state where

some formal report of progress is presented to management. Risks may be project risks, product risks or business risks Risk management is concerned with identifying risks that may

affect the project and planning to ensure that these risks do not develop into major threats