AnalysisProfile

class AnalysisProfile(val analyzeStdLib: Boolean)

Configures how different code sections should be analyzed. Used to control which classes should be transformed for analysis, what analysis sections should be applied, and which methods should be hidden from trace results.

Constructors

Link copied to clipboard
constructor(analyzeStdLib: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Controls whether standard library code should be analyzed. When false, standard collections and concurrent collections are hidden, concurrent collections are muted.

Functions

Link copied to clipboard

Determines what type of analysis section should be applied to a given class and method.

Link copied to clipboard
fun shouldBeHidden(className: String, methodName: String): Boolean

Determines whether calls to a given class/method should be hidden from trace results. Used to filter out standard library implementation details.

Link copied to clipboard
fun shouldTransform(className: String, methodName: String): Boolean

Determines whether a given class and method should be transformed (instrumented) for analysis.