- ABSTRACT_METHOD - org.myire.scent.metrics.MethodMetrics.Kind
-
An abstract method in a class, interface, or enum.
- add(BlockComment) - Method in class org.myire.scent.metrics.CommentMetrics
-
Add metrics from a block comment.
- add(JavadocComment) - Method in class org.myire.scent.metrics.CommentMetrics
-
Add metrics from a JavaDoc comment.
- add(LineComment) - Method in class org.myire.scent.metrics.CommentMetrics
-
Add metrics from a line comment.
- add(ModuleExportsStmt) - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Add metrics of an exports statement.
- add(ModuleOpensStmt) - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Add metrics of an opens statement.
- add(ModuleProvidesStmt) - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Add metrics of a provides statement.
- add(ModuleRequiresStmt) - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Add metrics of a requires statement.
- add(ModuleUsesStmt) - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Add metrics of a uses statement.
- add(Statement) - Method in class org.myire.scent.metrics.StatementMetrics
-
Add metrics of a statement.
- add(CommentMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the values of a CommentMetrics to this aggregation.
- add(CommentMetrics) - Method in class org.myire.scent.metrics.CommentMetrics
-
Add the values of another CommentMetrics to this instance.
- add(CompilationUnitMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add a CompilationUnitMetrics to this aggregation.
- add(CompilationUnitMetrics) - Method in class org.myire.scent.metrics.PackageMetrics
-
Add metrics for a compilation unit to this instance.
- add(FieldMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add a FieldMetrics to this aggregation.
- add(FieldMetrics) - Method in class org.myire.scent.metrics.TypeMetrics
-
Add metrics for a field to this instance.
- add(MethodMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add a MethodMetrics to this aggregation.
- add(MethodMetrics) - Method in class org.myire.scent.metrics.TypeMetrics
-
Add metrics for a method to this instance.
- add(ModularCompilationUnitMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add a ModularCompilationUnitMetrics to this aggregation.
- add(ModularCompilationUnitMetrics) - Method in class org.myire.scent.metrics.JavaMetrics
-
Add metrics for a modular compilation unit to this instance.
- add(PackageMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add a PackageMetrics to this aggregation.
- add(StatementMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the values of a StatementMetrics to this aggregation.
- add(StatementMetrics) - Method in class org.myire.scent.metrics.StatementMetrics
-
Add the values of another StatementMetrics to this instance.
- add(TypeMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add a TypeMetrics to this aggregation.
- add(TypeMetrics) - Method in class org.myire.scent.metrics.CompilationUnitMetrics
-
Add metrics for a type to this instance.
- add(TypeMetrics) - Method in class org.myire.scent.metrics.MethodMetrics
-
Add metrics for a local type to this instance.
- add(TypeMetrics) - Method in class org.myire.scent.metrics.TypeMetrics
-
Add metrics for an inner type to this instance.
- addChildren(CompilationUnitMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the comments and types of a CompilationUnitMetrics to this aggregation.
- addChildren(FieldMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the statements and comments of a FieldMetrics to this aggregation.
- addChildren(MethodMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the statements and comments of a MethodMetrics to this aggregation.
- addChildren(PackageMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the compilation units of a PackageMetrics to this aggregation.
- addChildren(TypeMetrics) - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Add the comments and members of a TypeMetrics to this aggregation.
- AggregatedMetrics - Class in org.myire.scent.metrics
-
An aggregation of several source code metrics instances.
- AggregatedMetrics() - Constructor for class org.myire.scent.metrics.AggregatedMetrics
-
- ANNOTATION - org.myire.scent.metrics.TypeMetrics.Kind
-
An annotation.
- ANNOTATION_TYPE_ELEMENT - org.myire.scent.metrics.FieldMetrics.Kind
-
An annotation type element.
- ANONYMOUS_CLASS - org.myire.scent.metrics.TypeMetrics.Kind
-
An anonymous class.
- getBlockCommentsLength() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the length of the block comments' content in this aggregation.
- getBlockCommentsLength() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the total number of significant characters in the BlockComment instances added to
this instance.
- getCollectedMetrics() - Method in class org.myire.scent.collect.JavaMetricsCollector
-
Get the metrics collected in all calls to collect.
- getComments() - Method in class org.myire.scent.metrics.CodeElementMetrics
-
Get the comment metrics associated with this code element.
- getCompilationUnits() - Method in class org.myire.scent.metrics.PackageMetrics
-
Get an Iterable that iterates over the metrics for each compilation unit belonging to
the package.
- getDefault() - Static method in enum org.myire.scent.collect.JavaMetricsCollector.LanguageLevel
-
Get the default language level for Java metrics collecting.
- getDelegate() - Method in class org.myire.scent.file.JavaFileMetricsCollector
-
Get the JavaMetricsCollector passed to the constructor.
- getFields() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get an Iterable that iterates over the metrics for each field defined within the
type.
- getInnerTypes() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get an Iterable that iterates over the metrics for each inner type defined within
this type.
- getJavaDocCommentsLength() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the length of the JavaDoc comments' content in this aggregation.
- getJavaDocCommentsLength() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the total number of significant characters in the JavadocComment instances added
to this instance.
- getKind() - Method in class org.myire.scent.metrics.FieldMetrics
-
Get the field's kind.
- getKind() - Method in class org.myire.scent.metrics.MethodMetrics
-
Get the method's kind.
- getKind() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get the type's kind.
- getLineCommentsLength() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the length of the line comments' content in this aggregation.
- getLineCommentsLength() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the total number of significant characters in the LineComment instances added to
this instance.
- getLocalTypes() - Method in class org.myire.scent.metrics.MethodMetrics
-
Get an Iterable that iterates over the metrics for each local type defined in the
method.
- getMethods() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get an Iterable that iterates over the metrics for each method defined within the
type.
- getModularCompilationUnits() - Method in class org.myire.scent.metrics.JavaMetrics
-
Get an Iterable that iterates over the modular compilation unit metrics that have
been collected in this instance.
- getModule() - Method in class org.myire.scent.metrics.ModularCompilationUnitMetrics
-
Get the metrics for the module declaration enclosed within the compilation unit.
- getName() - Method in class org.myire.scent.metrics.CodeElementMetrics
-
Get the name of this code element.
- getNumBlockCommentLines() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of block comment lines in this aggregation.
- getNumBlockCommentLines() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the number of block comment lines collected from the BlockComment instances added
to this instance.
- getNumBlockComments() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of block comments in this aggregation.
- getNumBlockComments() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the number of block comments collected from the BlockComment instances added to
this instance.
- getNumCompilationUnits() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of compilation units in this aggregation.
- getNumCompilationUnits() - Method in class org.myire.scent.metrics.PackageMetrics
-
Get the number of compilation units that declare this package.
- getNumExportsStatements() - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Get the number of exports statements added to this instance.
- getNumFields() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of fields in this aggregation.
- getNumFields() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get the number of fields defined within the type.
- getNumFiles() - Method in class org.myire.scent.file.JavaFileMetricsCollector
-
Get the number of files that metrics have been collected for.
- getNumInnerTypes() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get the number of inner types defined within this type.
- getNumJavaDocComments() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of JavaDoc comments in this aggregation.
- getNumJavaDocComments() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the number of JavaDoc comments collected from the JavadocComment instances added
to this instance.
- getNumJavaDocLines() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of JavaDoc comment lines in this aggregation.
- getNumJavaDocLines() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the number of lines collected from the JavadocComment instances added to this
instance.
- getNumLineComments() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of line comments in this aggregation.
- getNumLineComments() - Method in class org.myire.scent.metrics.CommentMetrics
-
Get the number of line comments collected from the LineComment instances added to
this instance.
- getNumLocalTypes() - Method in class org.myire.scent.metrics.MethodMetrics
-
Get the number of local types defined in the method.
- getNumMethods() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of methods in this aggregation.
- getNumMethods() - Method in class org.myire.scent.metrics.TypeMetrics
-
Get the number of methods defined within the type.
- getNumModularCompilationUnits() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of modular compilation units in this aggregation.
- getNumModularCompilationUnits() - Method in class org.myire.scent.metrics.JavaMetrics
-
Get the number of modular compilation units for which metrics have been collected in this
instance.
- getNumOpensStatements() - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Get the number of opens statements added to this instance.
- getNumPackages() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of packages in this aggregation.
- getNumPackages() - Method in class org.myire.scent.metrics.JavaMetrics
-
Get the number of packages for which metrics have been collected in this instance.
- getNumProvidesStatements() - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Get the number of provides statements added to this instance.
- getNumRequiresStatements() - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Get the number of requires statements added to this instance.
- getNumStatements() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of statements in this aggregation.
- getNumStatements() - Method in class org.myire.scent.metrics.StatementMetrics
-
Get the total number of statements collected by this instance.
- getNumTypes() - Method in class org.myire.scent.metrics.AggregatedMetrics
-
Get the number of types in this aggregation.
- getNumTypes() - Method in class org.myire.scent.metrics.CompilationUnitMetrics
-
Get the number of types declared within the compilation unit.
- getNumUsesStatements() - Method in class org.myire.scent.metrics.ModuleDeclarationMetrics
-
Get the number of uses statements added to this instance.
- getPackages() - Method in class org.myire.scent.metrics.JavaMetrics
-
Get an Iterable that iterates over the package metrics that have been collected in
this instance.
- getStatements() - Method in class org.myire.scent.metrics.StatementElementMetrics
-
Get the statement metrics associated with this code element.
- getTimestamp() - Method in class org.myire.scent.report.MetricsReportMetaData
-
Get the timestamp when the report's metrics were collected.
- getTypes() - Method in class org.myire.scent.metrics.CompilationUnitMetrics
-
Get an Iterable that iterates over the metrics for each type contained within the
compilation unit.
- getVersionString() - Method in class org.myire.scent.report.MetricsReportMetaData
-
Get the version of Scent used to collect the report's metrics.
- of(CompilationUnitMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add the values from a
CompilationUnitMetrics to the aggregation.
- of(FieldMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add the values of a FieldMetrics to the
aggregation.
- of(JavaMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add the values from a JavaMetrics to the
aggregation.
- of(MethodMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add the values from a MethodMetrics to the
aggregation.
- of(PackageMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add the values from a PackageMetrics to
the aggregation.
- of(TypeMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add the values from a TypeMetrics to the
aggregation.
- ofChildren(CompilationUnitMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add values from the comments and types of a
CompilationUnitMetrics to the aggregation.
- ofChildren(FieldMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add values from the comments and statements of a
FieldMetrics to the aggregation.
- ofChildren(MethodMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add values from the comments and statements of a
MethodMetrics to the aggregation.
- ofChildren(PackageMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add values from the compilation units of a
PackageMetrics to the aggregation.
- ofChildren(TypeMetrics) - Static method in class org.myire.scent.metrics.AggregatedMetrics
-
Create a new AggregatedMetrics and add values from the comments and members of a
TypeMetrics to the aggregation.
- org.myire.scent - package org.myire.scent
-
- org.myire.scent.collect - package org.myire.scent.collect
-
- org.myire.scent.file - package org.myire.scent.file
-
- org.myire.scent.metrics - package org.myire.scent.metrics
-
- org.myire.scent.report - package org.myire.scent.report
-
- OutputStreamReportWriter - Class in org.myire.scent.report
-
Abstract base class for writing metrics reports to an OutputStream.
- OutputStreamReportWriter(OutputStream, Charset) - Constructor for class org.myire.scent.report.OutputStreamReportWriter
-
Create a new OutputStreamReportWriter.