Web API Change-Proneness Prediction
Uloženo v:
| Název: | Web API Change-Proneness Prediction |
|---|---|
| Autoři: | Koçi, Rediana, Franch Gutiérrez, Javier, Jovanovic, Petar, Abelló Gamazo, Alberto |
| Zdroj: | UPCommons. Portal del coneixement obert de la UPC Universitat Politècnica de Catalunya (UPC) |
| Informace o vydavateli: | IEEE, 2024. |
| Rok vydání: | 2024 |
| Témata: | Application programming interfaces (API), Design characteristics, Real world web, Àrees temàtiques de la UPC::Informàtica::Enginyeria del software, Change history, Software artefacts, Usage metric, Usage metrics, Design history, Web API, Change-proneness, Critical factors, Consumer behavior |
| Popis: | Change-proneness of software artifacts has been mainly related to the design characteristics and their previous history of changes. While these two aspects are essential and contribute significantly to the prediction, they leave out a critical factor: how the artifacts are being used. In the context of web APIs, consumers represent one of the main drivers of the change. Therefore, we propose a methodology for predicting the change-proneness of web API endpoint interfaces, taking into account not only design and change history but also their usage. Since the evolution of web APIs is and should be usage-driven, the way consumers use an API affects the future changes implemented by providers. Consequently, consumers' usage behavior contains essential information that contributes to identifying endpoints that are more prone to change. By considering the reasons behind changes, we introduce a set of metrics comprising design and usage aspects to be used as variables in prediction. To demonstrate the usefulness of the approach we perform an initial evaluation using a real-world web API. We quantify the introduced metrics using web API documentation, code, and usage logs in order to build a classifier able to predict with 82 % accuracy if an endpoint will change based on its design, history of changes, and usage characteristics. This paper has been funded by the Spanish Ministerio de Ciencia e Innovacion under project/funding scheme PID2020-117191RB-I00/AEI/10.13039/501100011033. |
| Druh dokumentu: | Article Conference object |
| Popis souboru: | application/pdf |
| DOI: | 10.1109/saner60148.2024.00050 |
| Rights: | STM Policy #29 |
| Přístupové číslo: | edsair.doi.dedup.....1c441089da9734a387f12e8d1d7f6dd7 |
| Databáze: | OpenAIRE |
| Abstrakt: | Change-proneness of software artifacts has been mainly related to the design characteristics and their previous history of changes. While these two aspects are essential and contribute significantly to the prediction, they leave out a critical factor: how the artifacts are being used. In the context of web APIs, consumers represent one of the main drivers of the change. Therefore, we propose a methodology for predicting the change-proneness of web API endpoint interfaces, taking into account not only design and change history but also their usage. Since the evolution of web APIs is and should be usage-driven, the way consumers use an API affects the future changes implemented by providers. Consequently, consumers' usage behavior contains essential information that contributes to identifying endpoints that are more prone to change. By considering the reasons behind changes, we introduce a set of metrics comprising design and usage aspects to be used as variables in prediction. To demonstrate the usefulness of the approach we perform an initial evaluation using a real-world web API. We quantify the introduced metrics using web API documentation, code, and usage logs in order to build a classifier able to predict with 82 % accuracy if an endpoint will change based on its design, history of changes, and usage characteristics.<br />This paper has been funded by the Spanish Ministerio de Ciencia e Innovacion under project/funding scheme PID2020-117191RB-I00/AEI/10.13039/501100011033. |
|---|---|
| DOI: | 10.1109/saner60148.2024.00050 |
Nájsť tento článok vo Web of Science