Software systems are being used in ever more diverse and dynamic environments where they have to routinely and efficiently adapt to changing environmental conditions. Therefore, they must detect variations in their operating context and adapt their behavior in response to such variations. However, specifying monitoring and adaptation can be difficult due to their dependence on the contextual elements, which need to be made explicit. The variable nature of these systems calls for new approaches to create systems that can adapt to context changes. This paper proposes the GOals to Statecharts (GO2S) process to systematically derive the behavior of context-sensitive systems from requirements models. This is an iterative process centered on the incremental re?nement of a goal model, obtaining different views of the system (design, contextual, behavioral). We illustrate our proposal with the meeting scheduler exemplar and we conducted a controlled experiment in order to evaluate our process. The experiment results show that the structural complexity of the group that used our GO2S approach was lower and the mean of behavioral similarity and the time spent was higher than control group. Besides, the subjects agreed that the GO2S process is easy to use indicating that it is possible to reproduce the process and it is understandable.
Behavior; Adaptation; Context-sensitive system; Goal Model; Monitoring
@inproceedings{wer201511, author = {Vilela, J. and Castro, J. and Pimentel, J. and Lima, P.}, title = {On the behaviour of context-sensitive systems}, booktitle = {Proceedings of the WER2015-18th Workshop on Requirements Engineering, Lima - Peru}, year = {2015}, issn = {2675-0066}, isbn = {978-9972-825-80-4}, doi = {} }