Docsity

Software Quality - Lecture 04 Slides 2011 - Computer Science, Slides of Computer Science

Toggle sidebar
bg1
1
Department of Computer & Information Sciences
Pakistan Institute of Engineering and App lied Sciences
Department of Computer & Information Sciences
Pakistan Institute of Engineering and App lied Sciences
Software Quality
Lecture 3
Elements of Software Quality System
Umar Faiz
http://www.pieas.edu.pk/umarfaiz/cis433
Software Quality Umar Faiz
http://www.pieas.edu.pk/umarfaiz/cis433
Elements๎˜ƒof๎˜ƒa๎˜ƒSoftware๎˜ƒQuality๎˜ƒSystem
Goals๎˜ƒof๎˜ƒSoftware๎˜ƒQuality
๎šƒThere๎˜ƒare๎˜ƒtwo๎˜ƒgoals๎˜ƒof๎˜ƒthe๎˜ƒsoftware๎˜ƒquality๎˜ƒsystem๎˜ƒ.๎˜ƒ
๎šƒThe๎˜ƒfirst๎˜ƒgoal๎˜ƒis๎˜ƒto๎˜ƒbuild๎˜ƒquality๎˜ƒinto๎˜ƒthe๎˜ƒsoftware๎˜ƒfrom๎˜ƒthe๎˜ƒ
beginning.๎˜ƒ
๎šƒThe๎˜ƒsecond๎˜ƒgoal๎˜ƒof๎˜ƒthe๎˜ƒSQS๎˜ƒis๎˜ƒto๎˜ƒkeep๎˜ƒthat๎˜ƒquality๎˜ƒin๎˜ƒthe๎˜ƒsoftware๎˜ƒ
throughout๎˜ƒthe๎˜ƒsoftware๎˜ƒlife๎˜ƒcycle.
Elements๎˜ƒof๎˜ƒa๎˜ƒSoftware๎˜ƒQuality๎˜ƒSystem
The๎˜ƒ10๎˜ƒelements๎˜ƒof๎˜ƒthe๎˜ƒSQS๎˜ƒare๎˜ƒas๎˜ƒfollows:
๎šƒStandards
๎šƒReviewing
๎šƒTesting
๎šƒDefect๎˜ƒanalysis
๎šƒ
Configuration management (CM)
๎šƒ
Configuration
๎˜ƒ
management
๎˜ƒ
(CM)
๎šƒSecurity
๎šƒEducation
๎šƒVendor๎˜ƒmanagement
๎šƒSafety
๎šƒRisk๎˜ƒmanagement
Elements๎˜ƒof๎˜ƒa๎˜ƒSoftware๎˜ƒQuality๎˜ƒSystem
Every๎˜ƒSLC๎˜ƒmodel๎˜ƒhas๎˜ƒdivisions,๎˜ƒor๎˜ƒperiods๎˜ƒof๎˜ƒeffort,๎˜ƒinto๎˜ƒ
which๎˜ƒthe๎˜ƒwork๎˜ƒof๎˜ƒdeveloping๎˜ƒthe๎˜ƒsoftware๎˜ƒis๎˜ƒdivided.๎˜ƒ
๎šƒRecognition๎˜ƒof๎˜ƒa๎˜ƒneed๎˜ƒor๎˜ƒproblem๎˜ƒ(e.g.,๎˜ƒconcept๎˜ƒdefinition)
๎šƒDefinition๎˜ƒof๎˜ƒthe๎˜ƒsoftware๎˜ƒsolution๎˜ƒto๎˜ƒbe๎˜ƒapplied๎˜ƒ(e.g.,๎˜ƒ
requirements๎˜ƒdefinition)
๎šƒDevelo
p
ment๎˜ƒof๎˜ƒthe๎˜ƒsoftware๎˜ƒthat๎˜ƒsolves๎˜ƒthe๎˜ƒ
p
roblem๎˜ƒor๎˜ƒ
p p
satisfies๎˜ƒthe๎˜ƒneed๎˜ƒ(e.g.,๎˜ƒdesign๎˜ƒand๎˜ƒcoding)
๎šƒProving๎˜ƒthat๎˜ƒthe๎˜ƒsolution๎˜ƒis๎˜ƒcorrect๎˜ƒ(e.g.,๎˜ƒtesting)
๎šƒImplementing๎˜ƒthe๎˜ƒsolution๎˜ƒ(e.g.,๎˜ƒinstallation๎˜ƒand๎˜ƒ๎˜ƒ
acceptance)
๎šƒUsing๎˜ƒthe๎˜ƒsolution๎˜ƒ(e.g.,๎˜ƒoperation)
๎šƒImproving๎˜ƒthe๎˜ƒsolution๎˜ƒ(e.g.,๎˜ƒmaintenance)
1.๎˜ƒStandards
Standards
๎šƒStandards are intended to provide consistent, rigorous,
uniform, and enforceable methods for software
development and operation activities.
๎šƒSoftware standards should be imposed so that the
producer of a software product or component can pay
attention
to
the
technical
aspects
the
task
attention
to
the
technical
aspects
the
task
.
๎šƒIt should be the intent of responsible management to see
that they are followed and enforced.
1.๎˜ƒStandards
Quality๎˜ƒAssurance๎˜ƒand๎˜ƒStandards
๎šƒConcerned๎˜ƒwith๎˜ƒensuring๎˜ƒthat๎˜ƒthe๎˜ƒrequired๎˜ƒlevel๎˜ƒof๎˜ƒquality๎˜ƒ
is๎˜ƒachieved๎˜ƒin๎˜ƒa๎˜ƒsoftware๎˜ƒproduct.
๎šƒInvolves๎˜ƒdefining๎˜ƒappropriate๎˜ƒquality๎˜ƒstandards๎˜ƒand๎˜ƒ
procedures๎˜ƒand๎˜ƒensuring๎˜ƒthat๎˜ƒthese๎˜ƒare๎˜ƒfollowed.
๎šƒShould๎˜ƒaim๎˜ƒto๎˜ƒdevelop๎˜ƒa๎˜ƒโ€˜quality๎˜ƒcultureโ€™๎˜ƒwhere๎˜ƒquality๎˜ƒis๎˜ƒ
โ€™ibilit
seen๎˜ƒas๎˜ƒeveryone
โ€™
s๎˜ƒrespons
ibilit
y.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Software Quality - Lecture 04 Slides 2011 - Computer Science and more Slides Computer Science in PDF only on Docsity!

Department of Computer & Information Sciences Pakistan Institute of Engineering and Applied Sciences

Department of Computer & Information Sciences Pakistan Institute of Engineering and Applied Sciences

Software Quality

Lecture 3

Elements of Software Quality System

Umar Faiz http://www.pieas.edu.pk/umarfaiz/cis

Software Quality Umar Faiz

http://www.pieas.edu.pk/umarfaiz/cis

Elements of a Software Quality System

Goals of Software Quality

ยƒ There are two goals of the software quality system. ยƒ The first goal is to build quality into the software from the beginning. ยƒ The second goal of the SQS is to keep that quality in the software throughout the software life cycle.

Elements of a Software Quality System

The 10 elements of the SQS are as follows:

ยƒ Standards ยƒ Reviewing ยƒ Testing ยƒ Defect analysis ยƒยƒ Configuration management (CM)Configuration management (CM) ยƒ Security ยƒ Education ยƒ Vendor management ยƒ Safety ยƒ Risk management

Elements of a Software Quality System

Every SLC model has divisions, or periods of effort, into

which the work of developing the software is divided.

ยƒ Recognition of a need or problem (e.g., concept definition) ยƒ Definition of the software solution to be applied (e.g., requirements definition) ยƒ Developmentp of the software that solves the pproblem or satisfies the need (e.g., design and coding) ยƒ Proving that the solution is correct (e.g., testing) ยƒ Implementing the solution (e.g., installation and acceptance) ยƒ Using the solution (e.g., operation) ยƒ Improving the solution (e.g., maintenance)

1. Standards

Standards

ยƒ Standards are intended to provide consistent, rigorous, uniform, and enforceable methods for software development and operation activities. ยƒ Software standards should be imposed so that the producer of a software product or component can pay attention to the technical aspects of the taskattention to the technical aspects of the task. ยƒ It should be the intent of responsible management to see that they are followed and enforced.

1. Standards

Quality Assurance and Standards

ยƒ Concerned with ensuring that the required level of quality is achieved in a software product. ยƒ Involves defining appropriate quality standards and procedures and ensuring that these are followed. ยƒ Should aim to develop a โ€˜quality cultureโ€™ where quality is seen as everyoneโ€™s โ€™ responsibility.ibilit

1. Standards

Standard: Definition

ยƒ It is the deliberate acceptance by a group of people having common interests or background of a quantifiable metric that influences their behaviour and activities by permitting a common interchange.

Standard: ISO Definition

ยƒ Document, established by consensus and approved by a recognized body, that provides, for common and repeated use, rules, guidelines or characteristics for activities or their results, aimed at the achievement of the optimum degree of order in a given context

1. Standards

Standards

ยƒ Whether a standard comes from within a company, is imposed by government, or is adopted from an industry source, it must have several characteristics. ยƒ These include the following: ยƒ Necessity : No standard will be observed for long if there is no real reason ffor its existence. ยƒ Feasibility : Common sense tells us that if it is not possible to comply with the tenets of a standard, then it will be ignored. ยƒ Measurability : It must be possible to demonstrate that the standard is being followed.

1. Standards

Types of Standards

ยƒ Regulatory Standards: These standards are imposed by Government legislation or regulation. ยƒ Traffic Speed Limits ยƒ Telecomm Regulations ยƒ Electric Voltages for Distribution ยƒ standards. ยƒ Consensus Standards: These standards are adopted by a community of interest to further the interests of the community.

1. Standards

Types of Standards

ยƒ External Standards: These standards define the ways in which an organisation relates to its clients and competitors. ยƒ AS 3563; ISO 9001; ANSI/IEEE 730

ยƒ Internal Standards: These standards define the practices and procedures in place within an organisation.

1. Standards

Focus of Standards

ยƒ Standards which define in detail a specific product. ยƒ Standards which define the process through which products in the field need to pass. ยƒ Standards which define requirements for a particular resource to be used in the development process.

1. Standards

Development Process of Standards

2. Reviews

Types of Reviews

ยƒ Informal reviews generally occur during SDLC phases, while formal reviews usually mark the ends of the phases. ยƒ Informal reviews include walkโ€throughs and inspections

2. Reviews

Types of Reviews

ยƒ Walkthroughs ยƒ Walkthroughs are informal, but scheduled, reviews, usually conducted by peer groups. The author of the subject componentโ€a design specification, test procedure, coded unit walks through his or her component, explaining it to a small group of peers. The role of the peers is to look for defects in or problems with theof the peers is to look for defects in or problems with the component. These are then corrected before the component becomes the basis for further development.

2. Reviews

Types of Reviews

ยƒ Inspections ยƒ Inspections are a more structured type of walkโ€through. Though the basic goal of an inspectionโ€removal of defectsโ€is the same as that of the walkโ€through, the format of the meeting and the roles of the participants are more strictly defined, and more formal records of the proceedings are preparedrecords of the proceedings are prepared.

2. Reviews

Types of Reviews

ยƒ Process reviews ยƒ The purpose of a process review is to examine the success of the software process in effect. Data for the review is collected in the technical reviews and is usually based on defects identified by the technical reviews.

2. Reviews

Types of Reviews

ยƒ Audits ยƒ Audits are examinations of components for compliance with a content and format specification or for consistency with or comparison to a predecessor.

3. Testing

Testing

ยƒ Test activities include planning, design, execution, and reporting. ยƒ Actual testing begins with the debugging and early unit and module tests conducted by the programmer. ยƒ Formal test execution generally begins with integration tt estst ii n whichhi h modulesd l are combinedbi d i t into subsystemsb t ffor functional testing.

3. Testing

Testing

ยƒ Test execution requires the use of detailed test procedures. These are stepโ€byโ€step directions that tell the test conductor exactly what to do as the test is run. ยƒ Every action, input, expected output, and response should be documented so that the test conductor is not put into the position of making test design decisions while the test is being runof making test design decisions while the test is being run. ยƒ Test cases, scenarios, data, and procedures, together with expected results and completion criteria, should be ready to be applied from module testing

4. Defect Analysis

Defect Analysis

ยƒ Defect analysis is the combination of defect detection and correction, and defect trend analysis. Defect detection and correction, together with change control, presents a record of all discrepancies found in each software component. It also records the disposition of each discrepancy, perhaps in the form of a software problem report or software change request.

4. Defect Analysis

Defect Analysis

ยƒ A running record of defects, their solutions, and status is provided by the defect trend analysis effort ยƒ The record of defects and their solutions can serve to do the following: ยƒ Prevent defects from remaining unsolved for inappropriate ll engthsh off time; ยƒ Prevent unwarranted changes; ยƒ Point out inherently weak areas in the software; ยƒ Provide analysis data for development process evaluation and correction; ยƒ Provide warnings of potential defects through analysis of defect trends.

5. Configuration Management

Configuration Management

ยƒ Configuration Management consists of three related activities: identification, control, and accounting. ยƒ Its intent is to maintain control of the software, both during development and after it is put into use and changes begin.

5. Configuration Management

Configuration Identification

ยƒ Configuration identification is, as its name implies, the naming, and documentation, of each component (document, unit, module, subsystem, and system) so that at any given time, the particular component of interest can be uniquely identified.

5. Configuration Management

Configuration Control

ยƒ Configuration control is that activity that prevents unauthorized changes to any software product. ยƒ Any changes to the documents are formally processed so that unnecessary or unapproved changes are not made. ยƒ As the life cycle moves into the coding, testing, and operation ti andd maintenancei t phases,h changesh tt o eitherith documents or code are closely controlled. Each change is verified for necessity and correctness before approval for insertion, so that control of the software can be maintained.

8. Vendor Management

Offโ€theโ€Shelf

ยƒ Offโ€theโ€shelf software is the package we buy at the store. Microsoft Office, Adobe Photoshop, virus checkers, and the like are examples. ยƒ These packages come as they are with no warrantee that they will do what you need to have done. They are also almost totally outside the buyeralmost totally outside the buyer s's influence with respect to influence with respect to quality.

8. Vendor Management

Customized

ยƒ In this case, a basic, existing framework is purchased and the vendor then adds specific capabilities as required by the contract.

8. Vendor Management

Contracted Software

ยƒ This is software that is contractually specified and provided by a thirdโ€party developer. The contract can also specify the software quality activities that the vendor must perform and which the buyer will audit. ยƒ The software quality practitioner has the responsibility in each case to determine the optimum level of influence toeach case to determine the optimum level of influence to be applied, and how that influence can be most effectively applied. ยƒ The purchaser's quality practitioners must work closely with the vendor's quality practitioners to assure that all required steps are being taken.

9. Software Safety

Safety

ยƒ Every software project must consciously consider the safety implications of the software and the system of which it is a part. ยƒ The project management plan should include a paragraph describing the safety issues to be considered. If appropriate a software safety plan should be preparedappropriate, a software safety plan should be prepared.

9. Software Safety

Safety

ยƒ The following are four of the most important aspects of software safety: ยƒ Software whose failure could damage hardware or equipment ยƒ Software whose failure could hurt the business or enterprise ยƒ Software whose failure could cause harm to the environment ยƒ Software whose failure could cause harm to people

9. Software Safety

Damaging hardware

ยƒ Damage caused when the software embedded in a generator fails to respond to a high temperature signal. ยƒ Meltdown of a nuclear power plant caused by an incorrect software action or response.

9. Software Safety

Business or enterprise damage

ยƒ Software is often used to make important business decisions and actually run the business. ยƒ A retail store chain could lose track of its inventory and discover its automatic ordering system is ordering the wrong products.

9. Software Safety

Environmental damage

ยƒ The software monitoring an oil pipeline could fail to detect, or react incorrectly to the detection of, a leaking or burst section of the line. ยƒ Navigational software failure could cause an oil tanker to run aground and spill millions of gallons of crude oil into the seathe sea.

9. Software Safety

Damage to humans

ยƒ An air traffic control system failure could result in the collision of aircraft ยƒ Software controlling a morphine intravenous injection system could result in a patient's overdose.

10. Risk Management

Risk Management

ยƒ Risk management includes identification of the risk; determining the probability, cost, or threat of the risk; and taking action to eliminate, reduce, or accept the risk. Risk and its treatment is a necessary topic in the project plan and may deserve its own risk management plan.

10. Risk Management

Types of Risk

ยƒ Technical, managerial, operational, environment, and testing risks all represent threats to the success of a software product. While other risks exist, these are the most prevalent, identifiable, and addressable in a software development or maintenance project.

10. Risk Management

1. Technical Risk

ยƒ Two major questions need to be asked: ยƒ Do we really know what the problem is? ยƒ Is the problem solvable? ยƒ A complete definition of the business needs and subsequent software requirements is essential prior to software ft dd evelopmentl t ยƒ Just because a problem is known does not mean it can be solved. Solutions may be too expensive or could turn out to be a negative contribution to the overall business.

10. Risk Management

Software Misuse

ยƒ Anticipation of, and builtโ€in software protection against, common unintentional mistakes on the part of the user is a risk response that is often possible. ยƒ The intentional misuse of the product usually cannot be foreseen and is hard to stop even if it can be foreseen. In these cases clear statements of the proper scope and usethese cases, clear statements of the proper scope and use of the product and specific cautions about the potential results of misuse may be a company's only defense. ยƒ It is the responsibility of the quality practitioner is to keep management aware of the potential for and possible consequences of product misuse.

10. Risk Management

Maintenance

ยƒ Both quality control and quality assurance practitioners have direct roles in identifying and addressing maintenance risks. ยƒ The quality control practitioner's role is to make certain that every maintenance activity is checked, tested, reviewed and configuration managed prior to thereviewed, and configuration managed prior to the completion of the maintenance action.

10. Risk Management

4. Environment Risk

ยƒ A formal risk should be carried out to assess various types of damage to which the specific data center is vulnerable and the degree of protection that is appropriate.

10. Risk Management

5. Testing Risk

ยƒ The quality control practitioner should stick to a wellโ€ constructed test plan and test process to reduce incomplete ยƒ The results of the analysis will be presented to responsible management for the final decision as to whether to accept the risk or end testingthe risk or end testing.

Elements of a Software Quality System

Suggested Reading:

ยƒ Practical Guide to Software Quality Management, Second Edition by John W. Horch, Artech House, 2003