Software dependences play a vital role in programme comprehension, change impact analysis and other software maintenance activities. Traditionally, these activities are supported by source code analysis; however, the source code is sometimes inaccessible or difficult to analyse, as in hybrid systems composed of source code in multiple languages using various paradigms (e.g. object-oriented programming and relational databases). Moreover, not all stakeholders have adequate knowledge to perform such analyses. For example, non-technical domain experts and consultants raise most maintenance requests; however, they cannot predict the cost and impact of the requested changes without the support of the developers. We propose a novel approach to predicting software dependences by exploiting the coupling present in domain-level information. Our approach is independent of the software implementation; hence, it can be used to approximate architectural dependences without access to the source code or the database. As such, it can be applied to hybrid systems with heterogeneous source code or legacy systems with missing source code. In addition, this approach is based solely on information visible and understandable to domain users; therefore, it can be efficiently used by domain experts without the support of software developers. We evaluate our approach with a case study on a large-scale enterprise system, in which we demonstrate how up to 65% of the source code dependences and 77% of the database dependences are predicted solely based on domain information.
Definition 6Given two tables t, t 0 2 TBL, we say that t has a direct relation to t 0 if and only if t. FK. t 0 .
Definition 7Given two tables t, t 0 2 TBL, we say that t has indirect relation to t 0 if and only if t. FK. FK À 1 . t 0 . 58 AMIR ARYANI ET AL.We use the well-known definitions of precision (P q ) and recall (R) to evaluate the outcomes of a given query: 60 AMIR ARYANI ET AL.• What kinds of software changes and maintenance activities can benefit the most from the proposed approach? We envisage that the main application of the proposed approach will be estimating the change propagation prior to maintenance activities such as bug fixes and software enhancements. Lientz and Swanson [24] classified software changes as perfective, adaptive, corrective and 70 AMIR ARYANI ET AL.