Finding Source Code on the Web for Remix and Reuse, 1st Edition

  • Published By:
  • ISBN-10: 1461465966
  • ISBN-13: 9781461465966
  • DDC: 005
  • Grade Level Range: College Freshman - College Senior
  • 330 Pages | eBook
  • Original Copyright 2013 | Published/Released June 2014
  • This publication's content originally published in print form: 2013

  • Price:  Sign in for price



Searching for source code on the Web has become increasingly common among professional software developers and is emerging as an area of academic research. This volume surveys past research and presents the state of the art in the area of "code retrieval on the Web." This work is concerned with the algorithms, systems, and tools to allow programmers to search for source code on the Web and the empirical studies of these inventions and practices. The label is applied to a set of related research from software engineering, information retrieval, human-computer  interaction, management, as well as commercial products. The division of code retrieval on the Web into snippet remixing and component reuse is driven both by empirical data and analysis of existing search engines and tools. Contributors include leading researchers from human-computer interaction, software engineering, programming  languages, and management. The book consists of five parts. Part I is titled "Programmers and Practices" and discusses how programmers search the Web for source code. Part II, "From Data Structures to Infrastructures," covers the creation of ground-breaking search engines for code retrieval required ingenuity in the adaptation of existing technology and in the creation of new algorithms and data structures. Part III focuses on "Reuse: Components and Projects," which are reused with minimal modification. Part IV, "Remix: Snippets and Answers," examines how source code from the Web can also be used as solutions to problems and answers to questions. The book concludes with Part V, "Looking Ahead," which looks at future programming and legalities of software reuse and remix and the implications of current intellectual property law on the future of software development. The story "Richie Boss: Private Investigator Manager" was selected as the winner of a crowdfunded short story contest.

Table of Contents

Front Cover.
Half Title Page.
Title Page.
Copyright Page.
Introduction: Remixing Snippets and Reusing Components.
1: Programmers and Practices.
2: Unweaving Code Search Toward Remixing-Centered Programming Support.
3: Archetypal Internet-Scale Source Code Searching.
4: A Controlled Experiment on the Process Used by Developers During Internet-Scale Code Search.
5: From Data Structures to Infrastructure.
6: Artifact Representation Techniques for Large-Scale Software Search Engines.
7: Krugle Code Search Architecture.
8: Experiences and Lessons Learned with the Development of a Source Code Search Engine.
9: Infrastructure for Building Code Search Applications for Developers.
10: Reuse: Components and Projects.
11: Developing Software with Open Source Software Components.
12: Open Source Reuse and Strategic Imperatives.
13: Applying Program Analysis to Code Retrieval.
14: Test-Driven Reuse: Key to Improving Precision of Search Engines for Software Reuse.
15: Remix: Snippets and Answers.
16: Software Problems That Motivate Web Searches.
17: Novel and Applied Algorithms in a Search Engine for Java Code Snippets.
18: Facilitating Crowd Sourced Software Engineering via Stack Overflow.
19: Looking Ahead.
20: Intellectual Property Law in Source Code Reuse and Remix.
21: Richie Boss: Private Investigator Manager*.