Package com._1c.g5.v8.dt.profiling.core
Interface IInvocationCountChecker
-
public interface IInvocationCountChecker
Checks line invocation count for distortion (for example, lines with keyword "Do" or lines included in "#If ... Then ... #EndIf" block).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canCountInvocations(ILineProfilingResult result, Module module)
Checks if line result can be used to calculate the amount of method invocations.boolean
canCountInvocations(ILineProfilingResult result, Module module, Method method)
Checks if line result can be used to calculate the amount of method invocations.
-
-
-
Method Detail
-
canCountInvocations
boolean canCountInvocations(ILineProfilingResult result, Module module)
Checks if line result can be used to calculate the amount of method invocations.- Parameters:
result
- the line profiling result to check, cannot benull
module
- the BSL modle containing the line associated with result. If the passed module isnull
then an attempt to look it up using line result information will be made- Returns:
true
if line result can be used to calculate the amount of method invocations,false
otherwise.
-
canCountInvocations
boolean canCountInvocations(ILineProfilingResult result, Module module, Method method)
Checks if line result can be used to calculate the amount of method invocations.- Parameters:
result
- the line profiling result to check, cannot benull
module
- the BSL modle containing the line associated with result, cannot benull
method
- the BSL modle method if it is already computed by the caller, cannot benull
- Returns:
true
if line result can be used to calculate the amount of method invocations,false
otherwise.
-
-