Modeling and visualizing object-oriented programs with Codecharts

Amnon Eden, Epameinondas Gasparis, Jonathan Nicholson, Rick Kazman

Research output: Contribution to journalArticlepeer-review

Abstract

Software design, development and evolution commonly require programmers to model design decisions, visualize implemented programs, and detect conflicts between design and implementation. However, common design notations rarely reconcile theoretical concerns for rigor and minimality with the practical concerns for abstraction, scalability and automated verifiability. The language of Codecharts was designed to overcome these challenges by narrowing its scope to visual specifications that articulate automatically-verifiable statements about the structure and organization of object-oriented programs. The tokens in its visual vocabulary stand for the building-blocks of object-oriented design, such as inheritance class hierarchies, sets of dynamically-bound methods, and their correlations. The formalism was tailored for those pragmatic concerns which arise from modeling class libraries and design patterns, and for visualizing programs of any size at any level of abstraction. We describe design verification, a process of proving or refuting that a Java program (i.e. its native code) conforms to the Codechart specifying it. We also describe a toolkit which supports modeling and visualization with Codecharts, as well as a fully-automated design verification tool. We conclude with empirical results which suggest gains in both speed and accuracy when using Codecharts in software design, development and evolution.
Original languageEnglish
Pages (from-to)1-28
Number of pages28
JournalFormal Methods in System Design
Volume43
Issue number1
DOIs
Publication statusPublished - 10 Jan 2013

Keywords

  • Design notations and documentation
  • Object-oriented programming
  • Patterns
  • Design concepts

Fingerprint

Dive into the research topics of 'Modeling and visualizing object-oriented programs with Codecharts'. Together they form a unique fingerprint.

Cite this