OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.32k stars 6.45k forks source link

Code quality analysis #9744

Open KiziridisK opened 3 years ago

KiziridisK commented 3 years ago

Hello ,

my name is Konstantinos Kiziridis and i' m a pre-graduate computer science student at the Aristotele University of Thessaloniki (AUTh). We were assinged a project in a class called "Analysis of Informative Systems" to conduct a code quality analysis for an open source project. I chose this repository's code to be my base code for the analysis.

I used a tool by JetBrains called "Metrics Reloaded" as a plugin to the IntelliJ IDE and calculated the following metrics:

Overall the values of the metrics were satisfying, but i made the following observations:

In the MOOD metrics the percentage calculated for the AHF and MHF metrics was a little low meaning that there could be more private methods and attributes instead of public ones.

In the Chidamber and Kemerer metrics the conclution was made that the cohesion between the classes and how they interact with each other should be greater.

Thank you in advance for reading my issue. If you would like more information on my research please contact me and i ll share more!

Kiziridis Konstantinos

iafilius commented 3 years ago

You just looked at the code itself right? Not it’s functionality, code quality generated, and correctness completeness of it. What is “code quality”, without those?