Assessing the benefits of synchronization-adorned sequence diagrams: two controlled experiments

  • Authors:
  • Shaohua Xie;Eileen Kraemer;R. E. K. Stirewalt;Laura K. Dillon;Scott D. Fleming

  • Affiliations:
  • University of Georgia, Athens, Georgia;University of Georgia, Athens, Georgia;Michigan State University, East Lansing, Michigan;Michigan State University, East Lansing, Michigan;Michigan State University, East Lansing, Michigan

  • Venue:
  • Proceedings of the 4th ACM symposium on Software visualization
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Learning about concurrency and synchronization is difficult for novices. In prior work, we developed saUML, a refinement of UML sequence diagrams, to address these difficulties and found them to be beneficial when compared to text-only presentations. This paper compares saUML to standard UML sequence diagrams to judge their relative effectiveness in enhancing a novice programmer's understanding of programs with different levels of synchronization complexity. One experiment compared the two notations when used to understand programs of low synchronization complexity, as judged by their use of only simple synchronization primitives, such as mutex locks. Here, a beneficial trend was observed, but it did not rise to the level of statistical significance. A second experiment compared the two notations on similar tasks but on programs with more complex synchronization constructs, in this case condition synchronization using primitives, such as wait and signal. Here, a significant benefit (p