Abstract
As a greater number of software developers make their source code available, there is a need to store such open-source applications in a library and facilitate searching over this digital library. To achieve this, we propose the usage of agents in indexing and querying program source code. This paper describes agent roles in building index files for Java programs and users’ queries based on program structure and design patterns. Precision and recall analysis is then undertaken to evaluate the retrieval performance. We believe that such a digital library will permit better sharing of experience amongst developers and facilitate reuse of code segments.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Ruben, P., Peter, F.: Classifying software reuse. IEEE Software 4(1), 616 (1987)
Ugurel, S., Krovetz, R., Giles, C.L.: What’s the code?: automatic classification of source code archives. In: Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 632–638. ACM Press, New York (2002)
Santanul, P., Atul, P.: A framework for source code search using program patterns. IEEE Transaction on Software Engineering 20(6), 463–475 (1994)
Ostertag, E., Hendler, J., Daz, R.P., Braun, C.: Computing similarity in a reuse system: An al-based approach. ACM Transactions on Software Engineering and Methodology (TOSEM) 1(3), 205–228 (1992)
Dongarra, J.J., Grosse, E.: Distribution of mathematical software via electronic mail. Communications of the ACM 30(5), 403–407 (1987)
Prieto-Diaz, R.: A Software Classification Scheme. Phd thesis, Department of Information and Computer Science, University of California (1985)
Sugumaran, V., Storey, V.C.: A semantic-based approach to component retrieval. The DATA BASE for Advances in Information Systems 34(3), 8–24 (2003)
Penix, J., Alexander, P.: Using formal specifications for component retrieval and reuse. In: Proceedings of the 31st Hawaii International Conference on System Sciences, pp. 356–365 (1998)
Schumann, J., Fischer, B.: Nora/hammr: Making deduction-based software component retrieval practical. In: Proceedings of the 1997 International Conference on Automated Software Engineering(ASE 1997), Lake Tahoe, CA, pp. 246–254 (1997)
Nakkrasae, S., Sophatsathit, P.: A formal approach for specification and classification of software components. In: Proceedings of the 14th international conference on Software engineering and knowledge engineering, pp. 773–780. ACM Press, New York (2002)
Mili, A., Mili, R., Mittermeir, R.T.: Storing and retrieving software components: A refinement based system. IEEE Transactions on Software Engineering 23(7), 445–460 (1994)
Birmingham, W.P., Durfee, E.H., Mullen, T., Wellman, M.P.: The distributed agent architecture of the university of michigan digital library (extended abstract). In: (AAAI) Spring Symposium on Information Gathering (1995)
Barth, A., Breu, M., Endres, A., de Kemp, A. (eds.): Digital Libraries in Computer Science: The MeDoc Approach. Springer, Heidelberg (1998)
Derbyshire, D., Ferguson, I.A., Muller, J.P., Pischel, M., Wooldridge, M.: Agent-based digital libraries: Driving the information economy. In: Proceedings of the Sixth IEEE Workshops on Enabling Technologies: Infrastructure for Collaborative Enterprises, pp. 82–86 (1997)
Sycara, K., Decker, K., Pannu, A., Williamson, M., Zeng, D.: Distributed intelligent agents. IEEE Expert 11(6), 36–46 (1996)
Linn, C.N.: A multi-agent system for cooperative document indexing and query in distributed networked environments. In: Proceedings of the International Workshop on Parallel Processing, Japan, pp. 400–405 (1999)
Kusumura, Y., Hijikata, Y., Nishida, S.: Text mining agent for net auction. In: ACM Symposium on Applied Computing, Nicosia, Cyprus, pp. 1095–1102 (2004)
Sommerville, I.: Software Engineering, 7th edn. Addison-Wesley, Reading (2004)
Rodriguez, H.: Good programming practice, http://www.start-linux.com/articles/article_75.php
Yusof, Y., Rana, O.F.: Template mining in source code digital libraries. In: Proceedings of the International Workshop on Mining Software Repositories, 26th International Conference on Software Engineering, Edinburgh, UK, pp. 122–126 (2004)
Baeza-Yates, R., Ribeiro-Neto, B.: Modern Information Retrieval. Addison-Wesley, Reading (1999)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Yusof, Y., Rana, O.F. (2006). Supporting Program Indexing and Querying in Source Code Digital Libraries. In: Kolp, M., Bresciani, P., Henderson-Sellers, B., Winikoff, M. (eds) Agent-Oriented Information Systems III. AOIS 2005. Lecture Notes in Computer Science(), vol 3529. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11916291_19
Download citation
DOI: https://doi.org/10.1007/11916291_19
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-48291-8
Online ISBN: 978-3-540-48292-5
eBook Packages: Computer ScienceComputer Science (R0)