Skip to content

Instantly share code, notes, and snippets.

@Morendil
Last active July 24, 2021 10:42
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Morendil/6d664bf990c17ea0f88f9bb0cc403c64 to your computer and use it in GitHub Desktop.
Save Morendil/6d664bf990c17ea0f88f9bb0cc403c64 to your computer and use it in GitHub Desktop.

The citations game: Pressman Ratios

Rubric: Software Engineering : Factual Claims : Defect Cost Increase : Pressman Ratios

Context

See previous note on the IBM Systems Sciences Institute

Origins

A book, "Software Engineering: A Practitioner's Approach", contains the citation we are interested in:

[IBM81] "Implementing Software Inspections," course notes, IBM Systems Sciences Institute, IBM Corporation, 1981

The author is Roger S. Pressman, "an internationally recognized consultant and author in software engineering" with long experience in the field - "for over 30 years, he has worked as a software engineer, a manager, a professor, an author, and a consultant, focusing on software engineering issues". (Pressman)

The book is a best-seller in the field, with over 3 million copies sold (QAI) of eight editions so far. The first edition was published in 1982.

One question I have not been able to settle is which edition of the book first introduced this citation. I've seen PDF copies of the 5th and 8th edition which have it. A paper from 1995 contains an indirect citation via the 3d edition (Megen).

Given the proximity in dates I'm assuming it was there from the first edition, but I could be wrong.

Monograph

In a 2003 article, "Why the Future Belongs to the Quants" (Quants), we find the following form:

IBM Systems Sciences Inst., Implementing Software Inspections, monograph, IBM, 1981.

A monograph is "a specialist work of writing on a single subject or an aspect of a subject, often by a single author, and usually on a scholarly subject" (Wikipedia). (This can be said of many things - the present document is a monograph.)

As discussed in the previous notes, my interpretation of "course notes" is that Pressman was attended internal corporate training at IBM, where an instructor presented material, possibly from some other source, containing the claimed ratios. Neither the instructor nor Pressman were implying in any way that the study was done at IBM.

The above form of the citation, however, does claim this implicitly.

Also, and unlike Mengen's 1995 article, Geer et al.'s 2003 article does not credit Pressman at all.

I can come up with three main hypotheses:

  • one of the authors had read Pressman, and chose both to alter the citation and not to credit Pressman;
  • one the authors had independently attended the IBM course, and chose to report it this way;
  • one of the authors had read the original IBM source material, and correctly cited it as a "monograph".

The first two would be cases of (mild) scholarly misconduct in my eyes. The last strikes me as implausible given all other evidence on the topic.

The "monograph" form of the citation turns up in one other place: "Security Metrics: Replacing Fear, Uncertainty, and Doubt", a 2007 book authored by Andrew Jaquith, who is one of the "et al." in Geer et al.

"Has reported"

An article by Mukesh Soni published in 2006 on iSixSigma.com, "Defect Prevention: Reducing Costs and Enhancing Quality", refers to the claim in the text rather than by providing a formal citation:

The Systems Sciences Institute at IBM has reported that the cost to fix an error found after product release was four to five times as much as one uncovered during design, and up to 100 times more than one identified in the maintenance phase. (Figure 1)

Dating this article is harder than it should be, as it's an informal Web publication rather than a scholarly article; at its current URL it remains undated (Prevention). For example, the book "Agile Testing" by Crispin and Gregory cites this article but incorrectly dates it to 2008. But the Internet Archive has a copy of the article dating back to 2006 (Archive).

Here again, Soni does not reference Pressman, and what's worse, uses an active verb to imply that the data comes directly from IBM.

Nonsense

The quote above accompanies the following picture:

Figure

I want to to pause at this point and consider how much sense the above sentence makes.

If we

  • discard the bit about IBM
  • let X be "the cost to fix an error uncovered during design"
  • let Y be "the cost to fix an error found after product release"
  • let Z be "the cost to fix an error identified in the maintenance phase"

Then the above is saying:

  • X equals 1
  • Y equals X times 4 to 5
  • Y equals Z times up to 100

So far so good, but where are these numbers on the accompanying chart? X, the cost at design, is easy to find; it's the first bar. Z, the cost of the maintenance phase, is the last bar. The chart says that Z is equal to 100 times X, but that's not what the text says.

There is no bar labelled "after product release". There is no bar that has a value 4 to 5 times another bar. There is no bar which has a value greater than that associated with "maintenance". The main topic of the sentence is Y, and that is nowhere to be found in the chart.

In short, the above quoted sentence makes zero sense when we consider the picture it's supposed to describe.

Nonsense, multiplied

One of my favorite techniques consists of taking a substantial portion of a sentence and Googling for exact matches. This helps a lot in turning up instances of plagiarism.

Take the phrase, "and up to 100 times more than one identified in the maintenance". Any occurrence on the Web is likely to be either a quotation of Soni's article, or (if Soni is not credited) a copy-paste job plagiarizing the article.

As of this writing, Google reports about 130 matches on the Web (Web), 2 in published books (Books), and 9 in scholarly articles (Scholar).

The latter is particularly concerning. Academics are copying and pasting a citation incorrectly attributing data to a study by a part of IBM, and at the same time uncritically copying and pasting a nonsensical sentence lifted out of a blog post. It finds its way for instance into a published thesis (Thesis).

The extent of the plagiarism varies, for instance entire paragraphs of Soni's article are lifted in one conference paper (Plagiarized).

Critical and uncritical

To me, the uncritical stance implied by copying something that doesn't make sense is strong evidence that the people suggesting that IBM "has reported" whatever they say, not only haven't read one word from IBM to that effect, but probably haven't read Pressman either, and it's not a big stretch to infer that they haven't read any serious content on software engineering either. (Because if they had, they would recognize for instance Boehm's work on the same topic as more credibly sourced, and cite that instead.)

Others seem to at least take one minute to look at the chart and rephrase the text into something that makes more sense, here's one recent example (Recent) picked at random from the Web:

Also, the Systems Science Institute at IBM reports that bugs found during the testing phase could be up to 15 times more costly than when found during the design phase.

The attribution remains but at least what is described matches the text. That's perhaps one glimmer of hope in the whole mess.

Still, if you read any mention of the Pressman ratios, or of the IBM Systems Science Institute, you would be doing the author a favor by notifying them that they're only discrediting themselves by using them.

References

@jrochkind
Copy link

jrochkind commented Jul 20, 2021

The first two would be cases of (mild) scholarly misconduct in my eyes.

Once I was a research assistant to a young professor (studying interesting human aspects of distributed open source development, but that's another story).

One task I had was to find some good sources for her on a particular topic. I kept seeing a paper cited, in many (peer-reviewed, published) articles, that was just perfect, but I couldn't find the paper. Eventually I realized, hey, the cited author is still alive, I can totally find their email address and email them. I did. The author said, oh, that was an oral conference presentation I did once, there was no paper, I don't think it's recorded or available anywhere.

I'm sure the first person to cite this, whoever they were (I did not track it down), was actually at the presentation. Maybe they even cited it correct as a non-documented presentation. I'm also sure that many others citing it were not even at the presentation. They just copied the citation from another paper. I found this pretty dismaying, but nobody I talked to who had more scholarly experience found it of any surprise or note.

In at least some fields, this form of mild scholarly misconduct seems so common that an argument could be made that the community of scholars does not actually consider it misconduct at all. I think it really ought to be. I think it's pretty embarassing.

@Derek-Jones
Copy link

There is some evidence that the time taken to fix a mistake is proportional to the square root of the 'distance' between the phase in which the mistake was introduced and the phase in which it was detected; see http://shape-of-code.coding-guidelines.com/2021/06/27/increase-in-defect-fixing-costs-with-distance-from-original-mistake/

The variance explained by the model is not great, but at least it shows an expected effect is present.

@Morendil
Copy link
Author

A correspondent emailed me to report that the citation appears in the 2nd edition. They are trying to locate a copy of the 1st edition. Someone else, commenting on a different gist, seems to confirm that it appears from the 1st edition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment