CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS General Services Department GS Administrative Information Services.

Slides:



Advertisements
Similar presentations
Software Testing Techniques
Advertisements

2.1 Graphs of Basic Functions and Relations; Symmetry
Chapter 6 Path Testing Software Testing
Iterative Deepening A* & Constraint Satisfaction Problems Lecture Module 6.
Path Testing Basics By Chandra Kumar R Date : 20-Nov-2004.
CYCLOMATIC COMPLEXITY 1. Invented by Thomas McCabe (1974) to measure the complexity of a program ’ s conditional logic Cyclomatic complexity of graph.
-- Finishing Design Unit -- Intro to Glass Box Testing ECEN5543 / CSCI 5548 SW Eng of Standalone Programs University of Colorado, Boulder.
David Woo (dxw07u).  What is “White Box Testing”  Data Processing and Calculation Correctness Tests  Correctness Tests:  Path Coverage  Line Coverage.
Creator: ACSession No: 13 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 Testing - Techniques CSE300 Advanced Software Engineering.
1 Static Analysis Methods CSSE 376 Software Quality Assurance Rose-Hulman Institute of Technology March 20, 2007.
Software engineering for real-time systems
IMSE Week 18 White Box or Structural Testing Reading:Sommerville (4th edition) ch 22 orPressman (4th edition) ch 16.
Chapter 18 Testing Conventional Applications
Unit Testing CS 414 – Software Engineering I Don Bagert Rose-Hulman Institute of Technology January 16, 2003.
Cyclomatic Complexity Dan Fleck Fall 2009 Dan Fleck Fall 2009.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Design Space Exploration
CMSC 345 Fall 2000 Unit Testing. The testing process.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 1 Defect testing l Testing programs to establish the presence of system defects.
Testing Worshop in Software Engineering Project Department of Computer Science Ben-Gurion university 1Worshop in SE ProjectSpring 2013.
CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services Job Monitoring for the LHC experiments Irina Sidorova (CERN, JINR) on.
Agenda Introduction Overview of White-box testing Basis path testing
1 Software Testing. 2 Path Testing 3 Structural Testing Also known as glass box, structural, clear box and white box testing. A software testing technique.
INTRUDUCTION TO SOFTWARE TESTING TECHNIQUES BY PRADEEP I.
2 2009/10 Object Oriented Technology 1 Topic 2: Introduction to Object-Oriented Approach Reference: u Ch.16 Current Trends in System Development (Satzinger:
1 Program Testing (Lecture 14) Prof. R. Mall Dept. of CSE, IIT, Kharagpur.
BASIS PATH TESTING.
Software Testing White Box Testing. Agenda What is White Box Testing Correctness Tests and Path Coverage Correctness Tests and Line Coverage McCabe Cyclomatic.
1 Control Flow Analysis Topic today Representation and Analysis Paper (Sections 1, 2) For next class: Read Representation and Analysis Paper (Section 3)
CERN IT Department CH-1211 Genève 23 Switzerland t DM Database Monitoring Tools Database Developers' Workshop CERN, July 8 th, 2008 Dawid.
CERN General Infrastructure Services Department CERN GS Department CH-1211 Geneva 23 Switzerland SMS CERN General Infrastructure.
Theory and Practice of Software Testing
Agent program is the one part(class)of Othello program. How many test cases do you have to test? Reversi [Othello]
White Box Testing by : Andika Bayu H.
Cyclomatic complexity (or conditional complexity) is a software metric (measurement). Its gives the number of indepented paths through strongly connected.
CERN - IT Department CH-1211 Genève 23 Switzerland CCRC Tape Metrics Tier-0 Tim Bell January 2008.
Cyclomatic Complexity Philippe CHARMAN Last update:
Software Testing Techniques Presented By Dr. Shazzad Hosain.
CS223: Software Engineering Lecture 21: Unit Testing Metric.
Structural Coverage. Measurement of structural coverage of code is a means of assessing the thoroughness of testing. Such metrics do not constitute testing.
CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS General Services Department GS Advanced Information Services EVM.
CERN IT Department CH-1211 Genève 23 Switzerland t Bamboo users meeting IT-CS-CT.
Testing Worshop in Software Engineering Project Department of Computer Science Ben-Gurion university 1Worshop in SE ProjectSpring 2013.
BASIS PATH TESTING.
Software Metrics 1.
White-Box Testing Pfleeger, S. Software Engineering Theory and Practice 2nd Edition. Prentice Hall, Ghezzi, C. et al., Fundamentals of Software Engineering.
Software Testing.
Cyclomatic complexity
Software Engineering (CSI 321)
Data Coverage and Code Coverage
Types of Testing Visit to more Learning Resources.
White Box Testing.
Chapter 9 Path Testing–Part 1
Mark Weiser University of Maryland, College Park IEEE CHI, 1981
Chapter 4 LOOPS © Bobby Hoggard, Department of Computer Science, East Carolina University / These slides may not be used or duplicated without permission.
Programming Fundamentals Lecture #6 Program Control
Part 10 Q46 to Q50 of National 5 Prelim
Software Testing (Lecture 11-a)
Software Engineering Lecture #39
Halstead software science measures and other metrics for source code
Structural Coverage.
Solution to problem 4. a) Control flow graph art Start k = i + 2 * j
Best Practices for Creating Custom Views in TrueSight Console
Structural Coverage.
Software Metrics using EiffelStudio
Group 9 – Data Mining: Data
Paul Ammann & Jeff Offutt
Bubble Sort begin; int A[10]; main(){ int i,j; Do 10 i = 0, 9, 1
Computer Tools.
Unit III – Chapter 3 Path Testing.
Presentation transcript:

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS General Services Department GS Administrative Information Services How to be aware of Software Quality David Gonzalez Maline May 15 th 2012

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS How do we measure SQ?

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS What is Software Quality? Functional Requirements: Is the software useful to the users? Non Functional Requirements: Is the design appropriate? Is it easy to understand/maintain?

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Find the right perspective

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS The ft view Is at the right level Aggregates data and metrics Uses visual techniques Depends on the question

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Metrics Lines of Code Size of Method Size of Classes Duplication Different complexities

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Functional Requirements

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Code Coverage

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Test/Code Ratio

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Cyclomatic Complexity A control flow graph of a simple program. The program begins executing at the red node, then enters a loop (group of three nodes immediately below the red node). On exiting the loop, there is a conditional statement (group below the loop), and finally the program exits at the blue node. For this graph, E = 9, N = 8 and P = 1, so the cyclomatic complexity of the program is (2*1) = 3.

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Toxicity Chart

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Dependency Structure Matrix

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Dependency Structure Matrix Pastafarian!

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Dependency Structure Matrix

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Dependency graphs

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Tree Maps

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS System Complexity View

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Environment Set Up

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Environment Set Up

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Environment Set Up

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Environment Set Up

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Environment Set Up

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Environment Set Up Introscope® Workstation

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS How do you see quality? Making comparisions Industry standards Trends Outliers Aesthetics Symmetry Balance/harmony

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Beware of this religion!

CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Internet Services GS AIS Спасибо!