Abstract
The contextual information associated to the work of a developer can be used to identify the source code artifacts that are more relevant at a specific point in time. This information is essential to reduce the effort spent by developers when searching for needed source code artifacts. We propose a context model that represents the focus of attention of the developer at each moment. This context model adapts automatically to changes in the focus of attention of the developer by detecting context transitions. We have developed a prototype that was submitted to an experiment with a group of developers. The results collected show that the use of our context model to rank, elicit and filter relevant source code elements for the developer is very promising.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Mostefaoui, G.K., Pasquier-Rocha, J., Brezillon, P.: Context-Aware Computing: A Guide for the Pervasive Computing Community. In: Proc. of the IEEE/ACS International Conference on Pervasive Services (ICPS 2004), pp. 39–48. IEEE Computer Society, Washington, DC (2004)
Schilit, B., Theimer, M.: Disseminating Active Map Information to Mobile Hosts. IEEE Network 8(5), 22–32 (1994)
Brown, P.J., Bovey, J.D., Chen, X.: Context-Aware Applications: From the Laboratory to the Marketplace. IEEE Personal Communications 4, 58–64 (1997)
Dey, A.K., Abowd, G.D.: Towards a Better Understanding of Context and Context-Awareness. In: Proc. of the CHI Workshop on the What, Who, Where, When, and How of Context-Awareness, The Hague, The Netherlands (2000)
Kersten, M., Murphy, G.C.: Using Task Context to Improve Programmer Productivity. In: Proc. of the 14th ACM SIGSOFT International Symposium on Foundations of Software Engineering (SIGSOFT 2006/FSE-14), pp. 1–11. ACM, New York (2006)
Parnin, C., Gorg, C.: Building Usage Contexts During Program Comprehension. In: Proc. of the 14th IEEE International Conference on Program Comprehension (ICPC 2006), pp. 13–22. IEEE Computer Society, Washington, DC (2006)
Piorkowski, D., Fleming, S., Scaffidi, C., Bogart, C., Burnett, M., John, B., Bellamy, R., Swart, C.: Reactive Information Foraging: An Empirical Investigation of Theory-Based Recommender Systems for Programmers. In: Proc. of the ACM Annual Conference on Human Factors in Computing Systems (CHI 2012), pp. 1471–1480. ACM, New York (2012)
Holmes, R., Murphy, G.C.: Using Structural Context to Recommend Source Code Examples. In: Proc. of the 27th International Conference on Software Engineering (ICSE 2005), pp. 117–125. ACM, New York (2005)
Ye, Y., Fischer, G.: Supporting Reuse by Delivering Task-Relevant and Personalized Information. In: Proc. of the 24th International Conference on Software Engineering (ICSE 2002), pp. 513–523. ACM, New York (2002)
Heinemann, L., Hummel, B.: Recommending API Methods Based on Identifier Contexts. In: Proc. of the 3rd International Workshop on Search-Driven Development: Users, Infrastructure, Tools, and Evaluation (SUITE 2011), pp. 1–4. ACM, New York (2011)
Warr, F.W., Robillard, M.P.: Suade: Topology-Based Searches for Software Investigation. In: Proc. of the 29th International Conference on Software Engineering (ICSE 2007), pp. 780–783. IEEE Computer Society, Washington, DC (2007)
Harris, Z.: Distributional Structure. Word 10(23), 146–162 (1954)
Jaccard, P.: Étude comparative de la distribution florale dans une portion des Alpes et des Jura. Bulletin del la Société Vaudoise des Sciences Naturelles 37, 547–579 (1901)
Antunes, B., Cordeiro, J., Gomes, P.: Context-Based Search in Software Development. In: Proc. of the 7th Conference on Prestigious Applications of Intelligent Systems (PAIS 2012) of the 20th European Conference on Artificial Intelligence (ECAI 2012), pp. 937–942. IOS Press (2012)
Antunes, B., Cordeiro, J., Gomes, P.: An Approach to Context-Based Recommendation in Software Development. In: Proc. of the 6th ACM Conference on Recommender Systems (RecSys 2012), pp. 171–178. ACM Press, New York (2012)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Antunes, B., Cordeiro, J., Gomes, P. (2013). An Approach to Context Modeling in Software Development. In: Cordeiro, J., Hammoudi, S., van Sinderen, M. (eds) Software and Data Technologies. ICSOFT 2012. Communications in Computer and Information Science, vol 411. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-45404-2_13
Download citation
DOI: https://doi.org/10.1007/978-3-642-45404-2_13
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-45403-5
Online ISBN: 978-3-642-45404-2
eBook Packages: Computer ScienceComputer Science (R0)