[GCI-19] Quality Check on OpenMRS Reference Application 2.10.0

Task Link: https://codein.withgoogle.com/dashboard/task-instances/6468482502230016/

As a part of Google Code-in 2019, I conducted a quality check on the OpenMRS Reference Application. I did this using an online tool called CodeClimate.

CodeClimate is a quality analysis tool for code. It scans the given code and displays associated problems such as duplication problems, code smells etc. CodeClimate is really easy to use and the Quality Analysis feature is free of cost.

Here's the report that I acquired after running a quality check on the Reference App Repository on GitHub.

As seen in the attached picture, I concluded with the following.

  1. The estimated time to resolve technical debt issues is 4 days.

  2. The technical ratio of the project is between 10% and 20%

  3. The project has 21 code smells that CodeClimate detected.

  4. Through this check, I also found out that 848 lines of code are written in Java, 71 in JavaScript, and 7 in Ruby.

  5. With the help of the Churn vs maintainability graph that CodeClimate generates, I found out that the file ReferenceApplicationActivator.java has the highest estimated time needed for maintenance, which is 7 hours.