12.07.2015 Views

Engr. Ali Javed - University of Engineering and Technology, Taxila

Engr. Ali Javed - University of Engineering and Technology, Taxila

Engr. Ali Javed - University of Engineering and Technology, Taxila

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SOFTWARE QUALITY ENGINEERINGLECTURE # 1INTRODUCTION5 th September, 2012<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Instructor Information2 Course Instructor: <strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>Assistant Pr<strong>of</strong>essorDepartment <strong>of</strong> S<strong>of</strong>tware <strong>Engineering</strong>U.E.T <strong>Taxila</strong> Email: ali.javed@uettaxila.edu.pk Website: http://web.uettaxila.edu.pk/uet/UETsub/perSites/mySite.asp?frmEmail=ali.javed@uettaxila.edu.pk Contact No: +92-51-9047747 Office hours:• Monday, 09:00 - 11:00, Office # 7 S.E.DLab Instructor’s: <strong>Engr</strong>. Anum & <strong>Engr</strong>. Kanwal<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Course Information3Course Name: S<strong>of</strong>tware Quality <strong>Engineering</strong>Course Code: SE-301CMS Link: http://web.uettaxila.edu.pk/CMS/AUT2012/seSQEbs/<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Reference Books4S<strong>of</strong>tware Quality <strong>Engineering</strong>: Testing, Quality Assurance, <strong>and</strong>Quantifiable Improvement: JEFF TIAN, 2005.S<strong>of</strong>tware Testing & Continuous quality improvement 2 nd Editionby William Lewis.The Art <strong>of</strong> S<strong>of</strong>tware Testing: Glenford Myers, 2 nd EditionS<strong>of</strong>tware Testing <strong>and</strong> Quality Assurance, Theory <strong>and</strong> Practice:KSHIRASAGAR NAIK, PRIYADARSHI TRIPATHY, 2008.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Links <strong>and</strong> Reference Material5http://www.onestoptesting.com/http://www.qastreet.com/<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Grading Criteria6 Grading Mid Term - 20% End Term - 40% Quiz - 10 % Assignment - 10 % Lab Sessions - 20 %<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Quizzes <strong>and</strong> Assignments7 Quiz- 4 quizzes• 2 before mid term• 2 after mid term Assignment- 4 assignments• 2 before mid term• 2 after mid term<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


8S<strong>of</strong>tware QualityQualityQuality <strong>Engineering</strong>Quality TypesQuality Control vs Quality AssuranceDifferent views <strong>of</strong> QualityQuality ModelsCost <strong>of</strong> Quality<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Different Views <strong>of</strong> Quality9Transcendental ViewUser ViewManufacturing ViewProduct ViewValue based View<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Quality Models10 St<strong>and</strong>ard quality modelsMcCall ISO/IEC 9126IEEE Application or company specific quality models FURPS GQM Approach<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Cost <strong>of</strong> Quality11Prevention cost:Appraisal cost:Failure cost:Internal failure costExternal failure cost<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


12Quality Assurance Quality Assurance Classification Scheme for Quality Assurance Dealing with Pre- Post Release Defects Defect prevention Defect Reduction Defect Containment<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Classification scheme for QA13Defect Prevention Education <strong>and</strong> training Process conformance <strong>and</strong> st<strong>and</strong>ards enforcement Tools/technologies <strong>and</strong> techniquesDefect Reduction (Defect Detection <strong>and</strong> Removal) Static Testing Dynamic TestingDefect Containment S<strong>of</strong>tware Fault Tolerance Fault Containment<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


14S<strong>of</strong>tware Quality AssuranceS<strong>of</strong>tware Quality AssuranceSQA TeamSQA PlanS<strong>of</strong>tware ReviewFormal Technical ReviewsReview Guidelines<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


SQA Team15Testing ManagerTest Team LeadTest AnalystTesterIndependent Test Observer<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


SQA Plan16The s<strong>of</strong>tware quality assurance plan is an outline <strong>of</strong> quality measures toensure quality levels within a s<strong>of</strong>tware development effort.The plan is used to compare the actual levels <strong>of</strong> quality during developmentwith the planned levels <strong>of</strong> quality.If the levels <strong>of</strong> quality are not within the planned quality levels,management will respond appropriately as documented within the plan.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


S<strong>of</strong>tware Reviews17What is s<strong>of</strong>tware review?Why s<strong>of</strong>tware reviews?ObjectivesReview Meeting ConstraintsReview Meeting Results<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


18S<strong>of</strong>tware Configuration ManagementConfigurationS<strong>of</strong>tware Configuration ManagementBaselinesS<strong>of</strong>tware Configuration ItemsSCM ProcessSCM Tasks<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


S<strong>of</strong>tware Configuration Management19 S<strong>of</strong>tware Configuration Management is the art <strong>of</strong>identifying, organizing <strong>and</strong> controlling modificationsto the s<strong>of</strong>tware being built by a programming team. Itmaximizes productivity by minimizing mistakes<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Baselines20 IEEE Std. No. 610.12-1990 definesbaselines as,“ A specification or product that has beenformally reviewed <strong>and</strong> agreed upon, thatthereafter serves as the basis for furtherdevelopment, <strong>and</strong> that can be changed onlythrough formal change control procedures.”<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


SCI21 The items that comprises all information produced asa part <strong>of</strong> s<strong>of</strong>tware process are collectively called as<strong>of</strong>tware configuration items.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


SCM Tasks22 Identifications <strong>of</strong> objects Version Control Change Control Configuration Auditing Status Reporting<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


23S<strong>of</strong>tware TestingWhat is S<strong>of</strong>tware Testing?S<strong>of</strong>tware Testing ActivitiesS<strong>of</strong>tware Testing PrinciplesTest CasesBasic Types <strong>of</strong> testingMethods <strong>of</strong> Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


S<strong>of</strong>tware Testing24• “Testing is the process <strong>of</strong> executing a programor system with the intent <strong>of</strong> finding errors.”by Myers 1979<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Test Case25 A test case in s<strong>of</strong>tware engineering is a set <strong>of</strong>conditions or variables under which a tester willdetermine whether an application or s<strong>of</strong>twaresystem meets specifications.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


S<strong>of</strong>tware Testing Activities26Test PlanningTest Case Design <strong>and</strong> SpecificationTest Set upTest ExecutionTest Result Analysis <strong>and</strong> ReportingProblem/Bug ReportingTest Management <strong>and</strong> MeasurementTest Automation<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Methods <strong>of</strong> Testing27 Manual Testing Automated Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Types <strong>of</strong> Testing28 Black Box Testing White Box Testing Gray Box Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


29Static TestingIntroduction <strong>of</strong> static testingStatic Testing ApproachStatic Testing MethodsInspectionsWalkthroughsDesk CheckingPeer Ratings<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Static Testing30 In s<strong>of</strong>tware development, static testing, also calleddry run testing, is a form <strong>of</strong> s<strong>of</strong>tware testing wherethe authors manually read their documents/code t<strong>of</strong>ind any errors.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Static Testing Methods31 InspectionsFagan InspectionGilb InspectionTwo Person InspectionN-Fold InspectionMeetingless Inspection Walkthroughs Desk Checking Peer Ratings<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


32Black Box TestingBlack Box TestingBlack Box Testing methods<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Black Box Testing Methods33Equivalence Class Partitioning TestingBoundary Value TestingOmission TestingNull Case TestingVolume TestingLoad TestingStress TestingPerformance TestingResource TestingRequirements/Specification TestingButton Press Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Black Box Testing Methods34State Transition TestingInstallation TestingSecurity TestingIntegration TestingCompatibility TestingConfiguration TestingDocumentation TestingSmoke TestingSanity TestingUsability TestingExploratory Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


35White Box TestingWhite Box TestingWhite Box Testing methodsUnit TestingControl Flow GraphGraph Matrix<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


White Box Testing Methods36Statement CoverageSegment CoverageBranch CoverageCompound Condition CoverageBasis Path TestingData Flow TestingLoop Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


37DebuggingDebuggingBug Life CycleReportingBug/Defect TypesDefect ReportMethods <strong>of</strong> Debugging<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Debugging38Debugging is the activity which is performed after executing asuccessful test case.Debugging consists <strong>of</strong> determining the exact nature <strong>and</strong>location <strong>of</strong> the suspected error <strong>and</strong> fixing the error.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Bug Lifecycle39<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Reporting40DailyWeeklyEnd <strong>of</strong> Cycle<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Bug Types41ShowstopperCriticalNon-Critical (Minor)<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Methods <strong>of</strong> Debugging42Debugging by Brute Force AttackDebugging by InductionDebugging by DeductionDebugging by BacktrackingDebugging by Testing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


43Quality ManagementQuality Management OverviewQuality AssuranceQuality PlanningQuality ControlS<strong>of</strong>tware Measurement <strong>and</strong> Metrics<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Quality Management44The term Quality management has a specific meaning within manybusiness sectors. This specific definition can be considered to have thefollowing main components:quality assurancequality planningquality control<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


S<strong>of</strong>tware Metrics45A s<strong>of</strong>tware metric is a quantitative measure <strong>of</strong> degree to whicha system, component or process possesses a given attribute. Lines <strong>of</strong> code in a program, number <strong>of</strong> person-days required todevelop a component, KLOC/defects etc.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


46Process ImprovementProcess ImprovementProcess <strong>and</strong> product qualityProcess analysisProcess changeCMMI ModelSix Sigma<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Process Improvement47“Process improvement” means making things better or moreformally Underst<strong>and</strong>ing existing processes <strong>and</strong> introducingprocess changes to improve product quality, reduce costs oraccelerate schedules.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Process & Product Quality48DevelopmenttechnologyProcessqualityProductqualityPeoplequalityCost, time <strong>and</strong>schedule<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Process Analysis49 Questionnaires <strong>and</strong> Interviews Ethnographic Analysis<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Process Change50Involves making modifications to existing processes.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


CMMI [9]51CMMI is a process improvement approach that providesorganizations with the essential elements <strong>of</strong> effective processesthat ultimately improve their performance. The CMMI model has 5 levels: Initial Managed Defined Quantitatively Managed Optimizing<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


Six Sigma [8]52 Six Sigma is a businessmanagement strategy originallydeveloped by Motorola, USA in1986. As <strong>of</strong> 2010, it is widely usedin many sectors <strong>of</strong> industry.Six Sigma seeks to improve thequality <strong>of</strong> process outputs byidentifying <strong>and</strong> removing the causes<strong>of</strong> defects (errors) <strong>and</strong> minimizingvariability in manufacturing <strong>and</strong>business processes.<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


53Cleanroom S<strong>of</strong>tware <strong>Engineering</strong>[10]Cleanroom S<strong>of</strong>tware <strong>Engineering</strong>Cleanroom FunctionsCleanroom Strategy<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


References541. S<strong>of</strong>tware Quality <strong>Engineering</strong>: Testing, Quality Assurance, <strong>and</strong> QuantifiableImprovement: JEFF TIAN, 2005.2. The Art <strong>of</strong> S<strong>of</strong>tware Testing by Glenford Myers3. S<strong>of</strong>tware <strong>Engineering</strong> by Ian Sommerville4. S<strong>of</strong>tware <strong>Engineering</strong> by Roger Pressman5. WhiteBox <strong>and</strong> BlackBox Testing methods used in LMKR S<strong>of</strong>tware house6. http://www.mosaicinc.com/mosaicinc/rmThisMonth.asp7. http://en.wikipedia.org/wiki/Quality_management8. http://en.wikipedia.org/wiki/Six_sigma9. http://en.wikipedia.org/wiki/CMMI10. http://en.wikipedia.org/wiki/Cleanroom_s<strong>of</strong>tware_engineering<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>


For any query Feel Free to ask55<strong>Engr</strong>. <strong>Ali</strong> <strong>Javed</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!