Skip to Content
Making Software
book

Making Software

by Andy Oram, Greg Wilson
October 2010
Beginner to intermediate
624 pages
24h 9m
English
O'Reilly Media, Inc.
Content preview from Making Software

Into the Battle

No battle plan survives contact with the enemy.

Helmuth von Moltke the Elder

The key properties of the systems I examine appear in Table 15-1. The quality metrics I collected can be roughly categorized into the areas of file organization, code structure, code style, preprocessing, and data organization. When it is easy to represent a metric with a single number, I list its values for each of the four systems in a table, and on the left I indicate whether ideally that number should be high (↑), low (↓), or near a particular value (e.g., ≅ 1). In other cases we must look at the distribution of the various values, and for this I use so-called candlestick figures, as in Figure 15-3. Each element in such a figure depicts five values:

  • The minimum, at the bottom of the line

  • The lower (25%) quartile, at the bottom of the box

  • The median (the numeric value separating the higher half of the values from the lower half), as a horizontal line within the box

  • The upper (75%) quartile, at the top of the box

  • The maximum value, at the top of the line

  • The arithmetic mean, as a diamond

Minima and maxima lying outside the graph’s range are indicated with a dashed line, along with a figure of their actual value.

Table 15-1. Key metrics of the four systems

MetricFreeBSDLinuxSolarisWRK
VersionHEAD 2006-09-182.6.18.8-0.52007-08-281.2
Configurationi386 AMD64 SPARC64AMD64Sun4v Sun4u SPARCi386 AMD64
Lines (thousands)2,5994,1503,000829
Comments (thousands)232377299190
Statements (thousands)9481,7721,042192 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Righting Software

Righting Software

Juval Lowy
How Software Works

How Software Works

V. Anton Spraul
Design It!

Design It!

Michael Keeling

Publisher Resources

ISBN: 9780596808310Errata Page