skip to main content
10.1145/1529282.1529396acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

An approach to detection of UML-based ownership violation

Published: 08 March 2009 Publication History

Abstract

In this paper, we study how to detect the ownership violation based on the Unified Modeling Language (UML 2.0) in IBM Eclipse Modeling Framework. We develop a novel technique for automatically detecting the ownership violation in a program against its design class diagram using a software model checker. Specifically, given the fields that are intended to implement ownership in a UML class diagram, our approach checks the ownership property in two steps. First, the approach systematically generates all valid object diagrams, i.e. valid input program states. Then, after a method to destroy the owner object is called on each object diagram, the approach checks whether all external links to the owned objects have been removed. Central to this approach is how to prune away the large search space that includes all valid input program states.

References

[1]
Object Management Group: Unified Modeling Language: Superstructure, version 2.0, August 2005.
[2]
D. Akehurst, G. Howells, K. McDonald-Maier: Implementing Associations: UML 2.0 to Java 5, In Software System Model, 6(2007), 3--35.
[3]
SAT4J Model Checker: http://www.sat4j.org.
[4]
B. Boyapati, B. Liskov, and L. Shrira: Ownership Types for Object Encapsulation. In Proceedings of Symposium on Principles of Programming Languages, ACM Press, New York, NY, 2003, pages 213--223.
[5]
Y.-G Gueheneuc and H. Albin-Amiot: Recovering Binary class relationships: Putting icing on the UML Cake. In Proceedings of Conference on Object-Oriented Programming Systems, Languages, and Applications, ACM Press, New York, pages 301--314, 2004
[6]
A. Milanova: Precise Identification of Composition Relationships for UML class diagrams. In Proceedings of Automated Software Engineering, 2005, pages??-??, November 7--11, Long Beach, CA, USA.
[7]
D. Jackson, C. A. Damon: Elements of Style: Analyzing a Software Design Feature With a Counterexample Detector, In IEEE Transactions on Software Engineering (TSE) 22(7), July 1996.
[8]
J. Bloch: Effective Java: Second Edition, Prentice Hall PTR, June 2001.
[9]
F. Budinsky, D. Steinberg, E. Merks, R. Ellersick, T. Grose: Eclipse Modeling Framework, Addison-Wesley Professional. Aug 2003.
[10]
S. Chaki, E. Clarke, A. Groce, S. Jha, H. Veith: Modular Verification of Software Components in C, In Proceedings of International Conference on Software Engineering, June 2003.
[11]
P. Godefroid: Model Checking for Programming Languages using VeriSoft, In Proceedings of Programming Language and Design and Implementation (PLDI), January, 1997.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '09: Proceedings of the 2009 ACM symposium on Applied Computing
March 2009
2347 pages
ISBN:9781605581668
DOI:10.1145/1529282
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 March 2009

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Eclipse
  2. UML
  3. class diagram
  4. model checker
  5. ownership

Qualifiers

  • Research-article

Conference

SAC09
Sponsor:
SAC09: The 2009 ACM Symposium on Applied Computing
March 8, 2009 - March 12, 2008
Hawaii, Honolulu

Acceptance Rates

Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 124
    Total Downloads
  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 04 Jan 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media