Class XmlReport
java.lang.Object
com.reallifedeveloper.maven.jdepend.xml.XmlReport
A representation of the XML report generated by JDepend.
- Author:
- RealLifeDeveloper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContains information from theClasselement.static classContains information from thePackageelement.static classContains information from theCycleselement.static classContains information from theStatselement. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindPackageWithCycle(String packageName) If the given package has any cycles, provides information about this.Gives the packages that were included in the JDepend report, but not successfully analyzed.Gives the packages that were successfully analyzed by JDepend.
-
Constructor Details
-
XmlReport
public XmlReport()
-
-
Method Details
-
packagesWithoutError
Gives the packages that were successfully analyzed by JDepend.The XML report generataed by JDepend includes external packages, e.g.,
java.lang, but with an error message saying something likepackage referenced, but not analyzed.- Returns:
- the packages that were successfully analyzed by JDepend
-
packagesWithError
Gives the packages that were included in the JDepend report, but not successfully analyzed.- Returns:
- the packages that were included in the JDepend report, but not successfully analyzed
-
findPackageWithCycle
If the given package has any cycles, provides information about this.- Parameters:
packageName- the name of the package to check- Returns:
- an optional containing an
XmlReport.XmlPackageWithCycleif the package namedpackageNamecontains cycles, an empty optional otherwise
-