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

10/14/2021
by   Carlos Eduardo C. Dantas, et al.
0

Developers often search for reusable code snippets on general-purpose 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 recommended sites and their respective code snippet recommendations using Google, Yahoo!, and Bing for 9,480 queries, and evaluate their readability and understandability scores. We found that some recommended sites have significantly better readability and understandability scores than others. The better-ranked code snippet is not necessarily more readable or understandable than a lower-ranked code snippet for all general-purpose web search engines. Moreover, considering the readability score, Google has better-ranked code snippets compared to Yahoo! or Microsoft Bing

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/22/2018

Evaluating How Developers Use General-Purpose Web-Search for Code Retrieval

Search is an integral part of a software development process. Developers...
research
10/29/2021

An O(k logn) algorithm for prefix based ranked autocomplete

Many search engines such as Google, Bing Yahoo! show search suggesti...
research
05/11/2021

You Are How (and Where) You Search? Comparative Analysis of Web Search Behaviour Using Web Tracking Data

We conduct a comparative analysis of desktop web search behaviour of use...
research
05/30/2022

Retrieving and Ranking Relevant JavaScript Technologies from Web Repositories

The selection of software technologies is an important but complex task....
research
03/27/2022

Budget-Constrained Reinforcement of Ranked Objects

Commercial entries, such as hotels, are ranked according to score by a s...
research
12/07/2020

Modeling Updates of Scholarly Webpages Using Archived Data

The vastness of the web imposes a prohibitive cost on building large-sca...
research
03/22/2021

Exploring Web Search Engines to Find Architectural Knowledge

Software engineers need relevant and up-to-date architectural knowledge ...

Please sign up or login with your details

Forgot password? Click here to reset