com.atlassian.clover.api.registry

## Interface ElementInfo

- All Superinterfaces:
    SourceInfo
  All Known Subinterfaces:
    BranchInfo, MethodInfo, StatementInfo

      public interface ElementInfo
      extends SourceInfo

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getComplexity()` Returns cyclomatic complexity of this code element
    `ContextSet` | `getContext()`
    `int` | `getHitCount()`

    - ### Methods inherited from interface com.atlassian.clover.api.registry.SourceInfo

      `getEndColumn, getEndLine, getStartColumn, getStartLine`

- - ### Method Detail

    - #### getHitCount

          int getHitCount()

    - #### getContext

          ContextSet getContext()

    - #### getComplexity

          int getComplexity()

      Returns cyclomatic complexity of this code element
      Returns:
        int complexity