Skip to main content

Mining Source Codes to Guide Software Development

  • Conference paper
Intelligent Information and Database Systems (ACIIDS 2010)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 5990))

Included in the following conference series:

  • 1279 Accesses

Abstract

The reuse of software library and application framework is an important activity for rapid software development. However, due to rapid software changes, software libraries and application frameworks are usually not well-documented. To deal with this issue, we have developed a tool, named MACs, that provides developers with efficient and effective access to the API pattern databases for a software development project that are form by relevant source files. After an initial program statement is given, our MACs prototype can correctly predict useful relevant API code snippets. In our evaluation, we present a study investigating the usefulness of MACs in software development tasks. Our experimental evaluation shows that MACs has significant potential to assist developers, especially project newcomers, and provides a reuse method for code reuse from relevant source codes files.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Kagdi, H., Collard, M.L., Maletic, J.I.: A survey and taxonomy of approaches for mining software repositories in the context of software evolution. Journal of Software Maintenance and Evolution-Research and Practice 19(2), 77–131 (2007)

    Article  Google Scholar 

  2. Xie, T., Pei, J.: MAPO: mining API usages from open source repositories. In: Proceedings of the 2006 international workshop on Mining software repositories. ACM Press, New York (2006)

    Google Scholar 

  3. Michail, A.: Data mining library reuse patterns using generalized association rules. In: Proceedings of the 2000 International Conference on Software Engineering, pp. 167–176. IEEE Press, Los Alamitos (2000)

    Google Scholar 

  4. Mandelin, D., Xu, L., Bod, R., Kimelman, D.: Jungloid mining: helping to navigate the API jungle. In: Proceedings of the 2005 ACM SIGPLAN Conference on Programming language design and implementation. ACM Press, New York (2005)

    Google Scholar 

  5. Sahavechaphan, N., Claypool, K.: XSnippet: mining For sample code. In: Proceedings of the 21st annual ACM SIGPLAN Conference on Object-oriented programming systems, languages, and applications. ACM Press, New York (2006)

    Google Scholar 

  6. Gall, H.C., Fluri, B., Pinzger, M.: Change Analysis with Evolizer and ChangeDistiller. IEEE Software 26(1), 26–33 (2009)

    Article  Google Scholar 

  7. Koch, S.: Software evolution in open source projects - a large-scale investigation. Journal of Software Maintenance and Evolution-Research and Practice 19(6), 361–382 (2007)

    Article  Google Scholar 

  8. Purushothaman, R., Perry, D.E.: Toward understanding the rhetoric of small source code changes. IEEE Transactions on Software Engineering 31(6), 511–526 (2005)

    Article  Google Scholar 

  9. Sunghun, K., Whitehead, E.J., Yi, Z.: Classifying Software Changes: Clean or Buggy? IEEE Transactions on Software Engineering 34(2), 181–196 (2008)

    Article  Google Scholar 

  10. Koders.com, a free on-line search engine, http://www.koders.com

  11. Jian, P., Jiawei, H., Mortazavi-Asl, B., Jianyong, W., Pinto, H., Qiming, C.: Mining sequential patterns by pattern-growth: the PrefixSpan approach. IEEE Transactions on Knowledge and Data Engineering 16(11), 1424–1440 (2004)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hsu, SK., Lin, SJ. (2010). Mining Source Codes to Guide Software Development. In: Nguyen, N.T., Le, M.T., ÅšwiÄ…tek, J. (eds) Intelligent Information and Database Systems. ACIIDS 2010. Lecture Notes in Computer Science(), vol 5990. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-12145-6_46

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-12145-6_46

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-12144-9

  • Online ISBN: 978-3-642-12145-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics