OpenMRS

Check bad code practices through Findbugs or Sonar and fix those issues.

Currently OpenMRS configured Sonar plugin for openmrs-core [0], which shows bad code practices such as print strack trace and etc. The objective of this task to fix small bad code styles using rules configured in Sonar of Findbugs and correct them. [1] contains the OpenMRS Sonar link where [2] is a sample bad code practice which we can fix with proper error message. Make changes to at least 10 files with one code style fix to complete the task Consider following [3] so that your pull request is directed towards the master branch. These will be reviewed and merged at a later time. [0] - https://github.com/openmrs/openmrs-core [1] - https://ci.openmrs.org/sonar [2] - https://ci.openmrs.org/sonar/drilldown/issues/1865?&rule=squid%3AS1148&rule_sev=CRITICAL&severity=CRITICAL# [3] - https://talk.openmrs.org/t/working-with-git-for-gci-2014-student-participants/911

This must be original work and must be in your own words. Any assets you use must be Creative Commons and attributed accordingly, or be your own original work.

Students who completed this task

Bartłomiej Rasztabiga, Fawwaz Yusran, Tomasz Domagała

Task type

  • done_all Quality Assurance
close

2017