Explicit use-case representation in object-oriented programming languages
Robert Hirschfeld, Michael Perscheid, Michael Haupt · ACM SIGPLAN Notices · 2011
Use-cases are considered an integral part of most contemporary development processes since they describe a software system's expected behavior from the perspective of its prospective users. However, the presence of and traceability to use-cases is increasingly lost in later more code-centric development activities. Use-cases, being well-encapsulated at the level of requirements descriptions, eventually lead to crosscutting concerns in system design and source code. Tracing which parts of the system contribute to which use-cases is therefore hard and so limits understandability. In this paper, we propose an approach to making use-cases first-class entities in both the programming language and the runtime environment. Having use-cases present in the code and the running system will allow developers, maintainers, and operators to easily associate their units of work with what matters to the users. We suggest the combination of use-cases, acceptance tests, and dynamic analysis to automatically associate source code with use-cases. We present UseCasePy, an implementation of our approach to use-case-centered development in Python, and its application to the Django Web framework.
Cited by 3 works. doi:10.1145/2168696.2047856
Authors
References
- Aspect-oriented programming
- Recovering traceability links between code and documentation
- Maintaining mental models
- Program comprehension during software maintenance and evolution
- Program understanding: Challenge for the 1990s
- Recovering Documentation-to-Source-Code Traceability Links using Latent Semantic Indexing
- Locating features in source code
- Software reconnaissance: Mapping program features to code
- Locating user functionality in old code
- A conceptual basis for feature engineering