Skip to content

Multiple line stat collectors aren't supported #73

Description

@Vichy97

If you try to add multiple LinesOfCodeStatCollectors, only the first one appears to have any effect. In this example, I only see Kotlin files. If I remove the kotlin one, I will see only java files. It seems like despite the unique string keys, duplicate types are still being filtered out.

 addStatCollector(
    com.squareup.invert.collectors.linesofcode.LinesOfCodeStatCollector(
      name = "Kotlin",
      fileExtensions = listOf("kt", "kts"),
    )
  )
 addStatCollector(
    com.squareup.invert.collectors.linesofcode.LinesOfCodeStatCollector(
      name = "Java",
      fileExtensions = listOf("java"),
    )
  )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions