Uploaded image for project: 'Google Code-in'
  1. Google Code-in
  2. GCI-9

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

    XMLWordPrintable

Details

    Description

      Currently OpenMRS configured Sonar plugin 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 gci-2014 branch.

      [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

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              harsha89 Harsha Kumara
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified