Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractPythonRuleRepository - Class in org.sonar.plugins.python
 
AbstractPythonRuleRepository(String, String, String, SonarRuntime) - Constructor for class org.sonar.plugins.python.AbstractPythonRuleRepository
 
accept(FilterableIssue, IssueFilterChain) - Method in class org.sonar.plugins.python.nosonar.NoSonarIssueFilter
 
add(TestFileTelemetry) - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
 
add(TypeInferenceTelemetry) - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
 
addChecks(String, Iterable<Class<?>>) - Method in class org.sonar.plugins.python.PythonChecks
 
addCommonExtensions(Plugin.Context) - Static method in class org.sonar.plugins.python.PythonExtensions
 
addCustomChecks(PythonCustomRuleRepository[]) - Method in class org.sonar.plugins.python.PythonChecks
 
addTestCase(TestCase) - Method in class org.sonar.plugins.python.xunit.TestResult
 
addTestCase(TestCase) - Method in class org.sonar.plugins.python.xunit.TestSuite
 
addUnique(String) - Method in class org.sonar.plugins.python.warnings.AnalysisWarningsWrapper
 
AIQualityProfile - Class in org.sonar.plugins.python
 
AIQualityProfile(RepositoryInfoProvider[]) - Constructor for class org.sonar.plugins.python.AIQualityProfile
 
allFolders() - Method in interface org.sonar.plugins.python.indexer.ProjectTree
 
allFolders() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFile
 
allFolders() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFolder
 
ANALYSIS_DURATION_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
ANALYSIS_THREADS_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
ANALYSIS_THREADS_PARAM_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
AnalysisWarningsWrapper - Class in org.sonar.plugins.python.warnings
As AnalysisWarnings has been added in SQ 7.4, previous version of the API do not have the class.
AnalysisWarningsWrapper() - Constructor for class org.sonar.plugins.python.warnings.AnalysisWarningsWrapper
 
AnalysisWarningsWrapper(AnalysisWarnings) - Constructor for class org.sonar.plugins.python.warnings.AnalysisWarningsWrapper
 
analyze(ProjectTree) - Method in class org.sonar.plugins.python.indexer.NamespacePackageAnalyzer
 
analyzeNamespacePackages(ProjectTree) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
ArchitectureCallbackWrapper - Class in org.sonar.plugins.python.architecture
This wrapper will retrieve the ArchitectureCallback used to build Python UDGs from the scanner when SonarArchitecture is available A dummy callback will be provided in environments where it is not available
ArchitectureCallbackWrapper() - Constructor for class org.sonar.plugins.python.architecture.ArchitectureCallbackWrapper
 
ArchitectureCallbackWrapper(PythonFileConsumer) - Constructor for class org.sonar.plugins.python.architecture.ArchitectureCallbackWrapper
 
architectureUdgBuilder() - Method in class org.sonar.plugins.python.architecture.ArchitectureCallbackWrapper
 

B

BanditJsonReportReader - Class in org.sonar.plugins.python.bandit
 
BanditJsonReportReader.Issue - Class in org.sonar.plugins.python.bandit
 
BanditRulesDefinition - Class in org.sonar.plugins.python.bandit
 
BanditRulesDefinition() - Constructor for class org.sonar.plugins.python.bandit.BanditRulesDefinition
 
BanditSensor - Class in org.sonar.plugins.python.bandit
 
BanditSensor() - Constructor for class org.sonar.plugins.python.bandit.BanditSensor
 
BASE_DIR - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Fallback to project base directory
build(List<PythonInputFile>) - Method in class org.sonar.plugins.python.indexer.ProjectTreeBuilder
 
buildOnce(SensorContext) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
buildOnce(SensorContext) - Method in class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
buildOnce(SensorContext) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
buildSystem() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns the value of the buildSystem record component.
buildSystem() - Method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
Returns the value of the buildSystem record component.
buildSystem() - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
Returns the value of the buildSystem record component.

C

CACHE_VERSION_KEY - Static variable in class org.sonar.plugins.python.caching.Caching
 
cacheContext() - Method in class org.sonar.plugins.python.caching.Caching
 
cacheContext() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
cacheContext() - Method in class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
cacheContext() - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
cacheVersion - Variable in class org.sonar.plugins.python.caching.Caching
 
Caching - Class in org.sonar.plugins.python.caching
 
Caching(CacheContext, String) - Constructor for class org.sonar.plugins.python.caching.Caching
 
canBeFullyScannedWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
canBeFullyScannedWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
canBePartiallyScannedWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
canBePartiallyScannedWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
canBeScannedWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.PythonScanner
 
canBeScannedWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.Scanner
 
cancel() - Method in class org.sonar.plugins.python.MultiFileProgressReport
 
checks() - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Returns the value of the checks record component.
children() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFolder
 
CoberturaParser - Class in org.sonar.plugins.python.coverage
 
CoberturaParser() - Constructor for class org.sonar.plugins.python.coverage.CoberturaParser
 
collect(String, FileInput) - Method in class org.sonar.plugins.python.nosonar.NoSonarLineInfoCollector
 
collect(NewSymbolTable, FileInput) - Method in class org.sonar.plugins.python.NewSymbolsCollector
 
collect(FileInput) - Method in class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetryCollector
 
collect(FileInput, InputFile.Type, String) - Method in class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetryCollector
 
collectPackageNames(List<PythonInputFile>) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
COLUMN_ONE_BASED - Static variable in class org.sonar.plugins.python.TextReportReader
 
COLUMN_ZERO_BASED - Static variable in class org.sonar.plugins.python.TextReportReader
 
columnNumber - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
computeGlobalSymbols(List<PythonInputFile>, SensorContext) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
conf - Variable in class org.sonar.plugins.python.PythonReportSensor
 
configFile() - Method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Returns the value of the configFile record component.
configRoots() - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
Returns the value of the configRoots record component.
ConfigSourceRoots - Record Class in org.sonar.plugins.python.indexer
Represents source roots extracted from a build configuration file (pyproject.toml or setup.py).
ConfigSourceRoots(File, List<String>) - Constructor for record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Creates an instance of a ConfigSourceRoots record class.
CONTENT_HASHES_KEY - Static variable in class org.sonar.plugins.python.caching.Caching
 
context - Variable in class org.sonar.plugins.python.Scanner
 
CONVENTIONAL_FOLDERS - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Resolved from conventional folders (src/, lib/)
copyFromPrevious(String) - Method in class org.sonar.plugins.python.caching.Caching
 
CPD_TOKENS_CACHE_KEY_PREFIX - Static variable in class org.sonar.plugins.python.caching.Caching
 
CPD_TOKENS_STRING_TABLE_KEY_PREFIX - Static variable in class org.sonar.plugins.python.caching.Caching
 

D

DEFAULT_REPORT_PATH - Static variable in class org.sonar.plugins.python.coverage.PythonCoverageSensor
 
DEFAULT_REPORT_PATH - Static variable in class org.sonar.plugins.python.xunit.PythonXUnitSensor
 
defaultReportPath() - Method in class org.sonar.plugins.python.PythonReportSensor
 
defaultReportPath() - Method in class org.sonar.plugins.python.xunit.PythonXUnitSensor
 
define(BuiltInQualityProfilesDefinition.Context) - Method in class org.sonar.plugins.python.AIQualityProfile
 
define(BuiltInQualityProfilesDefinition.Context) - Method in class org.sonar.plugins.python.IPynbAIQualityProfile
 
define(BuiltInQualityProfilesDefinition.Context) - Method in class org.sonar.plugins.python.IPynbProfile
 
define(BuiltInQualityProfilesDefinition.Context) - Method in class org.sonar.plugins.python.PythonProfile
 
define(RulesDefinition.Context) - Method in class org.sonar.plugins.python.AbstractPythonRuleRepository
 
define(RulesDefinition.Context) - Method in class org.sonar.plugins.python.bandit.BanditRulesDefinition
 
define(RulesDefinition.Context) - Method in class org.sonar.plugins.python.flake8.Flake8RulesDefinition
 
define(RulesDefinition.Context) - Method in class org.sonar.plugins.python.mypy.MypyRulesDefinition
 
define(RulesDefinition.Context) - Method in class org.sonar.plugins.python.pylint.PylintRulesDefinition
 
define(RulesDefinition.Context) - Method in class org.sonar.plugins.python.ruff.RuffRulesDefinition
 
dependencies() - Method in record class org.sonar.plugins.python.dependency.model.Dependencies
Returns the value of the dependencies record component.
Dependencies - Record Class in org.sonar.plugins.python.dependency.model
 
Dependencies(Set<Dependency>) - Constructor for record class org.sonar.plugins.python.dependency.model.Dependencies
Creates an instance of a Dependencies record class.
Dependency - Record Class in org.sonar.plugins.python.dependency.model
 
Dependency(String) - Constructor for record class org.sonar.plugins.python.dependency.model.Dependency
Creates an instance of a Dependency record class.
DependencyPostProcessor - Class in org.sonar.plugins.python.dependency
 
DependencyTelemetry - Class in org.sonar.plugins.python.dependency
 
DependencyTelemetry(SensorTelemetryStorage, FileSystem) - Constructor for class org.sonar.plugins.python.dependency.DependencyTelemetry
 
DependencyTelemetrySensor - Class in org.sonar.plugins.python
 
DependencyTelemetrySensor() - Constructor for class org.sonar.plugins.python.DependencyTelemetrySensor
 
describe(SensorDescriptor) - Method in class org.sonar.plugins.python.coverage.PythonCoverageSensor
 
describe(SensorDescriptor) - Method in class org.sonar.plugins.python.DependencyTelemetrySensor
 
describe(SensorDescriptor) - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
describe(SensorDescriptor) - Method in class org.sonar.plugins.python.IPynbSensor
 
describe(SensorDescriptor) - Method in class org.sonar.plugins.python.PythonReportSensor
 
describe(SensorDescriptor) - Method in class org.sonar.plugins.python.PythonSensor
 
DISABLED_RULES - Static variable in class org.sonar.plugins.python.IPynbRuleRepository
 
disabledRules() - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Returns the value of the disabledRules record component.
DummyArchitectureCallback - Class in org.sonar.plugins.python.architecture
 
DummyArchitectureCallback() - Constructor for class org.sonar.plugins.python.architecture.DummyArchitectureCallback
 
duplicatePackagesWithoutInit() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns the value of the duplicatePackagesWithoutInit record component.

E

EFFECTIVE_FILE_TYPE_CACHE_KEY_PREFIX - Static variable in class org.sonar.plugins.python.caching.Caching
 
effectiveFileTypeCacheKey(String) - Static method in class org.sonar.plugins.python.caching.Caching
 
empty() - Static method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
 
empty() - Static method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
 
empty() - Static method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
 
empty(File) - Static method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Creates a ConfigSourceRoots with an empty list of relative roots.
empty(File) - Static method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
 
EmptyReportException - Exception Class in org.sonar.plugins.python
 
EmptyReportException() - Constructor for exception class org.sonar.plugins.python.EmptyReportException
 
endColNumber - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
endLineNumber - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
endOfAnalysis() - Method in class org.sonar.plugins.python.PythonScanner
 
endOfAnalysis() - Method in class org.sonar.plugins.python.Scanner
 
equals(Object) - Method in record class org.sonar.plugins.python.dependency.model.Dependencies
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.dependency.model.Dependency
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.sonar.plugins.python.IPynb
 
equals(Object) - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Indicates whether some other object is "equal to" this one.
errors() - Method in class org.sonar.plugins.python.coverage.CoberturaParser
 
execute(List<PythonInputFile>, SensorContext) - Method in class org.sonar.plugins.python.Scanner
 
execute(SensorContext) - Method in class org.sonar.plugins.python.coverage.PythonCoverageSensor
 
execute(SensorContext) - Method in class org.sonar.plugins.python.DependencyTelemetrySensor
 
execute(SensorContext) - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
execute(SensorContext) - Method in class org.sonar.plugins.python.IPynbSensor
 
execute(SensorContext) - Method in class org.sonar.plugins.python.PythonReportSensor
 
execute(SensorContext) - Method in class org.sonar.plugins.python.PythonSensor
 
ExternalIssuesSensor - Class in org.sonar.plugins.python
 
ExternalIssuesSensor() - Constructor for class org.sonar.plugins.python.ExternalIssuesSensor
 
extract(File) - Static method in class org.sonar.plugins.python.indexer.SetupPySourceRoots
Extracts source root directories from a setup.py File.
extractWithBuildSystem(File) - Static method in class org.sonar.plugins.python.indexer.PyProjectTomlSourceRoots
Extracts source root directories from a pyproject.toml File, including build system info.
extractWithLocation(File) - Static method in class org.sonar.plugins.python.indexer.PyProjectTomlSourceRoots
Extracts source root directories from a pyproject.toml File, preserving the config file location.
extractWithLocation(File) - Static method in class org.sonar.plugins.python.indexer.SetupPySourceRoots
Extracts source root directories from a setup.py File, preserving the config file location.

F

fileContentHashCacheKey(String) - Static method in class org.sonar.plugins.python.caching.Caching
 
filePath - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
filesInImportBasedOnly() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the filesInImportBasedOnly record component.
filesInPathBasedOnly() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the filesInPathBasedOnly record component.
finishAnalysisFor(String) - Method in class org.sonar.plugins.python.MultiFileProgressReport
 
Flake8RulesDefinition - Class in org.sonar.plugins.python.flake8
 
Flake8RulesDefinition() - Constructor for class org.sonar.plugins.python.flake8.Flake8RulesDefinition
 
Flake8Sensor - Class in org.sonar.plugins.python.flake8
 
Flake8Sensor() - Constructor for class org.sonar.plugins.python.flake8.Flake8Sensor
 
FLIT - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 
fromBaseDir(List<String>) - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 
fromBothPyProjectAndSetupPy(List<String>, PackageResolutionResult.BuildSystem) - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 
fromConventionalFolders(List<String>) - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 
fromLegacyInitPy() - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 
fromPyProjectToml(List<String>, PackageResolutionResult.BuildSystem) - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 
fromSetupPy(List<String>) - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 
fromSonarSources(List<String>) - Static method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
 

G

get(String) - Method in class org.sonar.plugins.python.nosonar.NoSonarLineInfoCollector
 
getAIProfileInfo() - Method in class org.sonar.plugins.python.editions.OpenSourceRepositoryInfoProvider
 
getAIProfileInfo() - Method in interface org.sonar.plugins.python.editions.RepositoryInfoProvider
 
getCheckClasses() - Method in class org.sonar.plugins.python.AbstractPythonRuleRepository
 
getCheckClasses() - Method in class org.sonar.plugins.python.IPynbRuleRepository
 
getCheckClasses() - Method in class org.sonar.plugins.python.PythonRuleRepository
 
getCommentWithExactlyOneRuleSuppressed() - Method in class org.sonar.plugins.python.nosonar.NoSonarLineInfoCollector
 
getDetails() - Method in class org.sonar.plugins.python.xunit.TestCase
Returns execution details as sonar-conform XML
getDetails() - Method in class org.sonar.plugins.python.xunit.TestSuite
Returns execution details as sonar-conform XML
getDisabledRules() - Method in class org.sonar.plugins.python.AbstractPythonRuleRepository
 
getDisabledRules() - Method in class org.sonar.plugins.python.IPynbRuleRepository
 
getErrors() - Method in class org.sonar.plugins.python.xunit.TestResult
 
getExecutedTests() - Method in class org.sonar.plugins.python.xunit.TestResult
 
getFailures() - Method in class org.sonar.plugins.python.xunit.TestResult
 
getFile() - Method in class org.sonar.plugins.python.xunit.TestCase
 
getFilesScannedWithCache() - Method in class org.sonar.plugins.python.PythonScanner
 
getFilesStream(List<PythonInputFile>) - Method in class org.sonar.plugins.python.Scanner
 
getFileSuffixes() - Method in class org.sonar.plugins.python.IPynb
 
getFileSuffixes() - Method in class org.sonar.plugins.python.Python
 
getFileWithId(String) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
getFileWithId(String) - Method in class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
getFoundDatabricks() - Method in class org.sonar.plugins.python.PythonScanner
 
getInfo() - Method in class org.sonar.plugins.python.editions.OpenSourceRepositoryInfoProvider
 
getInfo() - Method in interface org.sonar.plugins.python.editions.RepositoryInfoProvider
 
getIPynbAIProfileInfo() - Method in class org.sonar.plugins.python.editions.OpenSourceRepositoryInfoProvider
 
getIPynbAIProfileInfo() - Method in interface org.sonar.plugins.python.editions.RepositoryInfoProvider
 
getIPynbInfo() - Method in class org.sonar.plugins.python.editions.OpenSourceRepositoryInfoProvider
 
getIPynbInfo() - Method in interface org.sonar.plugins.python.editions.RepositoryInfoProvider
 
getKey() - Method in class org.sonar.plugins.python.xunit.TestSuite
 
getLinesWithEmptyNoSonar(String) - Method in class org.sonar.plugins.python.nosonar.NoSonarLineInfoCollector
 
getNumberOfThreads(SensorContext) - Method in class org.sonar.plugins.python.Scanner
 
getParsedReports() - Method in class org.sonar.plugins.python.xunit.TestSuiteParser
Returns successfully parsed reports as a collection of TestSuite objects.
getRecognitionErrorCount() - Method in class org.sonar.plugins.python.PythonScanner
 
getReports(Configuration, String, String, String, AnalysisWarningsWrapper) - Static method in class org.sonar.plugins.python.PythonReportSensor
 
getSkipped() - Method in class org.sonar.plugins.python.xunit.TestResult
 
getSuppressedRuleIds() - Method in class org.sonar.plugins.python.nosonar.NoSonarLineInfoCollector
 
getTelemetry() - Method in class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetryCollector
 
getTelemetry() - Method in class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetryCollector
 
getTemplateRuleKeys() - Method in class org.sonar.plugins.python.AbstractPythonRuleRepository
 
getTemplateRuleKeys() - Method in class org.sonar.plugins.python.IPynbRuleRepository
 
getTemplateRuleKeys() - Method in class org.sonar.plugins.python.PythonRuleRepository
 
getTestCases() - Method in class org.sonar.plugins.python.xunit.TestSuite
 
getTestClassname() - Method in class org.sonar.plugins.python.xunit.TestCase
 
getTestFileTelemetry() - Method in class org.sonar.plugins.python.PythonScanner
 
getTests() - Method in class org.sonar.plugins.python.xunit.TestResult
 
getTime() - Method in class org.sonar.plugins.python.xunit.TestCase
 
getTime() - Method in class org.sonar.plugins.python.xunit.TestResult
 
getTypeInferenceTelemetry() - Method in class org.sonar.plugins.python.PythonScanner
 

H

hashCode() - Method in record class org.sonar.plugins.python.dependency.model.Dependencies
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.dependency.model.Dependency
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
Returns a hash code value for this object.
hashCode() - Method in class org.sonar.plugins.python.IPynb
 
hashCode() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns a hash code value for this object.
hashCode() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns a hash code value for this object.
hasRoots() - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
 
HATCHLING - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 
highlight(SensorContext, PythonVisitorContext, PythonInputFile) - Method in class org.sonar.plugins.python.PythonHighlighter
 

I

importBasedMisclassifiedTestFiles() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the importBasedMisclassifiedTestFiles record component.
importBasedMisclassifiedTestLines() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the importBasedMisclassifiedTestLines record component.
importReport(File, SensorContext, Set<String>) - Method in class org.sonar.plugins.python.bandit.BanditSensor
 
importReport(File, SensorContext, Set<String>) - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
importReport(File, SensorContext, Set<String>) - Method in class org.sonar.plugins.python.flake8.Flake8Sensor
 
importReport(File, SensorContext, Set<String>) - Method in class org.sonar.plugins.python.mypy.MypySensor
 
importReport(File, SensorContext, Set<String>) - Method in class org.sonar.plugins.python.pylint.PylintSensor
 
importReport(File, SensorContext, Set<String>) - Method in class org.sonar.plugins.python.ruff.RuffSensor
 
IMPORTS_MAP_CACHE_KEY_PREFIX - Static variable in class org.sonar.plugins.python.caching.Caching
 
importsMapCacheKey(String) - Static method in class org.sonar.plugins.python.caching.Caching
 
importsWithUnknownType() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the importsWithUnknownType record component.
indexer() - Method in class org.sonar.plugins.python.indexer.PythonIndexerWrapper
 
infoProviders() - Method in class org.sonar.plugins.python.editions.RepositoryInfoProviderWrapper
 
IPynb - Class in org.sonar.plugins.python
 
IPynb(Configuration) - Constructor for class org.sonar.plugins.python.IPynb
 
IPYNB_DATABRICKS_FOUND - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
IPYNB_FILE_SUFFIXES_KEY - Static variable in class org.sonar.plugins.python.PythonExtensionKeys
 
IPynbAIQualityProfile - Class in org.sonar.plugins.python
 
IPynbAIQualityProfile(RepositoryInfoProvider[]) - Constructor for class org.sonar.plugins.python.IPynbAIQualityProfile
 
IPynbProfile - Class in org.sonar.plugins.python
 
IPynbProfile(RepositoryInfoProvider[]) - Constructor for class org.sonar.plugins.python.IPynbProfile
 
IPynbRuleRepository - Class in org.sonar.plugins.python
 
IPynbRuleRepository(SonarRuntime) - Constructor for class org.sonar.plugins.python.IPynbRuleRepository
 
IPynbSensor - Class in org.sonar.plugins.python
 
IPynbSensor(FileLinesContextFactory, CheckFactory, NoSonarFilter, PythonIndexer, RepositoryInfoProvider[], NoSonarLineInfoCollector, ProjectConfigurationBuilder) - Constructor for class org.sonar.plugins.python.IPynbSensor
 
IPynbSensor(FileLinesContextFactory, CheckFactory, NoSonarFilter, NoSonarLineInfoCollector, ProjectConfigurationBuilder) - Constructor for class org.sonar.plugins.python.IPynbSensor
 
IPYTHON_REPOSITORY_KEY - Static variable in class org.sonar.plugins.python.IPynbRuleRepository
 
isAnalysisOptimized() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
isAnalysisOptimized() - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
isCacheEnabled() - Method in class org.sonar.plugins.python.caching.Caching
 
isCacheVersionUpToDate() - Method in class org.sonar.plugins.python.caching.Caching
 
isError() - Method in class org.sonar.plugins.python.xunit.TestCase
Returns true if this testcase is an error, false otherwise
isFailure() - Method in class org.sonar.plugins.python.xunit.TestCase
Returns true if this testcase is a failure, false otherwise
isSkipped() - Method in class org.sonar.plugins.python.xunit.TestCase
Returns true if this testcase has been skipped, failure, false otherwise
Issue() - Constructor for class org.sonar.plugins.python.bandit.BanditJsonReportReader.Issue
 
Issue() - Constructor for class org.sonar.plugins.python.ruff.RuffJsonReportReader.Issue
 
Issue(String, String, String, Integer, Integer, Integer, Integer) - Constructor for class org.sonar.plugins.python.TextReportReader.Issue
 
IssuesRepository - Class in org.sonar.plugins.python
 
IssuesRepository(SensorContext, PythonChecks, PythonIndexer, boolean, Lock) - Constructor for class org.sonar.plugins.python.IssuesRepository
 
isTestSourceConfigured(Configuration) - Static method in class org.sonar.plugins.python.TestFileClassifier
Returns true when the project configuration explicitly controls which files are test files, making the path-based heuristic unnecessary.
isTestSourcesConfiguredUnchanged(boolean) - Method in class org.sonar.plugins.python.caching.Caching
 

K

key() - Method in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
KEY - Static variable in class org.sonar.plugins.python.IPynb
 
KEY - Static variable in class org.sonar.plugins.python.Python
 

L

LEGACY_INIT_PY - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
No build config files found; FQN resolution uses legacy __init__.py detection
lineNumber - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
linesInImportBasedOnly() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the linesInImportBasedOnly record component.
linesInPathBasedOnly() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the linesInPathBasedOnly record component.
LINTER_KEY - Static variable in class org.sonar.plugins.python.bandit.BanditSensor
 
LINTER_KEY - Static variable in class org.sonar.plugins.python.flake8.Flake8Sensor
 
LINTER_KEY - Static variable in class org.sonar.plugins.python.mypy.MypySensor
 
LINTER_KEY - Static variable in class org.sonar.plugins.python.pylint.PylintSensor
 
LINTER_KEY - Static variable in class org.sonar.plugins.python.ruff.RuffSensor
 
LINTER_NAME - Static variable in class org.sonar.plugins.python.bandit.BanditSensor
 
LINTER_NAME - Static variable in class org.sonar.plugins.python.flake8.Flake8Sensor
 
LINTER_NAME - Static variable in class org.sonar.plugins.python.mypy.MypySensor
 
LINTER_NAME - Static variable in class org.sonar.plugins.python.pylint.PylintSensor
 
LINTER_NAME - Static variable in class org.sonar.plugins.python.ruff.RuffSensor
 
linterName() - Method in class org.sonar.plugins.python.bandit.BanditSensor
 
linterName() - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
linterName() - Method in class org.sonar.plugins.python.flake8.Flake8Sensor
 
linterName() - Method in class org.sonar.plugins.python.mypy.MypySensor
 
linterName() - Method in class org.sonar.plugins.python.pylint.PylintSensor
 
linterName() - Method in class org.sonar.plugins.python.ruff.RuffSensor
 
logger() - Method in class org.sonar.plugins.python.bandit.BanditSensor
 
logger() - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
logger() - Method in class org.sonar.plugins.python.flake8.Flake8Sensor
 
logger() - Method in class org.sonar.plugins.python.mypy.MypySensor
 
logger() - Method in class org.sonar.plugins.python.pylint.PylintSensor
 
logger() - Method in class org.sonar.plugins.python.ruff.RuffSensor
 
logStart(int) - Method in class org.sonar.plugins.python.PythonScanner
 
logStart(int) - Method in class org.sonar.plugins.python.Scanner
 

M

MeasuresRepository - Class in org.sonar.plugins.python
 
MeasuresRepository(SensorContext, NoSonarFilter, FileLinesContextFactory, boolean, NoSonarLineInfoCollector, Lock) - Constructor for class org.sonar.plugins.python.MeasuresRepository
 
mergeCollector() - Static method in record class org.sonar.plugins.python.dependency.model.Dependencies
 
message - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
method() - Method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
Returns the value of the method record component.
MultiFileProgressReport - Class in org.sonar.plugins.python
 
MultiFileProgressReport(long) - Constructor for class org.sonar.plugins.python.MultiFileProgressReport
 
MultiFileProgressReport(long, String) - Constructor for class org.sonar.plugins.python.MultiFileProgressReport
 
MultiFileProgressReport(String) - Constructor for class org.sonar.plugins.python.MultiFileProgressReport
 
MULTIPLE - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
Multiple build systems detected
MypyRulesDefinition - Class in org.sonar.plugins.python.mypy
 
MypyRulesDefinition() - Constructor for class org.sonar.plugins.python.mypy.MypyRulesDefinition
 
MypySensor - Class in org.sonar.plugins.python.mypy
 
MypySensor() - Constructor for class org.sonar.plugins.python.mypy.MypySensor
 

N

name() - Method in record class org.sonar.plugins.python.dependency.model.Dependency
Returns the value of the name record component.
name() - Method in interface org.sonar.plugins.python.indexer.ProjectTree
 
name() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFile
 
name() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFolder
 
name() - Method in class org.sonar.plugins.python.PythonScanner
 
name() - Method in class org.sonar.plugins.python.Scanner
 
NamespacePackageAnalyzer - Class in org.sonar.plugins.python.indexer
 
NamespacePackageAnalyzer() - Constructor for class org.sonar.plugins.python.indexer.NamespacePackageAnalyzer
 
namespacePackagesInRegularPackage() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns the value of the namespacePackagesInRegularPackage record component.
namespacePackageTelemetry() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
NamespacePackageTelemetry - Record Class in org.sonar.plugins.python.indexer
Telemetry data for namespace packages.
NamespacePackageTelemetry(int, int, int, int, PackageResolutionResult.ResolutionMethod, PackageResolutionResult.BuildSystem) - Constructor for record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Creates an instance of a NamespacePackageTelemetry record class.
NewSymbolsCollector - Class in org.sonar.plugins.python
 
NewSymbolsCollector(Lock) - Constructor for class org.sonar.plugins.python.NewSymbolsCollector
 
NONE - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
Used when resolution method is not PYPROJECT_TOML
NOSONAR_COMMENTS_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOSONAR_NOTEBOOK_COMMENTS_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOSONAR_NOTEBOOK_RULE_ID_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOSONAR_RULE_ID_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NoSonarIssueFilter - Class in org.sonar.plugins.python.nosonar
 
NoSonarIssueFilter(NoSonarLineInfoCollector) - Constructor for class org.sonar.plugins.python.nosonar.NoSonarIssueFilter
 
NoSonarLineInfoCollector - Class in org.sonar.plugins.python.nosonar
 
NoSonarLineInfoCollector() - Constructor for class org.sonar.plugins.python.nosonar.NoSonarLineInfoCollector
 
noSonarPythonChecks() - Method in class org.sonar.plugins.python.PythonChecks
 
noSonarPythonEndOfAnalyses() - Method in class org.sonar.plugins.python.PythonChecks
 
NOTEBOOK_EXCEPTION_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOTEBOOK_PRESENT_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOTEBOOK_RECOGNITION_ERROR_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOTEBOOK_TOTAL_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
NOTEBOOKS_ANALYSIS_DURATION_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 

O

OpenSourceRepositoryInfoProvider - Class in org.sonar.plugins.python.editions
 
OpenSourceRepositoryInfoProvider() - Constructor for class org.sonar.plugins.python.editions.OpenSourceRepositoryInfoProvider
 
org.sonar.plugins.python - package org.sonar.plugins.python
 
org.sonar.plugins.python.architecture - package org.sonar.plugins.python.architecture
Integration with pylint.
org.sonar.plugins.python.bandit - package org.sonar.plugins.python.bandit
 
org.sonar.plugins.python.caching - package org.sonar.plugins.python.caching
 
org.sonar.plugins.python.coverage - package org.sonar.plugins.python.coverage
 
org.sonar.plugins.python.cpd - package org.sonar.plugins.python.cpd
 
org.sonar.plugins.python.dependency - package org.sonar.plugins.python.dependency
 
org.sonar.plugins.python.dependency.model - package org.sonar.plugins.python.dependency.model
 
org.sonar.plugins.python.editions - package org.sonar.plugins.python.editions
 
org.sonar.plugins.python.flake8 - package org.sonar.plugins.python.flake8
 
org.sonar.plugins.python.indexer - package org.sonar.plugins.python.indexer
 
org.sonar.plugins.python.mypy - package org.sonar.plugins.python.mypy
 
org.sonar.plugins.python.nosonar - package org.sonar.plugins.python.nosonar
 
org.sonar.plugins.python.parser - package org.sonar.plugins.python.parser
 
org.sonar.plugins.python.pylint - package org.sonar.plugins.python.pylint
Integration with pylint.
org.sonar.plugins.python.ruff - package org.sonar.plugins.python.ruff
 
org.sonar.plugins.python.telemetry - package org.sonar.plugins.python.telemetry
 
org.sonar.plugins.python.telemetry.collectors - package org.sonar.plugins.python.telemetry.collectors
 
org.sonar.plugins.python.warnings - package org.sonar.plugins.python.warnings
Integration with pylint.
org.sonar.plugins.python.xunit - package org.sonar.plugins.python.xunit
 

P

packageName(PythonInputFile) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
packageResolutionResult - Variable in class org.sonar.plugins.python.indexer.PythonIndexer
 
PackageResolutionResult - Record Class in org.sonar.plugins.python.indexer
Result of package root resolution containing both the resolved roots and information about how they were resolved.
PackageResolutionResult(List<String>, PackageResolutionResult.ResolutionMethod, PackageResolutionResult.BuildSystem) - Constructor for record class org.sonar.plugins.python.indexer.PackageResolutionResult
Creates an instance of a PackageResolutionResult record class.
PackageResolutionResult.BuildSystem - Enum Class in org.sonar.plugins.python.indexer
Build systems supported in pyproject.toml.
PackageResolutionResult.ResolutionMethod - Enum Class in org.sonar.plugins.python.indexer
How the package roots were resolved.
PackageRootResolver - Class in org.sonar.plugins.python.indexer
Resolves package root directories for Python projects.
packageRoots - Variable in class org.sonar.plugins.python.indexer.PythonIndexer
 
packageRoots() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
packagesWithInit() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns the value of the packagesWithInit record component.
packagesWithoutInit() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns the value of the packagesWithoutInit record component.
PARALLEL_ANALYSIS_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PARALLEL_PROPERTY_NAME - Static variable in class org.sonar.plugins.python.Scanner
 
parent() - Method in interface org.sonar.plugins.python.indexer.ProjectTree
 
parent() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFile
 
parent() - Method in class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFolder
 
parents() - Method in interface org.sonar.plugins.python.indexer.ProjectTree
 
parse(File) - Method in class org.sonar.plugins.python.parser.StaxParser
 
parse(File, FileSystem) - Method in class org.sonar.plugins.python.TextReportReader
 
parse(InputStream) - Method in class org.sonar.plugins.python.parser.StaxParser
 
parse(InputFile) - Static method in class org.sonar.plugins.python.dependency.PyProjectTomlParser
 
parseReport(File, SensorContext, Map<InputFile, NewCoverage>) - Method in class org.sonar.plugins.python.coverage.CoberturaParser
 
parseRequirementFile(InputFile) - Static method in class org.sonar.plugins.python.dependency.RequirementsTxtParser
 
pathBasedMisclassifiedTestFiles() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the pathBasedMisclassifiedTestFiles record component.
pathBasedMisclassifiedTestLines() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the pathBasedMisclassifiedTestLines record component.
PDM - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 
POETRY - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 
postAnalysis(SensorContext) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
postAnalysis(SensorContext) - Method in class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
postAnalysis(SensorContext) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
process() - Method in class org.sonar.plugins.python.dependency.DependencyTelemetry
 
process(Dependencies) - Static method in class org.sonar.plugins.python.dependency.DependencyPostProcessor
 
process(ModuleFileEvent) - Method in class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
processException(Exception, PythonInputFile) - Method in class org.sonar.plugins.python.PythonScanner
 
processException(Exception, PythonInputFile) - Method in class org.sonar.plugins.python.Scanner
 
processFiles(List<PythonInputFile>, SensorContext, MultiFileProgressReport, AtomicInteger) - Method in class org.sonar.plugins.python.Scanner
 
processReports(SensorContext, List<File>) - Method in class org.sonar.plugins.python.PythonReportSensor
 
processReports(SensorContext, List<File>) - Method in class org.sonar.plugins.python.xunit.PythonXUnitSensor
 
profileLocation() - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Returns the value of the profileLocation record component.
PROJECT_FILES_KEY - Static variable in class org.sonar.plugins.python.caching.Caching
 
PROJECT_SYMBOL_TABLE_CACHE_KEY_PREFIX - Static variable in class org.sonar.plugins.python.caching.Caching
 
projectBaseDirAbsolutePath - Variable in class org.sonar.plugins.python.indexer.PythonIndexer
 
projectConfig() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
projectLevelSymbolTable() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
projectLevelTypeTable() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
projectSymbolTableCacheKey(String) - Static method in class org.sonar.plugins.python.caching.Caching
 
ProjectTree - Interface in org.sonar.plugins.python.indexer
 
ProjectTree.ProjectTreeFile - Class in org.sonar.plugins.python.indexer
 
ProjectTree.ProjectTreeFolder - Class in org.sonar.plugins.python.indexer
 
ProjectTreeBuilder - Class in org.sonar.plugins.python.indexer
 
ProjectTreeBuilder() - Constructor for class org.sonar.plugins.python.indexer.ProjectTreeBuilder
 
ProjectTreeFile(String) - Constructor for class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFile
 
ProjectTreeFolder(String, List<ProjectTree>) - Constructor for class org.sonar.plugins.python.indexer.ProjectTree.ProjectTreeFolder
 
pushCachedCpdTokens(InputFile, CacheContext) - Method in class org.sonar.plugins.python.cpd.PythonCpdAnalyzer
 
pushCpdTokens(InputFile, PythonVisitorContext) - Method in class org.sonar.plugins.python.cpd.PythonCpdAnalyzer
 
PYLINT_LEGACY_KEY - Static variable in class org.sonar.plugins.python.ExternalIssuesSensor
 
PylintRulesDefinition - Class in org.sonar.plugins.python.pylint
 
PylintRulesDefinition() - Constructor for class org.sonar.plugins.python.pylint.PylintRulesDefinition
 
PylintSensor - Class in org.sonar.plugins.python.pylint
 
PylintSensor() - Constructor for class org.sonar.plugins.python.pylint.PylintSensor
 
PYPROJECT_AND_SETUP_PY - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Resolved from both pyproject.toml and setup.py
PYPROJECT_TOML - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Resolved from pyproject.toml build configuration
PyProjectExtractionResult - Record Class in org.sonar.plugins.python.indexer
Result of extracting source roots from pyproject.toml, including the build system detected.
PyProjectExtractionResult(ConfigSourceRoots, PackageResolutionResult.BuildSystem) - Constructor for record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
Creates an instance of a PyProjectExtractionResult record class.
PyProjectTomlParser - Class in org.sonar.plugins.python.dependency
 
PyProjectTomlSourceRoots - Class in org.sonar.plugins.python.indexer
Extracts source root directories from pyproject.toml build system configurations.
Python - Class in org.sonar.plugins.python
 
Python(Configuration) - Constructor for class org.sonar.plugins.python.Python
 
PYTHON_ANALYSIS_USES_CACHE - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_DATABRICKS_FOUND - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_DEPENDENCIES - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_DEPENDENCIES_FORMAT_VERSION - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_DUPLICATE_PACKAGES_WITHOUT_INIT - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_FILE_SUFFIXES_KEY - Static variable in class org.sonar.plugins.python.PythonExtensionKeys
 
PYTHON_FILES_SCANNED_WITH_CACHE - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_LINES_TOTAL - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_FILES_MISCLASSIFIED_IMPORT_BASED - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_FILES_MISCLASSIFIED_IMPORT_BASED_ONLY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_FILES_MISCLASSIFIED_PATH_BASED - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_FILES_MISCLASSIFIED_PATH_BASED_ONLY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_FILES_TOTAL - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_LINES - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_LINES_MISCLASSIFIED_IMPORT_BASED - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_LINES_MISCLASSIFIED_IMPORT_BASED_ONLY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_LINES_MISCLASSIFIED_PATH_BASED - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_MAIN_LINES_MISCLASSIFIED_PATH_BASED_ONLY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_NAMESPACE_PACKAGES_IN_REGULAR_PACKAGE - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_NUMBER_OF_FILES_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_BUILD_SYSTEM_FLIT - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_BUILD_SYSTEM_HATCHLING - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_BUILD_SYSTEM_PDM - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_BUILD_SYSTEM_POETRY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_BUILD_SYSTEM_SETUPTOOLS - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_BUILD_SYSTEM_UV_BUILD - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_RESOLVED_VIA_BASE_DIR - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_RESOLVED_VIA_CONVENTIONAL_FOLDERS - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_RESOLVED_VIA_LEGACY_INIT_PY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_RESOLVED_VIA_PYPROJECT_TOML - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_RESOLVED_VIA_SETUP_PY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGE_RESOLVED_VIA_SONAR_SOURCES - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGES_WITH_INIT - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_PACKAGES_WITHOUT_INIT - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_SONAR_TESTS_SET - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TEST_FILE_HEURISTIC_TRIGGERED - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TEST_LINES - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_IMPORTS_TOTAL - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_IMPORTS_UNKNOWN - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_NAMES_TOTAL - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_NAMES_UNKNOWN - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_NAMES_UNRESOLVED_IMPORT - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_SYMBOLS_UNIQUE - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_TYPES_SYMBOLS_UNKNOWN - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_VERSION_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PYTHON_VERSION_SET_KEY - Enum constant in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
 
PythonChecks - Class in org.sonar.plugins.python
 
PythonCoverageSensor - Class in org.sonar.plugins.python.coverage
 
PythonCoverageSensor(AnalysisWarningsWrapper) - Constructor for class org.sonar.plugins.python.coverage.PythonCoverageSensor
 
PythonCpdAnalyzer - Class in org.sonar.plugins.python.cpd
 
PythonCpdAnalyzer(SensorContext, Lock) - Constructor for class org.sonar.plugins.python.cpd.PythonCpdAnalyzer
 
PythonExtensionKeys - Class in org.sonar.plugins.python
 
PythonExtensions - Class in org.sonar.plugins.python
 
PythonHighlighter - Class in org.sonar.plugins.python
Colors Python code.
PythonHighlighter() - Constructor for class org.sonar.plugins.python.PythonHighlighter
 
PythonHighlighter(Lock) - Constructor for class org.sonar.plugins.python.PythonHighlighter
 
PythonIndexer - Class in org.sonar.plugins.python.indexer
 
PythonIndexer(ProjectConfigurationBuilder) - Constructor for class org.sonar.plugins.python.indexer.PythonIndexer
 
PythonIndexerWrapper - Class in org.sonar.plugins.python.indexer
 
PythonIndexerWrapper() - Constructor for class org.sonar.plugins.python.indexer.PythonIndexerWrapper
 
PythonIndexerWrapper(PythonIndexer) - Constructor for class org.sonar.plugins.python.indexer.PythonIndexerWrapper
 
PythonProfile - Class in org.sonar.plugins.python
 
PythonProfile(RepositoryInfoProvider[]) - Constructor for class org.sonar.plugins.python.PythonProfile
 
PythonReportSensor - Class in org.sonar.plugins.python
 
PythonReportSensor(Configuration, AnalysisWarningsWrapper, String) - Constructor for class org.sonar.plugins.python.PythonReportSensor
 
PythonRuleRepository - Class in org.sonar.plugins.python
 
PythonRuleRepository(SonarRuntime) - Constructor for class org.sonar.plugins.python.PythonRuleRepository
 
PythonScanner - Class in org.sonar.plugins.python
 
PythonScanner(SensorContext, PythonChecks, FileLinesContextFactory, NoSonarFilter, Supplier<PythonParser>, PythonIndexer, PythonFileConsumer, NoSonarLineInfoCollector, AnalysisWarningsWrapper) - Constructor for class org.sonar.plugins.python.PythonScanner
 
PythonSensor - Class in org.sonar.plugins.python
 
PythonSensor(FileLinesContextFactory, CheckFactory, NoSonarFilter, PythonCustomRuleRepositoryWrapper, PythonIndexerWrapper, SonarLintCacheWrapper, AnalysisWarningsWrapper, RepositoryInfoProviderWrapper, ArchitectureCallbackWrapper, NoSonarLineInfoCollector, ProjectConfigurationBuilder) - Constructor for class org.sonar.plugins.python.PythonSensor
 
PythonXUnitSensor - Class in org.sonar.plugins.python.xunit
 
PythonXUnitSensor(Configuration, FileSystem, AnalysisWarningsWrapper) - Constructor for class org.sonar.plugins.python.xunit.PythonXUnitSensor
 

R

readEffectiveFileType(String) - Method in class org.sonar.plugins.python.caching.Caching
 
readEffectiveFileType(String) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
readEffectiveFileType(String) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
readFileContentHash(String) - Method in class org.sonar.plugins.python.caching.Caching
 
readFilesList() - Method in class org.sonar.plugins.python.caching.Caching
 
readImportMapEntry(String) - Method in class org.sonar.plugins.python.caching.Caching
 
readProjectLevelSymbolTableEntry(String) - Method in class org.sonar.plugins.python.caching.Caching
 
readTypeshedModules() - Method in class org.sonar.plugins.python.caching.Caching
 
recreateProjectLevelTypeTable() - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
relativeRoots() - Method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Returns the value of the relativeRoots record component.
relativeRoots() - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.bandit.BanditSensor
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.coverage.PythonCoverageSensor
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.flake8.Flake8Sensor
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.mypy.MypySensor
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.pylint.PylintSensor
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.ruff.RuffSensor
 
REPORT_PATH_KEY - Static variable in class org.sonar.plugins.python.xunit.PythonXUnitSensor
 
REPORT_PATHS_KEY - Static variable in class org.sonar.plugins.python.coverage.PythonCoverageSensor
 
reportPathKey() - Method in class org.sonar.plugins.python.bandit.BanditSensor
 
reportPathKey() - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
reportPathKey() - Method in class org.sonar.plugins.python.flake8.Flake8Sensor
 
reportPathKey() - Method in class org.sonar.plugins.python.mypy.MypySensor
 
reportPathKey() - Method in class org.sonar.plugins.python.pylint.PylintSensor
 
reportPathKey() - Method in class org.sonar.plugins.python.PythonReportSensor
 
reportPathKey() - Method in class org.sonar.plugins.python.ruff.RuffSensor
 
reportPathKey() - Method in class org.sonar.plugins.python.xunit.PythonXUnitSensor
 
reportStatistics(int, int) - Method in class org.sonar.plugins.python.PythonScanner
 
reportStatistics(int, int) - Method in class org.sonar.plugins.python.Scanner
 
REPOSITORY_KEY - Static variable in class org.sonar.plugins.python.PythonRuleRepository
 
RepositoryInfo(String, String, List<Class<?>>, Set<String>) - Constructor for record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Creates an instance of a RepositoryInfo record class.
RepositoryInfoProvider - Interface in org.sonar.plugins.python.editions
 
RepositoryInfoProvider.RepositoryInfo - Record Class in org.sonar.plugins.python.editions
 
RepositoryInfoProviderWrapper - Class in org.sonar.plugins.python.editions
 
RepositoryInfoProviderWrapper() - Constructor for class org.sonar.plugins.python.editions.RepositoryInfoProviderWrapper
 
RepositoryInfoProviderWrapper(RepositoryInfoProvider[]) - Constructor for class org.sonar.plugins.python.editions.RepositoryInfoProviderWrapper
 
repositoryKey() - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Returns the value of the repositoryKey record component.
RequirementsTxtParser - Class in org.sonar.plugins.python.dependency
 
resolutionMethod() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns the value of the resolutionMethod record component.
resolve(FileSystem, Configuration) - Static method in class org.sonar.plugins.python.indexer.PackageRootResolver
Resolves package root directories for the project.
resolvePackageRoots(SensorContext) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
Resolves package root directories for the project.
roots() - Method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
Returns the value of the roots record component.
RuffJsonReportReader - Class in org.sonar.plugins.python.ruff
 
RuffJsonReportReader.Issue - Class in org.sonar.plugins.python.ruff
 
RuffRulesDefinition - Class in org.sonar.plugins.python.ruff
 
RuffRulesDefinition() - Constructor for class org.sonar.plugins.python.ruff.RuffRulesDefinition
 
RuffSensor - Class in org.sonar.plugins.python.ruff
 
RuffSensor() - Constructor for class org.sonar.plugins.python.ruff.RuffSensor
 
ruleKey - Variable in class org.sonar.plugins.python.TextReportReader.Issue
 
ruleKey(PythonCheck) - Method in class org.sonar.plugins.python.PythonChecks
 
run() - Method in class org.sonar.plugins.python.MultiFileProgressReport
 

S

save(PythonInputFile, List<PythonCheck.PreciseIssue>) - Method in class org.sonar.plugins.python.IssuesRepository
 
save(PythonInputFile, PythonVisitorContext) - Method in class org.sonar.plugins.python.MeasuresRepository
 
saveIssue(SensorContext, TextReportReader.Issue, Set<String>, String) - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
saveNclocForTestFile(PythonInputFile, PythonVisitorContext) - Method in class org.sonar.plugins.python.MeasuresRepository
 
scanFile(PythonVisitorContext) - Method in class org.sonar.plugins.python.architecture.DummyArchitectureCallback
 
scanFile(PythonInputFile) - Method in class org.sonar.plugins.python.PythonScanner
 
scanFile(PythonInputFile) - Method in class org.sonar.plugins.python.Scanner
 
scanFileWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.PythonScanner
 
scanFileWithoutParsing(PythonInputFile) - Method in class org.sonar.plugins.python.Scanner
 
Scanner - Class in org.sonar.plugins.python
 
Scanner(SensorContext) - Constructor for class org.sonar.plugins.python.Scanner
 
send(SensorContext) - Method in class org.sonar.plugins.python.telemetry.SensorTelemetryStorage
 
SensorTelemetryStorage - Class in org.sonar.plugins.python.telemetry
 
SensorTelemetryStorage() - Constructor for class org.sonar.plugins.python.telemetry.SensorTelemetryStorage
 
setSonarLintCache(SonarLintCache) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
setSonarLintCache(SonarLintCache) - Method in class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
SETUP_PY - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Resolved from setup.py configuration
SetupPySourceRoots - Class in org.sonar.plugins.python.indexer
Extracts source root directories from setup.py files.
SETUPTOOLS - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 
shouldExecute(Configuration) - Method in class org.sonar.plugins.python.bandit.BanditSensor
 
shouldExecute(Configuration) - Method in class org.sonar.plugins.python.ExternalIssuesSensor
 
shouldExecute(Configuration) - Method in class org.sonar.plugins.python.flake8.Flake8Sensor
 
shouldExecute(Configuration) - Method in class org.sonar.plugins.python.mypy.MypySensor
 
shouldExecute(Configuration) - Method in class org.sonar.plugins.python.pylint.PylintSensor
 
shouldExecute(Configuration) - Method in class org.sonar.plugins.python.ruff.RuffSensor
 
SKIP_DETAILS - Static variable in class org.sonar.plugins.python.xunit.PythonXUnitSensor
 
SONAR_CAN_SKIP_UNCHANGED_FILES_KEY - Static variable in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
Describes if an optimized analysis of unchanged by skipping some rules is enabled.
SONAR_SOURCES - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Resolved from sonar.sources property
SonarLintPythonIndexer - Class in org.sonar.plugins.python.indexer
 
SonarLintPythonIndexer(ModuleFileSystem, ProjectConfigurationBuilder) - Constructor for class org.sonar.plugins.python.indexer.SonarLintPythonIndexer
 
sonarPythonChecks() - Method in class org.sonar.plugins.python.PythonChecks
 
sonarPythonEndOfAnalyses() - Method in class org.sonar.plugins.python.PythonChecks
 
SonarQubePythonIndexer - Class in org.sonar.plugins.python.indexer
 
SonarQubePythonIndexer(List<PythonInputFile>, CacheContext, SensorContext, ProjectConfigurationBuilder) - Constructor for class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
start(int) - Method in class org.sonar.plugins.python.MultiFileProgressReport
 
startAnalysisFor(String) - Method in class org.sonar.plugins.python.MultiFileProgressReport
 
STATUS_ERROR - Static variable in class org.sonar.plugins.python.xunit.TestCase
 
STATUS_FAILURE - Static variable in class org.sonar.plugins.python.xunit.TestCase
 
STATUS_OK - Static variable in class org.sonar.plugins.python.xunit.TestCase
 
STATUS_SKIPPED - Static variable in class org.sonar.plugins.python.xunit.TestCase
 
StaxParser - Class in org.sonar.plugins.python.parser
Class copied from deprecated class StaxParser of sonar-plugin-api.
StaxParser(StaxParser.XmlStreamHandler) - Constructor for class org.sonar.plugins.python.parser.StaxParser
 
StaxParser.XmlStreamHandler - Interface in org.sonar.plugins.python.parser
Simple interface for handling XML stream to parse.
stop() - Method in class org.sonar.plugins.python.MultiFileProgressReport
 
stream(SMHierarchicCursor) - Method in interface org.sonar.plugins.python.parser.StaxParser.XmlStreamHandler
 
stream(SMHierarchicCursor) - Method in class org.sonar.plugins.python.xunit.TestSuiteParser
 

T

TelemetryMetricKey - Enum Class in org.sonar.plugins.python.telemetry
 
TEST_SOURCES_CONFIGURED_KEY - Static variable in class org.sonar.plugins.python.caching.Caching
 
TestCase - Class in org.sonar.plugins.python.xunit
Represents a unit test case.
TestCase(String, int, String, String, String, String, String) - Constructor for class org.sonar.plugins.python.xunit.TestCase
Constructs a testcase instance out of following parameters
TestFileClassifier - Class in org.sonar.plugins.python
Heuristic classifier used when sonar.tests is not configured.
TestFileTelemetry - Record Class in org.sonar.plugins.python.telemetry.collectors
Telemetry data for tracking test file misclassification.
TestFileTelemetry(long, long, long, long, long, long, long, long, long, long, long, long) - Constructor for record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Creates an instance of a TestFileTelemetry record class.
TestFileTelemetryCollector - Class in org.sonar.plugins.python.telemetry.collectors
 
TestFileTelemetryCollector() - Constructor for class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetryCollector
 
testLines() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the testLines record component.
TestResult - Class in org.sonar.plugins.python.xunit
 
TestResult() - Constructor for class org.sonar.plugins.python.xunit.TestResult
 
TestSuite - Class in org.sonar.plugins.python.xunit
Represents a unit test suite.
TestSuite(String) - Constructor for class org.sonar.plugins.python.xunit.TestSuite
Creates a testsuite instance uniquely identified by the given key
TestSuiteParser - Class in org.sonar.plugins.python.xunit
 
TestSuiteParser() - Constructor for class org.sonar.plugins.python.xunit.TestSuiteParser
 
TextReportReader - Class in org.sonar.plugins.python
Common implementation to parse Flake8 and Pylint reports
TextReportReader(int) - Constructor for class org.sonar.plugins.python.TextReportReader
 
TextReportReader.Issue - Class in org.sonar.plugins.python
 
THREADS_PROPERTY_NAME - Static variable in class org.sonar.plugins.python.Scanner
 
toAbsolutePaths() - Method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Converts the relative source roots to absolute paths.
toString() - Method in record class org.sonar.plugins.python.dependency.model.Dependencies
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.dependency.model.Dependency
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.editions.RepositoryInfoProvider.RepositoryInfo
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.indexer.ConfigSourceRoots
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.indexer.PackageResolutionResult
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.indexer.PyProjectExtractionResult
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns a string representation of this record class.
toString() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns a string representation of this record class.
totalImports() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the totalImports record component.
totalLines() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the totalLines record component.
totalMainFiles() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the totalMainFiles record component.
totalMainLines() - Method in record class org.sonar.plugins.python.telemetry.collectors.TestFileTelemetry
Returns the value of the totalMainLines record component.
totalNames() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the totalNames record component.
TypeInferenceTelemetry - Record Class in org.sonar.plugins.python.telemetry.collectors
Telemetry data for type inference quality metrics.
TypeInferenceTelemetry(long, long, long, long, long, long, long) - Constructor for record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Creates an instance of a TypeInferenceTelemetry record class.
TypeInferenceTelemetryCollector - Class in org.sonar.plugins.python.telemetry.collectors
Collects telemetry metrics about type inference quality.
TypeInferenceTelemetryCollector() - Constructor for class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetryCollector
 
TYPESHED_MODULES_KEY - Static variable in class org.sonar.plugins.python.caching.Caching
 

U

uniqueSymbols() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the uniqueSymbols record component.
unknownSymbols() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the unknownSymbols record component.
unknownTypeNames() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the unknownTypeNames record component.
unresolvedImportTypeNames() - Method in record class org.sonar.plugins.python.telemetry.collectors.TypeInferenceTelemetry
Returns the value of the unresolvedImportTypeNames record component.
updateMetric(TelemetryMetricKey, boolean) - Method in class org.sonar.plugins.python.telemetry.SensorTelemetryStorage
 
updateMetric(TelemetryMetricKey, Number) - Method in class org.sonar.plugins.python.telemetry.SensorTelemetryStorage
 
updateMetric(TelemetryMetricKey, String) - Method in class org.sonar.plugins.python.telemetry.SensorTelemetryStorage
 
UV_BUILD - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 
UV_BUILD_DEFAULT_MODULE - Enum constant in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
 

V

valueOf(String) - Static method in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.BuildSystem
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.sonar.plugins.python.indexer.PackageResolutionResult.ResolutionMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.sonar.plugins.python.telemetry.TelemetryMetricKey
Returns an array containing the constants of this enum class, in the order they are declared.

W

wasTestFileHeuristicTriggered() - Method in class org.sonar.plugins.python.PythonScanner
 
withResolutionInfo(PackageResolutionResult.ResolutionMethod, PackageResolutionResult.BuildSystem) - Method in record class org.sonar.plugins.python.indexer.NamespacePackageTelemetry
Creates a new telemetry instance with resolution information added.
writeCacheVersion() - Method in class org.sonar.plugins.python.caching.Caching
 
writeEffectiveFileType(String, InputFile.Type) - Method in class org.sonar.plugins.python.caching.Caching
 
writeEffectiveFileType(String, InputFile.Type) - Method in class org.sonar.plugins.python.indexer.PythonIndexer
 
writeEffectiveFileType(String, InputFile.Type) - Method in class org.sonar.plugins.python.indexer.SonarQubePythonIndexer
 
writeFileContentHash(String, byte[]) - Method in class org.sonar.plugins.python.caching.Caching
 
writeFilesList(List<String>) - Method in class org.sonar.plugins.python.caching.Caching
 
writeImportsMapEntry(String, Set<String>) - Method in class org.sonar.plugins.python.caching.Caching
 
writeProjectLevelSymbolTableEntry(String, Set<Descriptor>) - Method in class org.sonar.plugins.python.caching.Caching
 
writeTestSourcesConfigured(boolean) - Method in class org.sonar.plugins.python.caching.Caching
 
writeTypeshedModules(Set<String>) - Method in class org.sonar.plugins.python.caching.Caching
 
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form