| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
InstrumentationSession.enterClass(String name,
SourceInfo region,
ModifiersInfo modifiers,
boolean isInterface,
boolean isEnum,
boolean isAnnotation) |
ClassInfo |
InstrumentationSession.exitClass(int endLine,
int endCol) |
ClassInfo |
InstrumentationSession.getCurrentClass() |
| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
ProjectInfo.findClass(String fullyQualifiedName)
Searches and returns a class having the specified fully qualified name
|
ClassInfo |
MethodInfo.getContainingClass()
Returns a class in which method is declared or
null if method (actually it will be a function
or procedure) is declared outside the class. |
ClassInfo |
ClassInfo.getContainingClass()
Returns a class in which this class is declared (case for inner classes) or
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
List<? extends ClassInfo> |
PackageInfo.getAllClasses()
Returns list of all classes (including inner or inline classes) declared in this package.
|
List<? extends ClassInfo> |
HasClasses.getAllClasses()
Returns list of all classes, including indirect descendants.
|
List<? extends ClassInfo> |
PackageInfo.getAllClassesIncludingSubPackages()
Returns list of all classes (including inner or inline classes) declared in this package AND all sub-packages.
|
List<? extends ClassInfo> |
PackageInfo.getClasses()
Returns a list of top-level classes (i.e.
|
List<? extends ClassInfo> |
HasClasses.getClasses()
Returns list of classes
|
List<? extends ClassInfo> |
FileInfo.getClasses()
Returns list of classes which are declared on a top-level of this source file (i.e.
|
List<? extends ClassInfo> |
ClassInfo.getClasses()
Returns list of inner classes declared on the top level of the class.
|
List<? extends ClassInfo> |
PackageInfo.getClassesIncludingSubPackages()
Returns a list of top-level classes (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityVisitor.visitClass(ClassInfo parentClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileElementVisitor.visitClass(ClassInfo info) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseClassInfo |
class |
FullClassInfo |
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends ClassInfo> |
BasePackageInfo.allClasses
All classes in this package
|
protected List<? extends ClassInfo> |
BasePackageInfo.classes
Top-level classes in this package
|
| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
BaseProjectInfo.findClass(String fqcn)
convenience method to find a class in a project using its fully qualified name.
|
ClassInfo |
ParentEntity.getContainingClass() |
ClassInfo |
FullStatementInfo.getContainingClass() |
ClassInfo |
FullMethodInfo.getContainingClass() |
ClassInfo |
FullClassInfo.getContainingClass() |
ClassInfo |
BaseClassInfo.getContainingClass() |
ClassInfo |
FullFileInfo.getNamedClass(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends ClassInfo> |
FullMethodInfo.getAllClasses() |
List<? extends ClassInfo> |
FullFileInfo.getAllClasses() |
List<? extends ClassInfo> |
FullClassInfo.getAllClasses() |
List<? extends ClassInfo> |
BasePackageInfo.getAllClasses() |
List<? extends ClassInfo> |
BaseFileInfo.getAllClasses() |
List<? extends ClassInfo> |
BaseClassInfo.getAllClasses() |
List<? extends ClassInfo> |
BasePackageInfo.getAllClassesIncludingSubPackages() |
List<? extends ClassInfo> |
FullMethodInfo.getClasses()
Returns list of classes
|
List<? extends ClassInfo> |
FullFileInfo.getClasses() |
List<? extends ClassInfo> |
FullClassInfo.getClasses() |
List<? extends ClassInfo> |
BasePackageInfo.getClasses()
Return list of top-level classes declared in this package namespace.
|
List<? extends ClassInfo> |
BaseFileInfo.getClasses() |
List<? extends ClassInfo> |
BaseClassInfo.getClasses() |
List<? extends ClassInfo> |
BasePackageInfo.getClasses(HasMetricsFilter filter)
Return list of top-level classes declared in this package matching the filter
|
List<? extends ClassInfo> |
BasePackageInfo.getClassesIncludingSubPackages()
Return list of top-level classes declared in this package namespace as well as from sub-packages.
|
| Constructor and Description |
|---|
ParentEntity(ClassInfo containingClass) |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,List<ClassInfo>> |
MetricsCollator.rankProjectRisks(List<? extends ClassInfo> pceOrder,
List amcOrder)
Sums the index of the class when ordered by %covered elements and that when ordered
by average method complexity.
|
| Modifier and Type | Method and Description |
|---|---|
List<MethodInfo> |
MetricsCollator.getLeastTestedMethods(List<? extends ClassInfo> classes,
boolean showLambdaFunctions,
boolean showInnerFunctions)
Given a list of
ClassInfo objects,
return a list of MethodInfo s, ranked
by PC COvered (asc), Num Elements Uncovered and Complexity. |
List |
MetricsCollator.getTopRisks(Map<Integer,List<ClassInfo>> classMap,
int risksCount) |
Map<Integer,List<ClassInfo>> |
MetricsCollator.rankProjectRisks(List<? extends ClassInfo> pceOrder,
List amcOrder)
Sums the index of the class when ordered by %covered elements and that when ordered
by average method complexity.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
HtmlRenderingSupportImpl.getSrcFileLink(boolean toplevel,
boolean withAnchor,
ClassInfo cls) |
String |
HtmlRenderingSupportImpl.getTestClassLink(boolean topLevel,
ClassInfo classInfo) |
| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
MetricsDiffSummary.getCurrentClassInfo() |
| Modifier and Type | Method and Description |
|---|---|
static MetricsDiffSummary |
HistoricalSupport.getClassMetricsDiff(ClassInfo c1,
ClassInfo c2,
Percentage threshold,
Column column) |
static MetricsDiffSummary |
HistoricalSupport.getNewClassMetrics(ClassInfo c1,
ClassInfo c2,
Column column) |
| Constructor and Description |
|---|
MetricsDiffSummary(ClassInfo classThen,
ClassInfo classNow,
Number pcThen,
Number pcNow,
float diff,
Column column) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
HtmlRenderingSupport.getSrcFileLink(boolean toplevel,
boolean withAnchor,
ClassInfo classInfo)
Get a link to a source file for a given class, e.g.
|
Copyright © 2024 OpenClover.org. All rights reserved.