how to be aware of software quality
DESCRIPTION
How to be aware of Software Quality. David Gonzalez Maline May 15 th 2012. How do we measure SQ?. 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?. - PowerPoint PPT PresentationTRANSCRIPT
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS General Services
DepartmentGS
Administrative Information Services
How to be aware ofSoftware Quality
David Gonzalez MalineMay 15th 2012
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
How do we measure SQ?
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
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
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Find the right perspective
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
The 10.000ft view
http://softarch.97things.oreilly.com/wiki/index.php/Get_the_1000ft_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
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Metrics
• Lines of Code
• Size of Method
• Size of Classes
• Duplication
• Different complexities
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Functional Requirements
http://www.alfredodehoces.com/fuckowski-on-line
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Code Coverage
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Test/Code Ratio
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
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 9 - 8 + (2*1) = 3.
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Toxicity Chart
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Dependency Structure Matrix
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Dependency Structure Matrix
Pastaf
arian
!
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Dependency Structure Matrix
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Dependency graphs
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Tree Maps
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
System Complexity View
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Environment Set Up
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Environment Set Up
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Environment Set Up
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Environment Set Up
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Environment Set Up
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Environment Set Up
Introscope® Workstation
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
How do you see quality?
Making comparisions
• Industry standards
• Trends
• Outliers
Aesthetics
• Symmetry
• Balance/harmony
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Beware of this religion!
CERN GS Department
CH-1211 Genève 23
Switzerlandcern.ch/gs-dep
InternetServices
GSAIS
Спасибо[email protected]