University of Texas at Austin
Automatic software interface generation via feature oriented analysis
Abstract
dc:description.abstractSoftware interfaces are often defined as a layout of the controls for an application through which user interaction is performed. One of the fundamental concepts of this report requires a slightly different definition. A software interface is considered to be a well-defined algebraic specification of the inputs and outputs of a system. From this specification, interface representations can be generated that define the layout of the controls. With this view, a system has only one software interface but may have many distinct interface representations. This research builds on this concept to develop an approach to interface specification that allows algebraic reduction, optimization, and translation into desired representations. The approach is based on the software engineering concept of Feature Oriented Programming (FOP), which relies on composition of features to build software systems. This research defines software interfaces as features of a system in terms of properties and actions. Properties are attributes of the system that have a single known value at any time, which can be monitored or modified by the user. Actions are defined for each property as the means for monitoring and modifying the property. This report presents an approach to interface synthesis that relies on domain analysis, product-line analysis, interface generation, and interface translation. Domain analysis and product-line analysis are performed by a domain expert to specify the features of the domain in an Extended Backus-Naur Form (EBNF). An algebraic specification of the interface components, from which the interface to a particular product can be generated, is inferred from the EBNF specification. Interface generation involves feature composition, interface reduction, and interface optimization. These steps are defined based on the algebraic specification of the interface components and a supplementary specification of semantic relationships between properties and actions. Lastly, interface translation is performed to produce the desired interface representation from the interface specification for a product. The approach is demonstrated with a robotics domain example. The example covers a relatively complex system with thirteen properties, forty-two property values, and twenty-three actions that span system control, motion control, tool control, and various types of feedback. Also, twelve features were identified for the product family. Six of the features are composed to demonstrate interface generation and translation. The composition results in an interface represented by 49 algebraic statements with several redundancies. Interface reduction removes the redundancies and results in a syntactically complete interface with 28 algebraic statements (43% reduction). However, the effectiveness of the interface can be improved by applying semantic criteria to modify the syntax as is done during interface optimization. This semantics based optimization leads to a reduction of possible action combinations from 4096 to 1152. Lastly, interface translation is demonstrated via a sequential approach and a hierarchical approach. The first results in a C++ representation and the second results in a XML schema representation. Much of this work is conceptual, but the groundwork has been laid for future research into these areas
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Engineering
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Mechanical Engineering
- Department thesis:degree_department
- Mechanical Engineering
- Grantor
- University of Texas at Austin
- Year dc:date.issued
- 2004
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Taylor, Ross Corey
- Advisors dc:contributor.advisor
-
- Tesar, Delbert
- Kapoor, Chetan
Subjects
dc:subject × 3Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- Restricted
- Copyright © is held by the author. Presentation of this material on the Libraries' web site by University Libraries, The University of Texas at Austin was made possible under a limited license grant from the author who has retained all copyrights in the works.
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/90850