Skip to main content

Cohesion Between Size of Commit and Type of Commit

  • Conference paper
  • First Online:
Computer Science and Convergence

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 114))

Abstract

Predicting what type of work was performed by developers in OSS has attracted several researchers. Previous studies have shown that fixing bugs are usually done by modifying very few files. In this study, we try to predict the trends and characteristics of how developers commit source code to version control systems (SVN, CVS, etc.). We want to investigate if number of files that are committed together is an indication of type of activity. In other words, is number of files in a commit related to the type of activity? Interestingly, we found that a strong correlation exits between type of activity and number of files involved in a commit. To make sure our study is not biased for a specific project, we have analyzed ten projects. Parsing messages in commits and processing the results, we found in coherent with previous studies bug fixing involves few files in a commit and commits that affect several files are usually related to adding functionality.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. Kagdi H, Collard ML, Maletic JI (2007) A survey and taxonomy of approaches for mining software repositories in the context of software evolution. J Softw Maint Evolut Res Pr 19(2):77–131 (March/April)

    Google Scholar 

  2. Santiago D, Liliana T (2008) Database specification deliverable ID: D3.1, Version: 2.0, Oct 10

    Google Scholar 

  3. Arafat O, Riehle D (2009) The commit size distribution of open source software. HICSS. pp 1–8

    Google Scholar 

  4. Purushothaman R, Perry DE (2005) Toward understanding the rhetoric of small source code changes. IEEE Trans Software Eng 31(6):511–526

    Article  Google Scholar 

  5. Hindle A, Godfrey MW, Holt RC (2007) Release pattern discovery via partitioning: methodology and case study. ACM Special Interest Group on Software Engineering, Washington, pp 19–27

    Google Scholar 

  6. Alali A, Kagdi H, Maletic J (2008) What’s a typical commit? A characterization of open source software repositories. ICPC. IEEE, Amsterdam, pp 182–191

    Google Scholar 

  7. Scacchi W (2007) Free/open source software development: recent research results and emerging opportunities. ESEC/SIGSOFT FSE (Companion), pp 459–468

    Google Scholar 

  8. Hindle A, Germán DM, Holt RC (2008) What do large commits tell us: a taxonomical study of large commits. MSR. ACM Press, New York, pp 99–108

    Google Scholar 

  9. Romain Robbes (2007) Mining a change-based software repository. MSR. p 15

    Google Scholar 

  10. Ohloh,Inc.Ohloh API. See http://www.ohloh.net/api

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Maryam Marzban .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer Science+Business Media B.V.

About this paper

Cite this paper

Marzban, M., Khoshmanesh, Z., Sami, A. (2012). Cohesion Between Size of Commit and Type of Commit. In: J. (Jong Hyuk) Park, J., Chao, HC., S. Obaidat, M., Kim, J. (eds) Computer Science and Convergence. Lecture Notes in Electrical Engineering, vol 114. Springer, Dordrecht. https://doi.org/10.1007/978-94-007-2792-2_22

Download citation

  • DOI: https://doi.org/10.1007/978-94-007-2792-2_22

  • Published:

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-94-007-2791-5

  • Online ISBN: 978-94-007-2792-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics