Sonar metrics for OpenMRS Core Master

Build: #841 failed Scheduled with changes by Daniel Kayiwa and Wyclif Luyima

Test results

  • 3,207 tests in total
  • 5 tests failed
  • 5 failures are new
  • 31 tests were quarantined / skipped
  • 4 minutes taken in total.
New test failures 5
Status Test View job Duration
Collapse Failed ObsTest setFormField_shouldMarkTheObsAsDirtyWhenTheValueHasBeenChanged History
Sonar Full Analysis < 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.setFormField_shouldMarkTheObsAsDirtyWhenTheValueHasBeenChanged(ObsTest.java:761)
Collapse Failed ObsTest setFormField_shouldNotMarkTheObsAsDirtyWhenTheValueHasNotBeenChanged History
Sonar Full Analysis < 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.setFormField_shouldNotMarkTheObsAsDirtyWhenTheValueHasNotBeenChanged(ObsTest.java:750)
Collapse Failed ObsTest isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue History
Sonar Full Analysis < 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue(ObsTest.java:726)
Collapse Failed ObsTest isDirty_shouldReturnTrueWhenAnyImmutableFieldHasBeenChanged History
Sonar Full Analysis < 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnyImmutableFieldHasBeenChanged(ObsTest.java:675)
Collapse Failed ObsTest isDirty_shouldReturnFalseWhenNoChangeHasBeenMade History
Sonar Full Analysis < 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnFalseWhenNoChangeHasBeenMade(ObsTest.java:659)
Quarantined tests 1
Status Test Failing since Quarantined by View job Duration
Successful ModuleActivatorTest shouldStopDependantModulesOnStopModule History
Rafal Korytkowski Rafal Korytkowski
Sonar Full Analysis 1 sec
Skipped tests 30
Status Test Failing since View job
Skipped ObsBehaviorTest shouldVoidAndReplaceOnlyEditedUnvoidedObsWhenTheyAreFlushedToTheDatabase History
Sonar Full Analysis
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch History
Sonar Full Analysis
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch History
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists History
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty History
Sonar Full Analysis
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet History
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase History
Sonar Full Analysis
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited History
Sonar Full Analysis
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue History
Sonar Full Analysis
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues History
Sonar Full Analysis
Skipped NoteServiceTest org.openmrs.api.NoteServiceTest History
Sonar Full Analysis
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt History
Sonar Full Analysis
Skipped OrderServiceTest saveOrder_shouldPassForRevisionOrderIfAnActiveTestOrderForTheSameConceptAndCareSettingsExists History
Sonar Full Analysis
Skipped OrderServiceTest saveOrder_shouldSaveRevisionOrderScheduledOnDateNotOverlappingWithAnActiveOrderForTheSameConceptAndCareSetting History
Sonar Full Analysis
Skipped OrderServiceTest saveOrder_shouldFailForRevisionOrderIfAnActiveDrugOrderForTheSameConceptAndCareSettingsExists History
Sonar Full Analysis
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull History
Sonar Full Analysis
Skipped PatientServiceTest checkPatientIdentifiers_shouldThrowErrorWhenPatientHasIdenticalIdentifiers History
Sonar Full Analysis
Skipped ProviderServiceTest getCountOfProviders_shouldIncludeRetiredProvidersIfIncludeRetiredIsSetToTrue History
Sonar Full Analysis
Skipped ProviderServiceTest getCountOfProviders_shouldExcludeRetiredProviders History
Sonar Full Analysis
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser History
Sonar Full Analysis
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce History
Sonar Full Analysis
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight History
Sonar Full Analysis
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest History
Sonar Full Analysis
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule History
Sonar Full Analysis
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule History
Sonar Full Analysis
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest History
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter History
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull History
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString History
Sonar Full Analysis
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad History
Sonar Full Analysis