Collecting Service-Based Maintainability Metrics from RESTful API Descriptions: Static Analysis and Threshold Derivation

07/20/2020
by   Justus Bogner, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/23/2017

New ADS Functionality for the Curator

In this paper we provide an update concerning the operations of the NASA...
research
11/12/2018

Modern RESTful API DLs and frameworks for RESTful web services API schema modeling, documenting, visualizing

The given paper presents an overview of modern RESTful API description l...
research
05/21/2022

Context Matters for Image Descriptions for Accessibility: Challenges for Referenceless Evaluation Metrics

Few images on the Web receive alt-text descriptions that would make them...
research
03/21/2021

Predicting Relative Thresholds for Object Oriented Metrics

Object-oriented software metrics provide a numerical characterization of...
research
12/31/2021

OWLOOP: A Modular API to Describe OWL Axioms in OOP Objects Hierarchies

OWLOOP is an Application Programming Interface (API) for using the Ontol...
research
05/18/2020

A Link Generator for Increasing the Utility of OpenAPI-to-GraphQL Translations

Standardized interfaces are the connecting link of today's distributed s...
research
08/04/2023

MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors

While software engineers are optimistically adopting crypto-API misuse d...

Please sign up or login with your details

Forgot password? Click here to reset