PluginUpgradeStrategy

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,465 of 1,4650%152 of 1520%1071073473473131
doApply(UpgradeContext, Map)1350%80%55343411
analyzePluginsFromEffectiveModel(UpgradeContext, Model, Map)1020%160%99262611
findLastLocalParentForPluginManagement(UpgradeContext, Path, Map, Path, Path)910%40%33313111
findParentInPomMap(Parent, Map)900%140%88202011
upgradePluginVersion(Element, Namespace, PluginUpgradeStrategy.PluginUpgradeInfo, Document, String, UpgradeContext)880%100%66181811
isVersionBelow(String, String)820%160%99171711
analyzePluginsUsingEffectiveModels(UpgradeContext, Map, Path)810%60%44212111
addPluginManagementForEffectivePlugins(UpgradeContext, Document, Set)770%120%77212111
upgradePluginsInSection(Element, Namespace, Map, Document, String, UpgradeContext)680%160%99151511
upgradePropertyVersion(Document, String, PluginUpgradeStrategy.PluginUpgradeInfo, String, UpgradeContext)670%60%44171711
getPluginUpgradesMap()660%n/a118811
createTempProjectStructure(UpgradeContext, Map)650%20%22141411
upgradePluginsInDocument(Document, UpgradeContext)630%80%55151511
isPluginAlreadyManagedInElement(Element, Namespace, PluginUpgrade)520%120%77101011
static {...}450%n/a111111
findCommonRoot(Set)400%100%66131311
createMaven4Session()360%n/a11111111
analyzeEffectiveModelForPlugins(UpgradeContext, Path, Map)340%n/a11111111
addPluginManagementEntryFromUpgrade(Element, PluginUpgrade, UpgradeContext)320%n/a117711
lambda$createMaven4Session$0(Injector)310%n/a115511
getPluginUpgradesAsMap()280%20%226611
getPluginKey(Plugin)200%60%445511
writePomToFile(Document, Path)150%n/a114411
cleanupTempDirectory(Path)130%n/a117711
getChildText(Element, String, Namespace)120%20%222211
isApplicable(UpgradeContext)110%n/a112211
getSession()100%20%223311
lambda$analyzePluginsUsingEffectiveModels$1(Path)40%n/a111111
PluginUpgradeStrategy()30%n/a111111
getDescription()20%n/a111111
getPluginUpgrades()20%n/a111111