Empirical Validation of UML Statechart Diagram Metrics: A Family of Three Experiments José A. Cruz-Lemus Department of Computer Science University of Castilla – La Mancha (Spain)
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Outline Introduction Family of Experiments Definition Planning Operation Analysis and Interpretation Validity Conclusions
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Introduction Guarantee quality characteristics in OO systems since the initial lifecycle stages. MDD & MDA: conceptual models are backbone of OO systems development. Scarce references to behavioural diagrams.
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Introduction SizeNEntryANExitANANSSNCSNGNE Structural Complexity NTCC (Genero et al., 2002) Theoretical validation Briand et al. Poels and Dedene Empirical validation Metrics for UML Statechart Diagrams (SD)
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Outline Introduction Family of Experiments Family of Experiments Definition Definition Planning Planning Operation Operation Analysis and Interpretation Analysis and Interpretation Validity Validity Conclusions
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Chronology
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Definition Analyze Structural complexity and size metrics for UML SD For the purpose of purpose ofEvaluating With respect to respect to The capability of being used as indicators of the understandability of UML SD From the point of view of of view ofResearchers In the context of context of Undergraduate students of Computer Science and SE teachers of the Computer Science Department at the University of Castilla - La Mancha
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Planning E1R1R2 Context 8 teachers 10 fifth-year students 24 third-year students 49 third-year students Subjects high / averagelow experience Variables structural complexitysize Indep.: UML SD structural complexity and size understandability Dep.: UML SD understandability Instrumentation 20 UML SD Independent: metrics metrics Dependent: understandability time understandability time correctness (correct vs. answered) correctness (correct vs. answered) completeness (correct vs. asked) completeness (correct vs. asked)
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Planning E1R1R2 Hypotheses H 0,1 No correlation UML SD structural complexity and size - understandability time H 0,2 No correlation UML SD structural complexity and size - correctness H 0,3 No correlation UML SD structural complexity and size - completeness Design Within-subjects. Diagrams in different orders.
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Operation
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Operation
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Analysis and Interpretation
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Analysis and Interpretation
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Analysis and Interpretation NEntryANExitANANSSNCSNENGNTCC UTime Correct Complt UTime Correct Complt Utime Correct Complt α = 0.05E1R1R2
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Family of Experiments Validity Conclusion No pupulation sample (small and voluntary participation) ‘Pencil & Paper’ Construct Theoretical validation Internal Differences within subjects, knowledge of the universe of discourse, precision in time checking, learning and fatigue effects, motivation, plagiarism... External Materials and task used, not real projects data. Subjects. Expericenced enough.
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Outline Introduction Family of Experiments Definition Planning Operation Analysis and Interpretation Validity Conclusions
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Conclusions Metrics for structural complexity and size of UML Statechart Diagrams. Family of experiments. Descriptive statistics and Spearman’s correlation coefficients. Experience Results NA, NSS, NG, NT highly correlated to the understandability time.
Workshop on Software Metrics Validation - Ghent (Belgium) - July 6th Conclusions Future work Further validation. Practitioners and profesionals. Real projects data. Prediction model based on the metrics....
Empirical Validation of UML Statechart Diagram Metrics: A Family of Three Experiments José A. Cruz-Lemus Department of Computer Science University of Castilla – La Mancha (Spain)