Mining relevant solutions for programming tasks from search engine results

Abstract Official documentation of software development technologies, for example, APIs, may not be sufficient for all developer needs, so searching on the Internet is a usual practice. Nonetheless, finding useful information may be challenging because the best solutions are not always among the fir...

Full description

Bibliographic Details
Main Authors: Adriano M. Rocha, Marcelo A. Maia
Format: Article
Language:English
Published: Hindawi-IET 2023-08-01
Series:IET Software
Subjects:
Online Access:https://doi.org/10.1049/sfw2.12127
_version_ 1797420625063575552
author Adriano M. Rocha
Marcelo A. Maia
author_facet Adriano M. Rocha
Marcelo A. Maia
author_sort Adriano M. Rocha
collection DOAJ
description Abstract Official documentation of software development technologies, for example, APIs, may not be sufficient for all developer needs, so searching on the Internet is a usual practice. Nonetheless, finding useful information may be challenging because the best solutions are not always among the first ranked pages. Developers need to read and discard irrelevant pages, that is, those without code examples or those that have content with little focus on the desired solution. This work aims at proposing an approach to mine relevant solutions for programming tasks from search engine results by removing irrelevant pages. The authors evaluated the top‐20 pages returned by the Google search engine, for 10 different queries, and observed that only 31% of the evaluated pages are relevant to developers. Then, the authors proposed and evaluated three different approaches to mine the relevant pages returned by the search engine. Google's search engine has been used as a baseline, and authors’ results have shown that it returns a reasonable number of irrelevant pages for developers, and the authors could establish an effective approach to remove irrelevant pages, suggesting that developers could benefit from a customised web search filter for development content.
first_indexed 2024-03-09T07:04:12Z
format Article
id doaj.art-66ec45923df0473cb2e6b9afc30a67c5
institution Directory Open Access Journal
issn 1751-8806
1751-8814
language English
last_indexed 2024-03-09T07:04:12Z
publishDate 2023-08-01
publisher Hindawi-IET
record_format Article
series IET Software
spelling doaj.art-66ec45923df0473cb2e6b9afc30a67c52023-12-03T09:44:30ZengHindawi-IETIET Software1751-88061751-88142023-08-0117445547110.1049/sfw2.12127Mining relevant solutions for programming tasks from search engine resultsAdriano M. Rocha0Marcelo A. Maia1Faculty of Computer Federal University of Uberlândia Uberlândia BrazilFaculty of Computer Federal University of Uberlândia Uberlândia BrazilAbstract Official documentation of software development technologies, for example, APIs, may not be sufficient for all developer needs, so searching on the Internet is a usual practice. Nonetheless, finding useful information may be challenging because the best solutions are not always among the first ranked pages. Developers need to read and discard irrelevant pages, that is, those without code examples or those that have content with little focus on the desired solution. This work aims at proposing an approach to mine relevant solutions for programming tasks from search engine results by removing irrelevant pages. The authors evaluated the top‐20 pages returned by the Google search engine, for 10 different queries, and observed that only 31% of the evaluated pages are relevant to developers. Then, the authors proposed and evaluated three different approaches to mine the relevant pages returned by the search engine. Google's search engine has been used as a baseline, and authors’ results have shown that it returns a reasonable number of irrelevant pages for developers, and the authors could establish an effective approach to remove irrelevant pages, suggesting that developers could benefit from a customised web search filter for development content.https://doi.org/10.1049/sfw2.12127information retrievalsoftware engineeringsoftware reusabilitysource code (software)
spellingShingle Adriano M. Rocha
Marcelo A. Maia
Mining relevant solutions for programming tasks from search engine results
IET Software
information retrieval
software engineering
software reusability
source code (software)
title Mining relevant solutions for programming tasks from search engine results
title_full Mining relevant solutions for programming tasks from search engine results
title_fullStr Mining relevant solutions for programming tasks from search engine results
title_full_unstemmed Mining relevant solutions for programming tasks from search engine results
title_short Mining relevant solutions for programming tasks from search engine results
title_sort mining relevant solutions for programming tasks from search engine results
topic information retrieval
software engineering
software reusability
source code (software)
url https://doi.org/10.1049/sfw2.12127
work_keys_str_mv AT adrianomrocha miningrelevantsolutionsforprogrammingtasksfromsearchengineresults
AT marceloamaia miningrelevantsolutionsforprogrammingtasksfromsearchengineresults