CS 530 - Software Engineering

Project Management

Reference: Sommerville, Software Engineering, 10 ed., Chapter 22

The big picture

Software project management is concerned with activities involved in ensuring that software is delivered on time and on schedule and in accordance with the requirements of the organizations developing and procuring the software. Project management is needed because software development is always subject to budget and schedule constraints that are set by the organization developing the software.

Software project success criteria:

Software engineering is different from other types of engineering in a number of ways that make software management particularly challenging. Some of these differences are:

The product is intangible
Software cannot be seen or touched. Software project managers cannot see progress by simply looking at the artifact that is being constructed.
Many software projects are 'one-off' projects
Large software projects are usually different in some ways from previous projects. Even managers who have lots of previous experience may find it difficult to anticipate problems.
Software processes are variable and organization specific.
We still cannot reliably predict when a particular software process is likely to lead to development problems.

Software project management activities:

Project planning
Project managers are responsible for planning. estimating and scheduling project development and assigning people to tasks.
Reporting
Project managers are usually responsible for reporting on the progress of a project to customers and to the managers of the company developing the software.
Risk management
Project managers assess the risks that may affect a project, monitor these risks and take action when problems arise.
People management
Project managers have to choose people for their team and establish ways of working that leads to effective team performance.
Proposal writing
The first stage in a software project may involve writing a proposal to win a contract to carry out an item of work. The proposal describes the objectives of the project and how it will be carried out.

Risk management

Risk management is concerned with identifying risks and drawing up plans to minimize their effect on a project. A risk is a probability that some adverse circumstance will occur:

The risk management process:

Risk identification
Identify project, product and business risks. May be a team activity or based on the individual project manager's experience. A checklist of common risks may be used to identify risks in a project:
  • Technology risks
  • People risks
  • Organizational risks
  • Requirements risks
  • Estimation risks
Risk analysis
Assess probability and seriousness of each risk. Probability may be very low, low, moderate, high or very high. Risk consequences might be catastrophic, serious, tolerable or insignificant.
Risk planning
Consider each risk and develop a strategy to manage that risk.
  • Avoidance strategies: the probability that the risk will arise is reduced
  • Minimization 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
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.

Managing people

People are an organization's most important assets. The tasks of a manager are essentially people-oriented. Unless there is some understanding of people, management will be unsuccessful. Poor people management is an important contributor to project failure.

People management factors:

An important role of a manager is to motivate the people working on a project. Motivation means organizing the work and the working environment to encourage people to work effectively. If people are not motivated, they will not be interested in the work they are doing. They will work slowly, be more likely to make mistakes and will not contribute to the broader goals of the team or the organization. Motivation is a complex issue but it appears that their are different types of motivation based on:

In software development groups, basic physiological and safety needs are not an issue. Here's how to satisfy other types of needs:

Motivation should also take into account different personality types:

Teamwork

Most software engineering is a group activity. The development schedule for most non-trivial software projects is such that they cannot be completed by one person working alone. A good group is cohesive and has a team spirit. The people involved are motivated by the success of the group as well as by their own personal goals. Group interaction is a key determinant of group performance. Flexibility in group composition is limited: managers must do the best they can with available people.

In a cohesive group, members consider the group to be more important than any individual in it. The advantages of a cohesive group are:

Three generic factors that affect team effectiveness:

The people in the group
You need a mix of people in a project group as software development involves diverse activities such as negotiating with clients, programming, testing and documentation.
The group organization
A group should be organized so that individuals can contribute to the best of their abilities and tasks can be completed as expected.
Technical and managerial communications
Good communications between group members, and between the software engineering team and other project stakeholders, is essential.

A manager or team leader's job is to create a cohesive group and organize their group so that they can work together effectively. This involves creating a group with the right balance of technical skills and personalities, and organizing that group so that the members work together effectively. It may not be possible to appoint the ideal people to work on a project:

Managers have to work within these constraints especially when there are shortages of trained staff.

Group composed of members who share the same motivation can be problematic:

An effective group has a balance of all types. This can be difficult to achieve software engineers are often task-oriented. Interaction-oriented people are very important as they can detect and defuse tensions that arise.

The way how group organization affects the decisions that are made by that group, the ways that information is exchanged and the interactions between the development group and external project stakeholders. Key questions include:

Small software engineering groups are usually organized informally without a rigid structure. For large projects, there may be a hierarchical structure where different groups are responsible for different sub-projects. Agile development is always based around an informal group on the principle that formal structure inhibits information exchange.

An informal group acts as a whole and comes to a consensus on decisions affecting the system. The group leader serves as the external interface of the group but does not allocate specific work items. Rather, work is discussed by the group as a whole and tasks are allocated according to ability and experience. This approach is successful for groups where all members are experienced and competent.

Good communications are essential for effective group working. Information must be exchanged on the status of work, design decisions and changes to previous decisions. Good communications also strengthens group cohesion as it promotes understanding. The effectiveness and efficiency of communications is influenced by: