An Empirical Study on the Impact of Inconsistency Feedback during Model and Code Co-changing

By: Georgios Kanakis, Djamel Eddine Khelladi, Stefan Fischer, Michael Tröls, Alexander Egyed

Abstract

Model and code co-changing is about the coordinated modifi- cation of models and code during evolution. Intermittent inconsistencies are a common occurrence during co-changing. A partial co-change is the period in which the developer changed, say, the model but has not yet propagated the change to the code. Inconsistency feedback can be provided to developers for helping them to complete partial co-changes. However, there is no evidence whether such inconsistency feedback is useful to devel- opers. To investigate this problem, we conducted a controlled experiment with 36 subjects who were required to complete ten partially completed change tasks between models and code of two non-trivial systems. The tasks were of different levels of complexity depending on how many model diagrams they affected. All subjects had to work on all change tasks but sometimes with and sometimes without inconsistency feedback. We then measured differences between task effort and correctness. We found that when subjects were given inconsistency feedback during tasks, they were 268% more likely to complete the co-change correctly compared to when they were not given inconsistency feedback. We also found that when subjects were not given inconsistency feedback, they nearly always failed in completing co-change tasks with high complexity where the partially completed changes were spread across different diagrams in the model. These findings suggest that inconsistency feedback (i.e. detection and repair) should form an integral part of co-changing, regardless of whether the code or the model changes first. Furthermore, these findings suggest that merely having access to changes (as with the given partially completed changes) is insufficient for effective co-changing.

Keywords

Model Driven Engineering, Consistency Feedback, Change Propagation, Models, Code

Cite as:

Georgios Kanakis, Djamel Eddine Khelladi, Stefan Fischer, Michael Tröls, Alexander Egyed, “An Empirical Study on the Impact of Inconsistency Feedback during Model and Code Co-changing”, Journal of Object Technology, Volume 18, no. 2 (July 2019), pp. 10:1-21, doi:10.5381/jot.2019.18.2.a10.

PDF | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact