Skip to content

restful-ma/rest-ruler-evaluation

Repository files navigation

RESTRuler: Evaluation Artifacts

All artifacts related to the empirical evaluation of the RESTRuler CLI, a Java-based tool to identify design rule violations in OpenAPI descriptions (Java version >= 18 needed)

Goal and Methods

The evaluation was concerned with three things:

For robustness and performance efficiency, we downloaded ~2.3k OpenAPI descriptions from https://apis.guru, a public repository of OpenAPI descriptions, and let RESTRuler analyze them. For effectiveness, we performed a separate analysis of precision , i.e., how many false positives, and recall, i.e., how many false negatives.

  • Precision: random selection of reported violations from the apis.gurus benchmark per implemented rule with manual analysis (are the reported violations correct?)
  • Recall: creation of a labeled gold standard together with 7 external experts (are the created violations reported?)

Comments

  • The used data set of OpenAPI descriptions is provided as a ZIP archive: apis-json.zip
  • If you want to run or adapt the scripts:
    • Don't forget to install the required dependencies: pip install -r requirements.txt
    • You may have to change several paths in the scripts, e.g., your local path to rest-ruler.jar

About

The empirical evaluation of the RESTRuler CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages