TY - CHAP U1 - Konferenzveröffentlichung A1 - Bogner, Justus A1 - Wagner, Stefan A1 - Zimmermann, Alfred ED - Muccini, Henry ED - Avgeriou, Paris ED - Buhnova, Barbora ED - Camara, Javier ED - Caporuscio, Mauro ED - Franzago, Mirco ED - Koziolek, Anne ED - Scandurra, Patrizia ED - Trubiani, Catia ED - Weyns, Danny ED - Zdun, Uwe T1 - Collecting service-based maintainability metrics from RESTful API descriptions: static analysis and threshold derivation T2 - Software architecture : 14th European Conference, ECSA 2020 Tracks and Workshops, L'Aquila, Italy, September 14–18, 2020, proceedings N2 - 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. KW - RESTful services KW - microservices KW - maintainability KW - size KW - complexity KW - cohesion KW - metrics KW - static analysis KW - API documentation Y1 - 2020 SN - 978-3-030-59155-7 SB - 978-3-030-59155-7 U6 - https://doi.org/10.1007/978-3-030-59155-7_16 DO - https://doi.org/10.1007/978-3-030-59155-7_16 SP - 215 EP - 227 S1 - 13 PB - Springer CY - Cham ER -