Documente Academic
Documente Profesional
Documente Cultură
Christ Vriens
Philips Research - Software Engineering Services (SES)
christ.vriens@philips.com
Abstract
This experience report describes the followed road of
getting certified for both CMM Level 2 and ISO9001:2000
on a time scale of 2 years by using agile methodologies.
We discuss why we selected the combination of eXtreme
Programming (XP) and Scrum as the base for our
software development process and which ceremony we
had to add in order to satisfy the requirements of CMM L2
and ISO9001. Also our major challenges at the moment
are described, and the way we try to solve them.
Furthermore we want to share a number of issues and
experiences.
1. Introduction
The department Software Engineering Services (SES)
is part of the Philips Research organisation in The
Netherlands. It consists currently of 26 people and is
growing with about 10 persons per year. SES carries out
software projects in research domains like ambient
intelligence, storage, networks, copy protection and
robotics. The deliverables of these projects are both
prototypes to be demonstrated in exhibitions throughout
the world, and products based on current Research results
which are made ready to commercialise them. These
projects are characterized by:
Time of delivery is fixed, e.g. the starting date of an
exhibition
Vague and minimum requirements which also change
often during development
Most often there does not exist a customer for the
product yet
Technical challenges
Large percentage of contractors which requires
special attention to prevent loss of problem- and
solution domain knowledge after project closure
Short available time frame of 2-6 months
On the base of these characteristics, we identified the
following critical success factors for our projects in order
of decreasing priority:
2. eXtreme Programming
After studying a number of methodologies (XP, RUP,
Octopus, DSDM, FDD) we decided to take XP as our
point of departure. As in many other organisations XP had
already entered our organisation bottom up, compared to
the introduction of CMM and ISO that is most often top
down as demanded by management. A number of the 12
key practices of XP were recognized by our engineers as
highly familiar already. These include simple design,
continuous integration, on-site customer, small releases,
coding standards, 40-hour week. While others were still
on varying levels of unclearness, like system metaphor,
pair programming, test first design. By following XPs
three levels of maturity [1]:
Do everything as written
After having done that, experiment with variations in
the rules
Eventually, dont care if you are doing XP or not (we
have not yet reached this level)
we studied the then available books [2], [3], [4] and
started using XP in daily practice. The resulting
satisfaction of both programmers and customers were
high, although the latter did not know we were doing XP
at first.
From this period we would like to share the following
experiences with you:
Although we understood the concept and examples of
the system metaphor, we could not come up with
good metaphors for our current projects. In this sense
we certainly appreciated the keynote speech of Kent
Beck at OOPSLA 2002, titled The Methaphor
Methaphor or unofficially The last time that Kent
was going to explain the metaphor practice
As expected, our customers rejected pair
programming at first, because of the belief that costs
would increase by a factor of two. After getting used
to it and seeing the benefits in the form of higher
defect prevention/removal and decreased cycle time
[9], customers now have no problem with it, although
the discussion pops up again with every new
customer
We were uncertain about when to apply pair
programming and when it was acceptable to program
solo. We currently use the following rules of thumb:
o In principal all production code - including
related tests - shall be written in pairs
o Each new task shall start with a small design
session. If the conclusion of this session is
that the required code is relatively simple or
routine, it is allowed to program solo
o Problem reports are always resolved in a pair
as in most cases the problems occur on the
interfaces of two or more modules
o Documentation may be written by one
person and it will always be reviewed using
a Fagan inspection
Pair programming is a high-energy consuming
activity. We try to limit it to at most 6 hours a day.
But it gives a confident feeling at the end of the day,
regarding the fact that peers have approved the code.
Pair programming is also highly appreciated as a way
to prevent Repetitive Strain Injury
Both customers and programmers appreciate working
iteratively making small increments. The customer
values the early delivery of business value, and the
programmers value the learning by experience. Both
sense the decrease of stress and increase in
confidence as the requested functionality is delivered
3. XP@Scrum
Issues regarding using eXtreme Programming.
Although we are in general highly satisfied applying XP,
we struggled with the following:
1. XP does not give you much help regarding
documentation, modeling, and the use of UML and
design patterns. For these issues, the content of the
books [6] and [1] perfectly complements XP
2. Newly hired software engineers had to be instructed
where the architecture is addressed in XP. The term is
only briefly mentioned in the 12 practices. Our
current belief is that a good introductory course
regarding XP is required for each new employee.
They must be instructed that writing tests first has
everything to do with architecture and design: it
forces to look at the code from the viewpoint of its
user which is at a higher abstraction level. And that it
offers a practical way to obtain the principle of low
coupling and high cohesion. This is because tests
must be fully self-contained. Furthermore refactoring,
as explained by Martin Fowler [7], allows to not only
address architecture at the beginning of the project (as
in the waterfall model) but offers the opportunity to
evolve the software architecture in a cost-effective
sense. Certainly, the principle design-as-you-go
compared to code-and-fix must be explained from a
practical context
3.
5. Challenges
6. Experiences
7. Conclusion
In May 2002 we certified with our software development
process based on XP@Scrum for ISO9001:2000 and a
quick scan in December 2002 revealed that we are on a
good track for CMM Level 2 certification in 2003. But as
expressed in the challenges section, there are still a
number of major stumbling blocks to overcome in the
meantime though.
8. References
[1] Alistair Cockburn, Agile Software Development, AddisonWesley, ISBN 0201699699, December 2001
[2] Kent Beck, Extreme Programming Explained: Embrace
Change, Addison-Wesley, ISBN 0201616416, October 1999
[3] Kent Beck and Martin Fowler, Planning Extreme
Programming, Addison-Wesley, ISBN 0201710919, October
2000
[4] Ron Jeffries, Ann Anderson, and Chet Hendrickson, Extreme
Programming Installed, Addison-Wesley, ISBN 0201708426,
October 2000
[5] Mark C. Paulk, XP from a CMM Perspective,
November/December 2001 issue of IEEE Software