Record Class NamespacePackageTelemetry

java.lang.Object
java.lang.Record
org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Record Components:
packagesWithInit - The number of packages with an __init__.py file.
packagesWithoutInit - The number of packages without an __init__.py file.
duplicatePackagesWithoutInit - The number of packages without an __init__.py file that appear multiple times. Each occurrence increments this count.
namespacePackagesInRegularPackage - The number of packages without an __init__.py file that have at least one parent with an __init__.py file.
resolutionMethod - How the package roots were resolved (e.g., pyproject.toml, setup.py, sonar.sources, fallback).
buildSystem - The build system identified when resolution method is PYPROJECT_TOML (e.g., setuptools, poetry).

public record NamespacePackageTelemetry(int packagesWithInit, int packagesWithoutInit, int duplicatePackagesWithoutInit, int namespacePackagesInRegularPackage, @Nullable PackageResolutionResult.ResolutionMethod resolutionMethod, @Nullable PackageResolutionResult.BuildSystem buildSystem) extends Record
Telemetry data for namespace packages.