Sonar metrics for OpenMRS Core Master

Build: #1213 failed Scheduled with changes by 6 people

Stages & jobs

  1. Sonar Analysis

Test results

  • 3,476 tests in total
  • 1 test failed
  • 1 failure is new
  • 38 tests were quarantined / skipped
  • 10 minutes taken in total.
New test failures 1
Status Test View job Duration
Collapse Failed ConceptValidatorTest validate_shouldFailIfAnyNameIsAnEmptyString
Sonar Full Analysis < 1 sec
java.lang.AssertionError: 
Expected: to have global error of code 'Concept.name.empty'
     but: was <org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 2 errors
Field error in object 'concept' on field 'datatype': rejected value [null]; codes [Concept.datatype.empty.concept.datatype,Concept.datatype.empty.datatype,Concept.datatype.empty.org.openmrs.ConceptDatatype,Concept.datatype.empty]; arguments []; default message [null]
Field error in object 'concept' on field 'conceptClass': rejected value [null]; codes [Concept.conceptClass.empty.concept.conceptClass,Concept.conceptClass.empty.conceptClass,Concept.conceptClass.empty.org.openmrs.ConceptClass,Concept.conceptClass.empty]; arguments []; default message [null]>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at org.openmrs.validator.ConceptValidatorTest.validate_shouldFailIfAnyNameIsAnEmptyString(ConceptValidatorTest.java:85)
Quarantined tests 1
Status Test Failing since Quarantined by View job Duration
Successful ModuleActivatorTest shouldStopDependantModulesOnStopModule
Rafal Korytkowski Rafal Korytkowski
Sonar Full Analysis 2 secs
Skipped tests 37
Status Test Failing since View job
Skipped ObsBehaviorTest shouldVoidAndReplaceOnlyEditedUnvoidedObsWhenTheyAreFlushedToTheDatabase
Sonar Full Analysis
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch
Failing since build #1014 (Manual run by Daniel Kayiwa) Sonar Full Analysis
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch
Failing since build #1014 (Manual run by Daniel Kayiwa) Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase
Sonar Full Analysis
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty
Sonar Full Analysis
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited
Sonar Full Analysis
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues
Sonar Full Analysis
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue
Sonar Full Analysis
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt
Sonar Full Analysis
Skipped OrderServiceTest saveOrder_shouldFailForRevisionOrderIfAnActiveDrugOrderForTheSameConceptAndCareSettingsExists
Sonar Full Analysis
Skipped OrderServiceTest saveOrder_shouldSaveRevisionOrderScheduledOnDateNotOverlappingWithAnActiveOrderForTheSameConceptAndCareSetting
Sonar Full Analysis
Skipped OrderServiceTest saveOrder_shouldPassForRevisionOrderIfAnActiveTestOrderForTheSameConceptAndCareSettingsExists
Sonar Full Analysis
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull
Sonar Full Analysis
Skipped ProviderServiceTest getCountOfProviders_shouldExcludeRetiredProviders
Sonar Full Analysis
Skipped ProviderServiceTest getCountOfProviders_shouldIncludeRetiredProvidersIfIncludeRetiredIsSetToTrue
Sonar Full Analysis
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser
Sonar Full Analysis
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce
Sonar Full Analysis
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight
Sonar Full Analysis
Skipped PatientDAOTest getPatients_shouldFindPatientsEfficiently
Sonar Full Analysis
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest
Sonar Full Analysis
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule
Sonar Full Analysis
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule
Sonar Full Analysis
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasLeadingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasTrailingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasLeadingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasTrailingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasTrailingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasLeadingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasLeadingSpaces
Sonar Full Analysis
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasTrailingSpaces
Sonar Full Analysis
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad
Sonar Full Analysis