词条 | Mining software repositories |
释义 |
}} The mining software repositories{{citation needed|date=May 2016}} (MSR) field [1] analyzes the rich data available in software repositories, such as version control repositories, mailing list archives, bug tracking systems, issue tracking systems, etc. to uncover interesting and actionable information about software systems, projects and software engineering. DefinitionHerzig and Zeller define ”mining software archives” as a process to ”obtain lots of initial evidence” by extracting data from software repositories. Further they define ”data sources” as product-based artefacts like source code, requirement artefacts or version archives and claim that these sources are unbiased, but noisy and incomplete.[2] TechniquesCoupled Change AnalysisThe idea in coupled change analysis is that developers change code entities (e.g. files) together frequently for fixing defects or introducing new features. These couplings between the entities are often not made explicit in the code or other documents. Especially developers new on the project do not know which entities need to be changed together. Coupled change analysis aims to extract the coupling out of the version control system for a project. By the commits and the timing of changes, we might be able to identify which entities frequently change together. This information could then be presented to developers about to change one of the entities to support them in their further changes.[3] Commit AnalysisThere are many different kinds of commits in version control systems, e.g. bug fix commits, new feature commits, documentation commits, etc. To take data-driven decisions based on past commits, one needs to select subsets of commits that meet a given criterion. That can be done based on the commit message,[4] or based on the commit content.[5] Data & ToolsThe primary mining data comes from version control systems. Early mining experiments were done on CVS repositories.[6] Then, researchers have extensively analyzed SVN repositories. [7] Now, Git repositories are dominant[8], but special care must be given to handle branches and forks[9]. Tools:
Contradictory Findings{{Empty section|date=January 2013}}Software Metrics{{Empty section|date=January 2013}}See also
References1. ^Working Conference on Mining Software Repositories, the main software engineering conference in the area {{Comp-sci-stub}}2. ^K. S. Herzig and A. Zeller, “Mining your own evidence,” in Making Software, pp. 517–529, Sebastopol, Calif., USA: O’Reilly, 2011. 3. ^{{Cite book|last=Gall|first=H.|last2=Hajek|first2=K.|last3=Jazayeri|first3=M.|date=November 1998|title=Detection of logical coupling based on product release history|journal=Proceedings. International Conference on Software Maintenance (Cat. No. 98CB36272)|pages=190–198|doi=10.1109/icsm.1998.738508|isbn=978-0-8186-8779-2|citeseerx=10.1.1.199.7754}} 4. ^{{cite book|last1=Hindle|first1=Abram|title=2009 IEEE 17th International Conference on Program Comprehension|pages=30–39|last2=German|first2=Daniel M.|last3=Godfrey|first3=Michael W.|last4=Holt|first4=Richard C.|chapter=Automatic classication of large changes into maintenance categories|year=2009|doi=10.1109/ICPC.2009.5090025|isbn=978-1-4244-3998-0}} 5. ^{{cite book|last1=Martinez|first1=Matias|title=2013 IEEE International Conference on Software Maintenance|pages=388–391|last2=Duchien|first2=Laurence|last3=Monperrus|first3=Martin|chapter=Automatically Extracting Instances of Code Change Patterns with AST Analysis|year=2013|chapter-url=https://hal.archives-ouvertes.fr/hal-00861883/document|doi=10.1109/ICSM.2013.54|isbn=978-0-7695-4981-1|arxiv=1309.3730}} 6. ^{{Cite book|doi = 10.1109/METRICS.2005.28|chapter = Impact Analysis by Mining Software and Change Request Repositories|title = 11th IEEE International Software Metrics Symposium (METRICS'05)|pages = 29|year = 2005|last1 = Canfora|first1 = G.|last2 = Cerulo|first2 = L.|isbn = 978-0-7695-2371-2}} 7. ^{{Cite book|doi = 10.1007/978-3-540-76440-3_3|chapter = Analysing Software Repositories to Understand Software Evolution|title = Software Evolution|pages = 37–67|year = 2008|last1 = d'Ambros|first1 = Marco|last2 = Gall|first2 = Harald|last3 = Lanza|first3 = Michele|last4 = Pinzger|first4 = Martin|isbn = 978-3-540-76439-7}} 8. ^{{Cite book|doi = 10.1145/2597073.2597074|chapter = The promises and perils of mining GitHub|title = Proceedings of the 11th Working Conference on Mining Software Repositories - MSR 2014|pages = 92–101|year = 2014|last1 = Kalliamvakou|first1 = Eirini|last2 = Gousios|first2 = Georgios|last3 = Blincoe|first3 = Kelly|last4 = Singer|first4 = Leif|last5 = German|first5 = Daniel M.|last6 = Damian|first6 = Daniela|isbn = 9781450328630}} 9. ^{{Cite book|doi = 10.1109/ICSME.2014.48|chapter = On Analyzing the Topology of Commit Histories in Decentralized Version Control Systems|title = 2014 IEEE International Conference on Software Maintenance and Evolution|pages = 261–270|year = 2014|last1 = Biazzini|first1 = Marco|last2 = Monperrus|first2 = Martin|last3 = Baudry|first3 = Benoit|chapter-url = https://hal.archives-ouvertes.fr/hal-01063789/file/main.pdf|isbn = 978-1-4799-6146-7}} 1 : Web scraping |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。