Transcript Slide 1
AIS Administrative Information Services GS General Services Department How to be aware of Software Quality Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep David Gonzalez Maline May 15th 2012 GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep How do we measure SQ? GS AIS What is Software Quality? GS Functional Requirements: • Is the software useful to the users? Non Functional Requirements: • Is the design appropriate? Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep • Is it easy to understand/maintain? AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Find the right perspective GS AIS The 10.000ft view • Is at the right level • Aggregates data and metrics • Uses visual techniques • Depends on the question Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep http://softarch.97things.oreilly.com/wiki/index.php/Get_the_1000ft_view GS AIS Metrics • Lines of Code • Size of Method • Size of Classes • Duplication Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep • Different complexities GS AIS Functional Requirements Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep http://www.alfredodehoces.com/fuckowski-on-line GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Code Coverage GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Test/Code Ratio 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 9 - 8 + (2*1) = 3. Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Toxicity Chart GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Dependency Structure Matrix GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Dependency Structure Matrix GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Dependency Structure Matrix GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Dependency graphs GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Tree Maps GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep System Complexity View GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Environment Set Up GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Environment Set Up GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Environment Set Up GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Environment Set Up GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Environment Set Up GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Environment Set Up Introscope® Workstation GS AIS How do you see quality? Making comparisions • Industry standards • Trends • Outliers Aesthetics • Symmetry Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep • Balance/harmony GS AIS Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep Beware of this religion! GS AIS GS Спасибо! [email protected] Internet Services CERN GS Department CH-1211 Genève 23 Switzerland cern.ch/gs-dep