Sonar metrics for OpenMRS Core Master

Build: #1210 failed Scheduled with changes by 3 people

Build result summary

Details

Completed
Duration
88 minutes
Labels
None
Revision
45d9d3374bbbb66fdf84ad5498a2e0566cc6f4c9 45d9d3374bbbb66fdf84ad5498a2e0566cc6f4c9
Total tests
3452
Fixed in
#1211 (Manual run by Daniel Kayiwa)

Tests

Responsible

No one has taken responsibility for this failure

Code commits

Author Commit Message Commit date
Lluis Martinez <lluismf@gmail.com> Lluis Martinez <lluismf@gmail.com> 45d9d3374bbbb66fdf84ad5498a2e0566cc6f4c9 45d9d3374bbbb66fdf84ad5498a2e0566cc6f4c9 Lots of throws Exception removed
Ivo Ulrich <teleivo@users.noreply.github.com> Ivo Ulrich <teleivo@users.noreply.github.com> 2accd9373498e53f8c2ae066b615917989a231b3 2accd9373498e53f8c2ae066b615917989a231b3 Merge pull request #2112 from teleivo/TRUNK-5135
TRUNK-5135 Deprecate @Verifies
Ivo Ulrich <teleivo@users.noreply.github.com> Ivo Ulrich <teleivo@users.noreply.github.com> 2f3ac9f9552d1db039baef2d13be83509f069798 2f3ac9f9552d1db039baef2d13be83509f069798 Merge pull request #2111 from teleivo/conceptattributevalidatortest
Cleanup and add tests to ConceptAttributeTypeValidatorTest
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> a05edb057fc321facbbeefe4af43111eb97f9532 a05edb057fc321facbbeefe4af43111eb97f9532 TRUNK-5135 Deprecate @Verifies
all usages of @Verifies and @verifies were removed in TRUNK-5122
and thus @Verifies is deprecated and flagged using checkstyle
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> d6c2b56988f5d54427d765664a7f8e8789ca1170 d6c2b56988f5d54427d765664a7f8e8789ca1170 Cleanup and add tests to ConceptAttributeTypeValidatorTest
* add setUp method preparing variables needed for tests to remove
duplication in test setup
* split tests for null, empty, whitespace name since they are
independent
* add assertions for error code so we ensure that when devs refactor
the code the user will still get the excpected error message
* move happy path tests to the end, which makes side by side reading of
code and test easy

Tests

New test failures 3
Status Test View job Duration
Collapse Failed ReflectTest getInheritedFields_shouldReturnOnlyTheSubClassFieldsOfGivenParameterizedClass History
Sonar Full Analysis < 1 sec
java.lang.IllegalArgumentException: Field not found!
	at org.openmrs.util.ReflectTest.findFieldByName(ReflectTest.java:62)
	at org.openmrs.util.ReflectTest.getInheritedFields_shouldReturnOnlyTheSubClassFieldsOfGivenParameterizedClass(ReflectTest.java:133)
Collapse Failed ReflectTest isCollection_shouldReturnFalseIfGivenFieldClassIsNotACollectionClass History
Sonar Full Analysis < 1 sec
java.lang.IllegalArgumentException: Field not found!
	at org.openmrs.util.ReflectTest.findFieldByName(ReflectTest.java:62)
	at org.openmrs.util.ReflectTest.isCollection_shouldReturnFalseIfGivenFieldClassIsNotACollectionClass(ReflectTest.java:86)
Collapse Failed ReflectTest getAllFields_shouldReturnAllFieldsIncludePrivateAndSuperClasses History
Sonar Full Analysis < 1 sec
java.lang.IllegalArgumentException: Field not found!
	at org.openmrs.util.ReflectTest.findFieldByName(ReflectTest.java:62)
	at org.openmrs.util.ReflectTest.getAllFields_shouldReturnAllFieldsIncludePrivateAndSuperClasses(ReflectTest.java:74)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-5122Could not obtain issue details from Jira
Unknown Issue TypeTRUNK-5135Could not obtain issue details from Jira