# GovernanceUtils

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 3,121 of 5,375 | 41% | 424 of 613 | 30% | 297 | 385 | 657 | 1,132 | 35 | 73
getGovernanceArtifactConfiguration(String) |  | 53% |  | 36% | 26 | 30 | 70 | 143 | 0 | 1
getAllApproveItemBeans(String, Resource, GovernanceArtifact, String) |  | 0% |  | 0% | 19 | 19 | 47 | 47 | 1 | 1
getTermDataList(String, String, String, Registry) |  | 0% |  | 0% | 9 | 9 | 42 | 42 | 1 | 1
getAvailableAspects() |  | 0% |  | 0% | 14 | 14 | 46 | 46 | 1 | 1
getAllCheckListItemBeans(Resource, GovernanceArtifact, String) |  | 0% |  | 0% | 15 | 15 | 35 | 35 | 1 | 1
findGovernanceArtifacts(Map, Registry, String) |  | 4% |  | 4% | 12 | 13 | 34 | 36 | 0 | 1
getTermDataList(Map, String, String, boolean) |  | 0% |  | 0% | 11 | 11 | 29 | 29 | 1 | 1
parameterizeString(RequestContext, String) |  | 0% |  | 0% | 7 | 7 | 23 | 23 | 1 | 1
fixExpressionForMultiplePaths(GovernanceArtifact, String) |  | 0% |  | 0% | 8 | 8 | 16 | 16 | 1 | 1
retrieveGovernanceArtifactByPath(Registry, String) |  | 69% |  | 60% | 18 | 26 | 21 | 100 | 0 | 1
removeAspect(String, String, Registry) |  | 0% |  | 0% | 7 | 7 | 25 | 25 | 1 | 1
CheckMandatoryFields(Registry, String, GovernanceArtifact) |  | 44% |  | 41% | 15 | 18 | 13 | 32 | 0 | 1
buildSearchCriteria(String, Registry, String, Map, Map, boolean) |  | 85% |  | 61% | 22 | 40 | 15 | 93 | 0 | 1
findGovernanceArtifacts(String, Registry, String, boolean) |  | 59% |  | 40% | 9 | 11 | 15 | 43 | 0 | 1
performContentSearch(String, Registry) |  | 0% |  | 0% | 6 | 6 | 21 | 21 | 1 | 1
hasSamePath(String, GovernanceArtifact, GovernanceArtifact) |  | 0% |  | 0% | 6 | 6 | 15 | 15 | 1 | 1
getPathsFromPathExpression(String, GovernanceArtifact) |  | 0% |  | 0% | 6 | 6 | 11 | 11 | 1 | 1
removeSymbolicLinks(String[], Registry) |  | 0% |  | 0% | 6 | 6 | 11 | 11 | 1 | 1
getAllArtifactPathsByLifecycleState(Registry, String, String, String) |  | 0% |  | n/a | 1 | 1 | 10 | 10 | 1 | 1
registerArtifactConfigurationByPath(Registry, int, String) |  | 0% |  | 0% | 3 | 3 | 13 | 13 | 1 | 1
associateAspect(String, String, Registry) |  | 0% |  | 0% | 2 | 2 | 12 | 12 | 1 | 1
buildSearchValue(String) |  | 52% |  | 43% | 6 | 9 | 6 | 15 | 0 | 1
getRXTConfigCache(String) |  | 0% |  | 0% | 3 | 3 | 9 | 9 | 1 | 1
getArtifactPath(Registry, String) |  | 74% |  | 70% | 3 | 6 | 6 | 27 | 0 | 1
performAttributeSearch(Map, Registry) |  | 66% |  | 60% | 3 | 6 | 6 | 21 | 0 | 1
deleteLifecycleHistoryFile(String, Registry) |  | 51% |  | 50% | 2 | 3 | 7 | 15 | 0 | 1
getNameFromUrl(String) |  | 0% |  | 0% | 3 | 3 | 6 | 6 | 1 | 1
isStartsWithRegistry(String) |  | 0% |  | 0% | 7 | 7 | 6 | 6 | 1 | 1
getDirectArtifactPath(Registry, String) |  | 58% |  | 50% | 2 | 3 | 6 | 13 | 0 | 1
removeArtifact(Registry, String) |  | 56% |  | 50% | 3 | 4 | 4 | 13 | 0 | 1
getResultPaths(Registry, String) |  | 15% |  | n/a | 0 | 1 | 4 | 5 | 0 | 1
derivePathFromQName(QName) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getPathFromPathExpression(String, GovernanceArtifact) |  | 76% |  | 62% | 3 | 5 | 3 | 12 | 0 | 1
removeArtifactFromPath(Registry, String) |  | 61% |  | 62% | 3 | 5 | 3 | 11 | 0 | 1
getGovernanceSystemRegistry(Registry) |  | 29% |  | 33% | 3 | 4 | 5 | 8 | 0 | 1
setDefaultLifeCycle(String, String, Registry) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
getGovernanceUserRegistry(Registry, String) |  | 0% |  | 0% | 2 | 2 | 3 | 3 | 1 | 1
getGovernanceUserRegistry(Registry, String, int) |  | 0% |  | 0% | 2 | 2 | 3 | 3 | 1 | 1
findGovernanceArtifactConfiguration(String, Registry) |  | 68% |  | 50% | 4 | 5 | 4 | 9 | 0 | 1
buildOMElement(byte[]) |  | 66% |  | n/a | 0 | 1 | 4 | 11 | 0 | 1
serializeOMElement(OMElement) |  | 18% |  | n/a | 0 | 1 | 4 | 5 | 0 | 1
getLifeCycleOfContext(String, String, Registry) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getPathFromPathExpression(String, GovernanceArtifact, String) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
getAllArtifactPathsByLifecycle(Registry, String, String) |  | 79% |  | n/a | 0 | 1 | 3 | 10 | 0 | 1
setTenantGovernanceSystemRegistry(int) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getUniqueAttributesNames(Registry, String) |  | 66% |  | 100% | 0 | 2 | 2 | 7 | 0 | 1
findGovernanceArtifactConfigurations(Registry) |  | 92% |  | 75% | 1 | 3 | 1 | 10 | 0 | 1
getCacheManager() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
retrieveGovernanceArtifactById(Registry, String) |  | 89% |  | 75% | 1 | 3 | 1 | 7 | 0 | 1
findGovernanceArtifacts(String, Registry) |  | 81% |  | 50% | 1 | 2 | 1 | 5 | 0 | 1
GovernanceUtils() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
setRegistryService(RegistryService) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
unsetTenantGovernanceSystemRegistry() |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
setTermsSearchService(TermsSearchService) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
setContentSearchService(ContentSearchService) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
setTermsQuerySearchService(TermsQuerySearchService) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getTermsSearchService() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getContentSearchService() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getTermsQuerySearchService() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getArtifactConfigurationByMediaType(Registry, String) |  | 95% |  | 75% | 1 | 3 | 1 | 6 | 0 | 1
evaluateXPathToElements(String, OMElement) |  | 100% |  | 100% | 0 | 2 | 0 | 5 | 0 | 1
findGovernanceArtifactConfigurationByMediaType(String, Registry) |  | 100% |  | 100% | 0 | 5 | 0 | 9 | 0 | 1
replaceNameAndNamespace(String, GovernanceArtifact) |  | 100% |  | 50% | 3 | 4 | 0 | 12 | 0 | 1
getAttributeValue(OMElement, String, String) |  | 100% |  | 100% | 0 | 3 | 0 | 7 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 9 | 0 | 1
loadGovernanceArtifacts(UserRegistry) |  | 100% |  | 100% | 0 | 2 | 0 | 4 | 0 | 1
registerArtifactConfigurations(int, List) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
findGovernanceArtifacts(String, Registry, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
loadGovernanceArtifacts(UserRegistry, List) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getAllArtifactIds(Registry) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getAllArtifacts(Registry) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
setAttributeSearchService(AttributeSearchService) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getAttributeSearchService() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1