Collecting service-based maintainability metrics from restful api descriptions: Static analysis and threshold derivation

8Citations
Citations of this article
22Readers
Mendeley users who have this article in their library.
Get full text

Abstract

While many maintainability metrics have been explicitly designed for service-based systems, tool-supported approaches to automatically collect these metrics are lacking. Especially in the context of microservices, decentralization and technological heterogeneity may pose challenges for static analysis. We therefore propose the modular and extensible RAMA approach (RESTful API Metric Analyzer) to calculate such metrics from machine-readable interface descriptions of RESTful services. We also provide prototypical tool support, the RAMA CLI, which currently parses the formats OpenAPI, RAML, and WADL and calculates 10 structural service-based metrics proposed in scientific literature. To make RAMA measurement results more actionable, we additionally designed a repeatable benchmark for quartile-based threshold ranges (green, yellow, orange, red). In an exemplary run, we derived thresholds for all RAMA CLI metrics from the interface descriptions of 1,737 publicly available RESTful APIs. Researchers and practitioners can use RAMA to evaluate the maintainability of RESTful services or to support the empirical evaluation of new service interface metrics.

Cite

CITATION STYLE

APA

Bogner, J., Wagner, S., & Zimmermann, A. (2020). Collecting service-based maintainability metrics from restful api descriptions: Static analysis and threshold derivation. In Communications in Computer and Information Science (Vol. 1269 CCIS, pp. 215–227). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-030-59155-7_16

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free