IS550: Software requirements engineering Dr. Azeddine Chikh 6. Quality requirements.

Slides:



Advertisements
Similar presentations
ITSF STORE BUSINESS SOLUTION PRESENTATION. STORE MODULE INCLUDES: Material Management Purchasing Components Handling Shipments Receiving of parts Store.
Advertisements

Test process essentials Riitta Viitamäki,
Preparing the System Proposal Chapter 13 Topics: –Systems proposal –Determining hardware needs –Determining software needs –Decision to rent, lease, or.
Existing Documentation
Risk Analysis for Testing Based on Chapter 9 of Text Based on the article “ A Test Manager’s Guide to Risks Analysis and Management” by Rex Black published.
Søren Lauesen 1942Born August 10th 1958(Denmark’s computer runs) 1960High-school certificate 1962Employed at Regnecentralen 1965Masters, math-physics 1969External.
OHT 9.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Definitions and objectives Software testing strategies Software test.
Soft. Eng. II, Spr. 02Dr Driss Kettani, from I. Sommerville1 CSC-3325: Chapter 6 Title : The Software Quality Reading: I. Sommerville, Chap: 24.
Software project management (intro) Quality assurance.
R&D SDM 1 Metrics How to measure and assess software engineering? 2009 Theo Schouten.
Anskaffelse og kravspecifikation SR3_Functions - undtagen tasks.
OHT 3.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The need for comprehensive software quality requirements Classification.
CS 325: Software Engineering March 26, 2015 Software Quality Assurance Software Metrics Defect Injection Software Quality Lifecycle Measuring Progress.
Slides for: Software requirements - Styles and techniques Soren Lauesen 3. Functional requirement styles January 2007 Slides covered by the compendium.
Problem with Software Requirements are complex The client does not know the functional requirements in advance Requirements may be changing Technology.
Software Process and Product Metrics
Software Testing Introduction. Agenda Software Testing Definition Software Testing Objectives Software Testing Strategies Software Test Classifications.
Issues on Software Testing for Safety-Critical Real-Time Automation Systems Shahdat Hossain Troy Mockenhaupt.
Non-functional requirements
 Network Management  Network Administrators Jobs  Reasons for using Network Management Systems  Analysing Network Data  Points that must be taken.
1. Learning Outcomes At the end of this lecture, you should be able to: –Define the term “Usability Engineering” –Describe the various steps involved.
CS 4310: Software Engineering
OHT 3.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
Software Quality SEII-Lecture 15
Software Project Management Fifth Edition
Achieving Better Reliability With Software Reliability Engineering Russel D’Souza Russel D’Souza.
What is Software Engineering? the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software”
 The software systems must do what they are supposed to do. “do the right things”  They must perform these specific tasks correctly or satisfactorily.
Cmpe 589 Spring Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used.
1 SWE 513: Software Engineering Usability II. 2 Usability and Cost Good usability may be expensive in hardware or special software development User interface.
Software requirements
Software Software is omnipresent in the lives of billions of human beings. Software is an important component of the emerging knowledge based service.
OHTO -99 SOFTWARE ENGINEERING “SOFTWARE PRODUCT QUALITY” Today: - Software quality - Quality Components - ”Good” software properties.
1 Software quality - Definition IEEE 1. The degree to which a system, component, or process meets specified requirements. 2. The degree to which a system,
Information Systems Security Operational Control for Information Security.
Software Engineering 2003 Jyrki Nummenmaa 1 SOFTWARE PRODUCT QUALITY Today: - Software quality - Quality Components - ”Good” software properties.
1 CSE 3345 User interface design A software engineering perspective Chapter 2: Prototyping and Iterative Design.
Building Quality into Web Applications - Meeting the Challenges of Testing and Usability Paula Duchnowski CQA, CSTE (608)
Question To know that quality has improved, it would be helpful to be able to measure quality. How can we measure quality?
OHTO -99 SOFTWARE ENGINEERING “SOFTWARE PRODUCT QUALITY” Today: - Software quality - Quality Components - ”Good” software properties.
University of Palestine software engineering department Testing of Software Systems Testing throughout the software life cycle instructor: Tasneem.
Slides for User interface design A software engineering perspective Soren Lauesen 2. Prototyping and iterative design August 2006 © 2005, Pearson Education.
Designing & Testing Information Systems Notes Information Systems Design & Development: Purpose, features functionality, users & Testing.
Software Methods Mö/ slide 1 Methods and Techniques of Software Quality Management ICEL Quality Management Systems: Methods and Techniques of Software.
User interface design A software engineering perspective Soren Lauesen Slides for Chapter 1 November 2004 © 2005, Pearson Education retains the copyright.
About Quality Pre paired By: Muhammad Azhar. Scope What is Quality Quality Attributes Conclusion on software Quality Quality Concepts Quality Costs.
Requirements Engineering Southern Methodist University CSE 7316 – Chapter 3.
Software quality factors
Fault Tolerance Benchmarking. 2 Owerview What is Benchmarking? What is Dependability? What is Dependability Benchmarking? What is the relation between.
Software Engineering 2004 Jyrki Nummenmaa 1 SOFTWARE PRODUCT QUALITY Today: - Software quality - Quality Components - ”Good” software properties.
Software Testing White Box Testing. Agenda What is White Box Testing Correctness Tests and Path Coverage Correctness Tests and Line Coverage McCabe Cyclomatic.
SEN 460 Software Quality Assurance
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
1 CSE 3345 User interface design A software engineering perspective Chapter 1: Usability.
Chapter 15: Analytical evaluation. Aims: Describe inspection methods. Show how heuristic evaluation can be adapted to evaluate different products. Explain.
Hussein Alhashimi. “If you can’t measure it, you can’t manage it” Tom DeMarco,
IS550: Software requirements engineering Dr. Azeddine Chikh 5. Special interfaces - combined styles.
Chapter 3: The Requirements Workflow [Arlow and Neustadt, 2005] CS 426 Senior Projects in Computer Science University of Nevada, Reno Department of Computer.
Observing the Current System Benefits Can see how the system actually works in practice Can ask people to explain what they are doing – to gain a clear.
6. (supplemental) User Interface Design. User Interface Design System users often judge a system by its interface rather than its functionality A poorly.
ISQB Software Testing Section Meeting 10 Dec 2012.
A software engineering perspective
SEVERITY & PRIORITY RELATIONSHIP
Software Quality Assurance Software Quality Factor
Software acquisition and requirements SR3_Functions - except tasks
Software Quality Assurance
Systems Analysis and Design
Charakteristiky kvality
Software Verification, Validation, and Acceptance Testing
Presentation transcript:

IS550: Software requirements engineering Dr. Azeddine Chikh 6. Quality requirements

Soren Lauesen, "Software Requirements: Styles & Techniques" Addison-Wesley Professional 2002, 608 pp, ISBN- 10: ISBN-13: Text

0. Introduction 3 The quality requirements specify how well the system must perform its functions. How fast must it respond ? How easy must it be to use ? How secure does it have be against attacks ? How easy should it be to maintain ? Quality requirements are also called “non functional requirements”. Many requirements engineers recognize that quality specifications are very important, but they don’t know how to specify them, and little help is available in the literature. Many quality requirements are not only software requirements, but requirements for the entire system. Some quality requirements are mandatory when many are not. The basic difference between the mandatory response times in technical systems and the softer requirements for the user interaction, is that the physical world doesn’t wait for the system while users may do so.

1. Quality factors 4 Highlights Many lists of quality factors Use them as checklist Add your own in light of your own experience

ISO 9126 Functionality Accuracy Security Interoperability Suitability !! Compliance !! Reliability Maturity Fault tolerance !! Recoverability !! Usability Efficiency Maintainability Testability Changeability Analysability !! Stability !! Portability Adaptability Installability !! Conformance !! Replaceability !! McCall US Airforce 1980 Operation: Integrity Correctness !! Reliability Usability Efficiency Revision: Maintainability Testability Flexibility Transition: Portability Interoperability Reusability !! Use as check lists 1. Quality factors

2. The quality grid 6 Highlights Look at all factors on your list Assess importance for each of them Specify requirements for the important ones only

Concerns: 1.Hard to run the hotel if system is down. Checking in guests is impossible since room status is not visible. 2.We aim at small hotels too. They have less qualified staff. 3.Customers have many kinds of account systems. They prioritize smooth integration with what they have. 4.Integration with spreadsheet etc. unimportant. Built-in statistics suffice. 5.Must be much easier than present system. Staff in small hotels should ideally do it themselves. 2. The quality grid

3. Open metric and open target 8 Highlights Often hard to select a metric for measuring quality Even harder to decide the value needed Solution : Leave it to the supplier to specify it

R1:Product shall detect speed violation and take photo within 0.5 seconds. R2:Product shall compute a room occupation forecast within 2 minutes. R3:Product shall compute a room occupation forecast within 4 minutes. R4:Product shall compute a room occupation forecast within ___ minutes. R5:Product shall compute a room occupation forecast within ___ minutes. (Customer expects one minute.) R6:Forecast shall be computed with exponential trend smoothing and seasonal adjustments. Best available is 4 minutes? Nobody strives for 2 minutes Open target but how important? Open target + expectations R7:The supplier shall specify the forecast accuracy for hotels similar to ours. Open metric Supplier uses another approach? Physical limits 3. Open metric and open target

Planguage version of target etc. Forecast speed [Tag]: How quickly the system completes a forecast report [Gist] Scale:average number of seconds from pushing button, to report appearing. Meter: Measured 10 times by a stopwatch during busy hours in hotel reception. Must:8 minutes, because the competitive system does it this fast. Plan: ____ (supplier, please specify). Wish:2 minutes. Past:Done as batch job taking about an hour. 3. Open metric and open target

Cost/benefit of response time 1234min 1 2 $ or ratio Cost Benefit Benefit/cost Response time 3. Open metric and open target

4. Capacity and accuracy requirements 12 Highlights The simplest quality factor Specify worst data volumes, accuracy, etc. Trivial, but often forgotten

Capacity requirements: R1:The product shall use < 16 MB of memory even if more is available. R2:Number of simultaneous users < 2000 R3:Database volume: #guests < 10,000 growing 20% per year #rooms <1,000 R4:Guest screen shall be able to show at least 200 rooms booked/occu- pied per day, e.g. for a company event with a single “customer”. Accuracy requirements: R5:The name field shall have 150 chars. R6:Bookings shall be possible at least two years ahead. R7:Sensor data shall be stored with 14 bit accuracy, expanding to 18 bits in two years. R8:The product shall correctly recognize spoken letters and digits with factory background noise ___ % of the time. Tape B contains a sample recorded in the factory. 4. Capacity and accuracy requirements

5. Performance requirements 14 Highlights Many kinds : response time, peak traffic, etc. Technical and psychological limits Risky to mix up average cases, 95 % cases, and worst cases

Performance requirements: R1:Product shall be able to process 100 payment transactions per second in peak load. R2:Product shall be able to process one alarm in 1 second, 1000 alarms in 5 seconds. R3:In standard work load, CPU usage shall be less than 50% leaving 50% for background jobs. R4:Scrolling one page up or down in a 200 page document shall take at most 1 s. Searching for a specific keyword shall take at most 5 s. R5:When moving to the next field, typing must be possible within 0.2 s. When switching to the next screen, typing must be possible within 1.3 s. Showing simple report screens, less than 20 s. (Valid for 95% of the cases in standard load) R6:A simple report shall take less than 20 s for 95% of the cases. None shall take above 80 s. (UNREALISTIC) Cover all product functions? 5. Performance requirements

6. Usability 16 Highlights Usability problems : Users cannot figure out … Not technical or functionality problems Detect them through usability tests In practice only correctable if detected before programming Use prototype mockups to detect problems early

Usability requirements? R1:System shall be easy to use?? R2:4 out of 5 new users can book a guest in 5 minutes, check in in 10 minutes,... New user means... Training... Achieving usability Prototypes (mockups) before programming. Usability test the prototype. Redesign or revise the prototype. Easier programming. High customer satisfaction. Defect types Program error: Not as intended by the programmer. Missing functionality: Unsupported task or variant. Usability problem: User cannot figure out Usability

Usability problems Examples of usability problems P1:User takes long time to start search. Doesn’t notice “Use F10”. Tries many other ways first. P2:Believes task completed and result saved. Should have used Update before closing. P3:Cannot figure out which discount code to give customer. Knows which field to use. P4:Crazy to go through 6 screens to fill 10 fields. Problem classification Task failure: Task not completed - or believes it is completed. Critical problem:Task failure or complaints that it is cumbersome. Medium problem: Finds out solution after lengthy attempts. Minor problem: Finds out solution after short attempts 6. Usability

Usability test & heuristic evaluation Facilitator Usability test Realistic introduction Realistic tasks Note problems Observe only or Think aloud & ask Usability test: Cover all tasks? Mockups find same problems as test with final system? Heuristic evaluation Expert’s predicted problems  Inspection/Review Usability test findings Heuristic evaluation Real problems UserLog keeper 6. Usability

Defects & usability factors Usability Fit for use = tasks covered + Ease of use = Ease of learning Task efficiency Ease of remembering Subjective satisfaction Understandability Usability factors Functional requirements Defect correction Program errorsUsability problems ExpectedSurprising? Inspection OKInspection low hit-rate Detect in test stageDetect in design stage Mostly simpleOften redesign Test equipment OKSubjects hard to find 6. Usability

7. Usability requirements 21 Highlights Many ways to measure usability Some ways are suitable for new product parts, others for choosing COTS Some ways are risky to all parties

Problem counts R1:At most 1 of 5 novices shall encounter critical problems during tasks Q and R. At most 5 medium problems on list. Risk Cust. Suppl Keystroke counts R3:Recording breakfast shall be possible with 5 keystrokes per guest. No mouse. Task time R2:Novice users shall perform tasks Q and R in 15 minutes. Experienced users tasks Q, R, S in 2 minutes. Opinion poll R4:80% of users shall find system easy to learn. 60% shall recommend system to others. Score for understanding R5:Show 5 users 10 common error mesages, e.g. Amount too large. Ask for the cause. 80% of the answers shall be correct. 7. Usability requirements

Design-level reqs R6:System shall use screen pictures in app. xx, buttons work as app. yy. Risk Cust. Suppl Product-level reqs R7:For all code fields, user shall be able to select value from drop-down list. Development process reqs R9:Three prototype versions shall be made and usability tested during design. Guideline adherence R8:System shall follow style guide zz. Menus shall have at most three levels. 7. Usability requirements

8. Security 24 Highlights Security : Protect against abuse and disaster Map the threats – the ever-growing list starts here. Estimate the impact of threats – security risk assessment

Threats Product Payslip Curious eyes Wire tapping ThreatsViolatePreventions Input, e.g.Examples MistakeIntegrityLogical checks Illegal accessAuthenticitySignature Wire tappingConfidentialityEncryption Wire tapping Disk crash Storing, e.g. Disk crashAvailabilityRAID disks Program errorIntegrityTest techniques Virus deletes dataAvailabilityFirewall Output, e.g. TransmissionAvailabilityMultiple lines FraudConfidentialityAuditing Virus sends dataAuthenticityEncryption 8. Security

Security risk assessment ThreatTimes perLoss k$Loss yearper hitper year Input Illegal access10.33 Process Disk crash3130 Comp. crash155 Sabotage1110 Fraud2120 Virus11100 Output Printer error20.24 Assumptions: Losing database with all bookings:100k$ Losing computer access one day: 5k$ On-line booking turning out to be false: 0.3k$ 8. Security

9. Security requirements 27 Highlights Estimate security risks first Ask supplier how to protect against high-loss threats. Avoid asking for features unless you know they will protect you adequately

R1:Safeguard against loss of database. Estimated losses to be < 1 per 50 years. R2:Safeguard against disk crashes. Estimated losses to be < 1 per 100 years. R3:Product shall use duplicated disks (RAID disks). R4:Product shall safeguard against viruses that delete files. Remaining risk to be < ______. R5:Product shall include firewalls for virus detection. R6:Product shall follow good accounting practices. Supplier shall obtain certification. R7:Product shall prevent users deleting invoices before transfer to the account system. R8:The supplier shall as an option offer features for checking and reserving deposits made by credit cards. R9:The supplier must enclose a risk assessment and suggest optional safeguards. 9. Security requirements

10. Maintenance 29 Highlights Maintenance : repair defects, extend product, inform and train users. Systematically handle problems, defects, and requests for change. Defect versus change : unimportant What to do : important – so do it

Product Corrective maintenance Preventive maintenance New release Perfective maintenance Maintenance cycle: Report: Record and acknowledge. Analyze: Error, change, usability, mistake? Cost/benefit? Decide: Repair? reject? work-around? next release? train users? Reply: Report decision to source. Test: Test solution. Related defects? Carry out: Install, transfer user data, inform. 10. Maintenance

11. Maintainability requirements 31 Highlights Many ways to specify maintenance requirements Guaranteed time to repair is safe to customer, but risky to supplier. Supplier can charge high fees for changes. Ask for a price per unit of change. Don’t rely on complexity measures of the code

Maintenance performance R1:Supplier’s hotline shall analyze 95% of reports within 2 work hours. Urgent defects (no work around) shall be repaired within 30 work hours in 95% of the cases. R2:When reparing a defect, related non-repaired defects shall be less than 0.5 in average. R3:For a period of two years, supplier shall enhance the product at a cost of ___ per Function Point. Risk Cust. Suppl Support features R4:Installation of a new version shall leave all database contents and personal settings unchanged. R5:Supplier shall station a qualified developer at the customer’s site. R6:Supplier shall deposit code and full documentation of every release and correction at ____________. 11. Maintainability requirements

Development process requirements R7:Every program module must be assessed for maintainability according to procedure xx. 70% must obtain “highly maintainable” and none “poor”. R8:Development must use regression test allowing full re- testing in 12 hours. Risk Cust. Suppl Program complexity requirements R9:The cyclomatic complexity of code may not exceed 7. No method in any object may exceed 200 lines of code. Product feature requirements R10:Product shall log all actions and provide remote diagnostic functions. R11:Product shall provide facilities for tracing any database field to places where it is used. 11. Maintainability requirements