UnitService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total751 of 8137%127 of 1313%92971791942731
getXMLUnit(StringBuffer, List, Unit, AdminUser)790%80%55141411
getTreeableAuthorizedUnits(AdminUser)730%100%66151511
getListParentUnits(Unit)570%80%55151511
getListActions(String, Locale, Unit, AdminUser, UnittreeRBACRecursiveType)530%100%66101011
getSubUnitsAsReferenceList(int, Locale)530%40%33121211
populateTreeUnit(TreeUnit, AdminUser, boolean)520%100%66111111
isParent(Unit, Unit)390%120%779911
getXMLUnits(AdminUser)320%20%228811
isAuthorized(Unit, String, AdminUser, UnittreeRBACRecursiveType)300%50%449911
moveSubTree(Unit, Unit)300%80%557711
getAuthorizedActions(List, Unit, AdminUser, UnittreeRBACRecursiveType)290%40%336611
getSubUnits(int, boolean)271738%6225%4571301
isAuthorizedForAtLeastOneUnit(List, String, AdminUser)260%40%337711
isAuthorized(String, String, AdminUser, UnittreeRBACRecursiveType)230%40%335511
getUnitsByIdUser(int, boolean)220%60%446611
getAllUnits(boolean)210%60%447711
isUnitInList(Unit, Collection)200%40%335511
removeUnit(int, HttpServletRequest)160%40%335511
createUnit(Unit, HttpServletRequest)120%20%225511
getUnit(int, boolean)110%40%334411
canCreateSubUnit(int)110%40%331111
getTreeXsl()90%n/a112211
updateUnit(Unit, HttpServletRequest)80%20%224411
getRootUnit(boolean)50%n/a111111
getUnitsFirstLevel(boolean)50%n/a111111
hasSubUnits(int)30%n/a111111
getUnitByCode(String, boolean)30%n/a111111
getUnitWithNoChildren()20%n/a111111
getAllSubUnitsRecursive(List, boolean)31100%2100%020601
getAllSubUnits(Unit, boolean)11100%n/a010201
UnitService()3100%n/a010101