# GovernanceArtifactManager

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 1,669 of 2,661 | 37% | 209 of 304 | 31% | 137 | 185 | 253 | 497 | 12 | 33
updateGovernanceArtifact(GovernanceArtifact) |  | 37% |  | 41% | 20 | 25 | 38 | 92 | 0 | 1
addRelationships(String, GovernanceArtifact) |  | 6% |  | 4% | 23 | 24 | 44 | 48 | 0 | 1
addGovernanceArtifact(GovernanceArtifact) |  | 36% |  | 44% | 14 | 19 | 32 | 68 | 0 | 1
fixAssociations(String, String, boolean, boolean, Association[]) |  | 0% |  | 0% | 10 | 10 | 27 | 27 | 1 | 1
validateArtifact(GovernanceArtifact) |  | 34% |  | 30% | 20 | 24 | 14 | 30 | 0 | 1
addDefaultAttributeToAssociations(GovernanceArtifact) |  | 0% |  | 0% | 6 | 6 | 16 | 16 | 1 | 1
searchArtifactsByGroupingAttribute(GovernanceArtifact, String, String) |  | 0% |  | 0% | 6 | 6 | 19 | 19 | 1 | 1
setContent(GovernanceArtifact, Resource) |  | 72% |  | 75% | 6 | 17 | 15 | 61 | 0 | 1
findGovernanceArtifacts(GovernanceArtifactFilter) |  | 0% |  | 0% | 4 | 4 | 6 | 6 | 1 | 1
findGovernanceArtifacts(Map) |  | 0% |  | 0% | 3 | 3 | 5 | 5 | 1 | 1
getTermData(Map, String, boolean) |  | 0% |  | 0% | 3 | 3 | 5 | 5 | 1 | 1
getGovernanceArtifacts(String[]) |  | 63% |  | 50% | 2 | 4 | 4 | 11 | 0 | 1
addDefaultAttributeIfNotExists(GovernanceArtifact, Resource, String) |  | 0% |  | 0% | 3 | 3 | 5 | 5 | 1 | 1
isInbuiltMediatype() |  | 0% |  | 0% | 4 | 4 | 2 | 2 | 1 | 1
findGovernanceArtifacts(String) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getAllGovernanceArtifactsByLIfecycleStatus(String, String) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getAllGovernanceArtifactsByLifecycle(String) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
removeGenericArtifact(GenericArtifact) |  | 68% |  | 50% | 1 | 2 | 2 | 7 | 0 | 1
isExists(GovernanceArtifact) |  | 62% |  | n/a | 0 | 1 | 2 | 4 | 0 | 1
setContent(Resource, GovernanceArtifact) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getSubElementContent(Map, OMNamespace, String, OMElement, int) |  | 94% |  | 100% | 0 | 3 | 2 | 17 | 0 | 1
setContentAndProperties(GovernanceArtifact, Resource, Object) |  | 95% |  | 62% | 3 | 5 | 1 | 12 | 0 | 1
GovernanceArtifactManager(Registry, String, String, String, String, String, String, String, List, Association[]) |  | 100% |  | n/a | 0 | 1 | 0 | 12 | 0 | 1
setQName(GovernanceArtifact, String, String) |  | 100% |  | 66% | 2 | 4 | 0 | 7 | 0 | 1
GovernanceArtifactManager(Registry, String, String, String, String, String, String, Association[]) |  | 100% |  | n/a | 0 | 1 | 0 | 10 | 0 | 1
getAllGovernanceArtifactIds() |  | 100% |  | 100% | 0 | 2 | 0 | 5 | 0 | 1
getPaginatedGovernanceArtifacts() |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
newGovernanceArtifact(OMElement) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
newGovernanceArtifact() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getAllGovernanceArtifacts() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getGovernanceArtifact(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
removeGovernanceArtifact(String) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1