• Corpus ID: 238856969

Readability and Understandability of Snippets Recommended by General-purpose Web Search Engines: a Comparative Study

  title={Readability and Understandability of Snippets Recommended by General-purpose Web Search Engines: a Comparative Study},
  author={Carlos Eduardo de Carvalho Dantas and Marcelo de Almeida Maia},
Developers often search for reusable code snippets on generalpurpose web search engines like Google, Yahoo! or Microsoft Bing. But some of these code snippets may have poor quality in terms of readability or understandability. In this paper, we propose an empirical analysis to analyze the readability and understandability score from snippets extracted from the web using three independent variables: ranking, general-purpose web search engine and recommended site. We collected the top-5… 

Figures from this paper


Evaluating How Developers Use General-Purpose Web-Search for Code Retrieval
Whether a general purpose search engine like Google is an optimal choice for code-related searches is explored, and whether the performance of searching with Google varies for code vs. non-code related searches is investigated.
From Query to Usable Code: An Analysis of Stack Overflow Code Snippets
Google search is used to investigate the alignment ofusability and the natural language annotations around code snippets, and explore how to make snippets in Stack Overflow an adequate base for future automatic program generation.
Characterizing top ranked code examples in Google
Assessment of how the Google search engine ranks code examples finds that pages with multiple code examples are more likely to top ranked by Google, and single code examples that are higher ranked are larger, however, they are not necessarily more readable and reusable.
Googling for Software Development: What Developers Search For and What They Find
  • André C. Hora
  • Computer Science
    2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR)
  • 2021
This paper assesses 1.3M queries to popular programming websites and performs thousands of queries on Google to explore search results, finding that developers’ queries typically start with keywords, are short, tend to omit functional words, and are similar among each other.
What do developers search for on the web?
Light is shed as to why practitioners often perform some of these search tasks and why they find some of them to be challenging, and the implications of the findings to future research in several research areas are discussed.
A comprehensive model for code readability
The results demonstrate that (1) textual features complement other features and (2) a model containing all the features achieves a significantly higher accuracy as compared with all the other state‐of‐the‐art models.
Analysing Google rankings through search engine optimization data
  • M. Evans
  • Computer Science
    Internet Res.
  • 2007
Insight into the techniques that successful Search Engine Optimizers use to ensure a page ranks highly in Google is provided.
Software search is not a science, even among scientists
The results show that the relatively unsophisticated approaches of relying on general Web searches, the opinions of colleagues, and the literature remain the most popular approaches overall, however, software developers are more likely than non-developers to search in community sites such as Stack Overflow and GitHub, even when seeking ready-to-run software rather than source code.
Web Search Engines-A Comparative Study
1. ABSTRACT Web search engines are keys to the immense treasure of information. Dependency on the search engines is increasing drastically for both personal and professional use. It has become
An Empirical Validation of Cognitive Complexity as a Measure of Source Code Understandability
This work validate a metric called Cognitive Complexity which was explicitly designed to measure code understandability and which is already widely used due to its integration in well-known static code analysis tools.