Docsity

Software Inspection and Quality Assurance: Principles and Practices, Slides of Banking and Finance

Toggle sidebar
bg1
Testing performed by users and clients
•Alpha testing
—Performed by the user or client, but under the
supervision of the software development team.
•Beta testing
—Performed by the user or client in a normal work
environment.
—Recruited from the potential user population.
—An open beta release is the release of low-quality
software to the general population.
•Acceptance testing
—Performed by users and customers.
—However, the customers do it on their own initiative.
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Software Inspection and Quality Assurance: Principles and Practices and more Slides Banking and Finance in PDF only on Docsity!

Testing performed by users and clients

  • Alpha testing —Performed by the user or client, but under the supervision of the software development team.
  • Beta testing —Performed by the user or client in a normal work environment. —Recruited from the potential user population. —An open beta release is the release of low-quality software to the general population.
  • Acceptance testing —Performed by users and customers. —However, the customers do it on their own initiative.

10.10 Inspections

An inspection is an activity in which one or more people systematically

  • Examine source code or documentation, looking for defects.
  • Normally, inspection involves a meeting... —Although participants can also inspect alone at their desks.

Principles of inspecting

  • Inspect the most important documents of all types —code, design documents, test plans and requirements
  • Choose an effective and efficient inspection team —between two and five people —Including experienced software engineers
  • Require that participants prepare for inspections —They should study the documents prior to the meeting and come prepared with a list of defects
  • Only inspect documents that are ready —Attempting to inspect a very poor document will result in defects being missed

Principles of inspecting

  • Avoid discussing how to fix defects —Fixing defects can be left to the author
  • Avoid discussing style issues —Issues like are important, but should be discussed separately
  • Do not rush the inspection process —A good speed to inspect is - 200 lines of code per hour (including comments) - or ten pages of text per hour

A peer-review process

Managers are normally not involved

  • This allows the participants to express their criticisms more openly, not fearing repercussions
  • The members of an inspection team should feel they are all working together to create a better document
  • Nobody should be blamed

Conducting an inspection meeting

  1. The moderator calls the meeting and distributes the documents.
  2. The participants prepare for the meeting in advance.
  3. At the start of the meeting, the moderator explains the procedures and verifies that everybody has prepared.
  4. Paraphrasers take turns explaining the contents of the document or code, without reading it verbatim.
  • Requiring that the paraphraser not be the author ensures that the paraphraser say what he or she sees , not what the author intended to say.
  1. Everybody speaks up when they notice a defect.

Testing or inspecting, which comes first?

  • It is important to inspect software before extensively testing it.
  • The reason for this is that inspecting allows you to quickly get rid of many defects.
  • If you test first, and inspectors recommend that redesign is needed, the testing work has been wasted. —There is a growing consensus that it is most efficient to inspect software befor e a ny testing is done.
  • Even before developer testing

10.11 Quality Assurance in General

Root cause analysis

  • Determine whether problems are caused by such factors as —Lack of training —Schedules that are too tight —Building on poor designs or reusable technology

Post-mortem analysis

Looking back at a project after it is complete, or after a release,

  • You look at the design and the development process
  • Identify those aspects which, with benefit of hindsight, you could have done better
  • You make plans to do better next time

Process standards

The personal software process (PSP):

  • Defines a disciplined approach that a developer can use to improve the quality and efficiency of his or her personal work.
  • One of the key tenets is personally inspecting your own work. The team software process (TSP):
  • Describes how teams of software engineers can work together effectively. The software capability maturity model (CMM):
  • Contains five levels, Organizations start in level 1, and as their processes become better they can move up towards level 5. ISO 9000-2:
  • An international standard that lists a large number of things an organization should do to improve their overall software process.