Information Technology Reference
In-Depth Information
metrics, including coding/design standard adherence, code duplica-
tion, and so on. Tim is one of 15 developers on a Java project creating
management software for an online brewery. See Figure 2-1 for a visu-
alization of some of the activities in Tim's day.
Starting his day, Tim refactors a subsystem that was reported to
have too much duplicate code based on the latest reports from the CI
server. Prior to committing his changes to Subversion, he runs a pri-
vate build, which compiles and runs the unit tests against the newest
source code. After running this build on his machine, he commits his
changes to Subversion. All the while, the CruiseControl CI server is
polling the Subversion repository. A few minutes later, the CI server
discovers the changes that Tim committed and runs an integration
build. This integration build runs automated inspection tools to verify
that all code adheres to the coding standard. Tim receives an e-mail
about a coding standard violation, quickly makes the changes, and
checks the source code back into Subversion. The CI server runs
another build and it is successful. By reviewing the Web reports gener-
ated by the CI server, Tim finds that his recent code refactoring suc-
cessfully reduced the amount of duplicate code in his subsystem.
Feedback
Mechanism
Review
Commit Changes
Tim
Run Private Build
Subversion
Version Control
Repository
CI Server
Integration Build
Machine
Commit Changes
Lisa
Run Private Build
A day in the life
FIGURE 2-1
Search WWH ::




Custom Search