]> source.dussan.org Git - sonarqube.git/commit
SONAR-5389 New Analyzer API
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 12 Jun 2014 07:38:46 +0000 (09:38 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Mon, 16 Jun 2014 07:42:46 +0000 (09:42 +0200)
commitd35dc73824f38e3585b44d8b7ee9df867bccec5b
tree1248c5da0843b6218c677f1a375a82e3bb67b383
parent74e76cbd9f07045561a219efe49f220253508ddb
SONAR-5389 New Analyzer API
188 files changed:
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/UserManagedMetrics.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FileHashSensor.java
plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/sensors/FileHashSensorTest.java
plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarBridgeEngine.java
plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/SonarEngineTest.java
pom.xml
sonar-batch-plugin-api/pom.xml [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/FilePredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/FilePredicates.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFile.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/AbsolutePathPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/AndPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DefaultFilePredicates.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DefaultFileSystem.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DefaultInputFile.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/FalsePredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/LanguagePredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/NotPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/OrPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/PathPattern.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/PathPatternPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/RelativePathPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/StatusPredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/TruePredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/TypePredicate.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/api/batch/fs/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/BatchComponent.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/BatchExtension.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/InstantiationStrategy.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/Analyzer.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/AnalyzerContext.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/AnalyzerDescriptor.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/issue/AnalyzerIssue.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/issue/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/measure/AnalyzerMeasure.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/measure/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/analyzer/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/internal/FilenameUtils.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/internal/Preconditions.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/internal/StringUtils.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/internal/WildcardPattern.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/internal/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/languages/Language.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/languages/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/measures/Metric.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/measures/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/rules/QProfile.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/rules/RuleKey.java [new file with mode: 0644]
sonar-batch-plugin-api/src/main/java/org/sonar/batch/api/rules/package-info.java [new file with mode: 0644]
sonar-batch-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DefaultFilePredicatesTest.java [new file with mode: 0644]
sonar-batch-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DefaultFileSystemTest.java [new file with mode: 0644]
sonar-batch-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DefaultInputFileTest.java [new file with mode: 0644]
sonar-batch-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/PathPatternTest.java [new file with mode: 0644]
sonar-batch/pom.xml
sonar-batch/src/main/java/org/sonar/batch/DefaultSensorContext.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/AnalysisMode.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchComponents.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchExtensionDictionnary.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/ExtensionInstaller.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/TaskContainer.java
sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java
sonar-batch/src/main/java/org/sonar/batch/index/DefaultIndex.java
sonar-batch/src/main/java/org/sonar/batch/index/ResourceKeyMigration.java
sonar-batch/src/main/java/org/sonar/batch/issue/IssueFilters.java
sonar-batch/src/main/java/org/sonar/batch/issue/ModuleIssues.java
sonar-batch/src/main/java/org/sonar/batch/issue/ignore/scanner/IssueExclusionsLoader.java
sonar-batch/src/main/java/org/sonar/batch/language/LanguageDistributionDecorator.java
sonar-batch/src/main/java/org/sonar/batch/languages/DeprecatedLanguagesReferential.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/languages/LanguagesReferential.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/languages/package-info.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/phases/Phase2Executor.java [deleted file]
sonar-batch/src/main/java/org/sonar/batch/phases/SensorMatcher.java
sonar-batch/src/main/java/org/sonar/batch/rule/ActiveRulesProvider.java
sonar-batch/src/main/java/org/sonar/batch/rule/ModuleQProfiles.java
sonar-batch/src/main/java/org/sonar/batch/rule/QProfileEventsDecorator.java
sonar-batch/src/main/java/org/sonar/batch/rule/QProfileSensor.java
sonar-batch/src/main/java/org/sonar/batch/rule/QProfileVerifier.java
sonar-batch/src/main/java/org/sonar/batch/rule/RulesProfileProvider.java
sonar-batch/src/main/java/org/sonar/batch/rule/UsedQProfiles.java
sonar-batch/src/main/java/org/sonar/batch/rules/DefaultQProfileReferential.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/rules/QProfileWithId.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/rules/QProfilesReferential.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/rules/package-info.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan/AnalyzerContextAdaptor.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan/LanguageVerifier.java
sonar-batch/src/main/java/org/sonar/batch/scan/ModuleScanContainer.java
sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java
sonar-batch/src/main/java/org/sonar/batch/scan/ScanTask.java
sonar-batch/src/main/java/org/sonar/batch/scan/SensorWrapper.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/AdditionalFilePredicates.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ComponentIndexer.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystem.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/DeprecatedFileFilters.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/FileIndexer.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/InputFileBuilder.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/InputFileBuilderFactory.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/InputFileCache.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/LanguageDetection.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/LanguageDetectionFactory.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ModuleInputFileCache.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/StatusDetectionFactory.java
sonar-batch/src/main/java/org/sonar/batch/scan/measure/MeasureCache.java
sonar-batch/src/main/java/org/sonar/batch/scan/report/JsonReport.java
sonar-batch/src/main/java/org/sonar/batch/scan2/AnalyzersExecutor.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan2/DefaultAnalyzerContext.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan2/MeasureCache.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan2/ModuleScanContainer.java
sonar-batch/src/main/java/org/sonar/batch/scan2/Phase2Executor.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan2/ProjectScanContainer.java
sonar-batch/src/main/java/org/sonar/batch/scan2/ScanTaskObserver.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan2/ScanTaskObservers.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/scan2/package-info.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/settings/package-info.java [new file with mode: 0644]
sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchExtensionDictionnaryTest.java
sonar-batch/src/test/java/org/sonar/batch/bootstrap/MetricProviderTest.java
sonar-batch/src/test/java/org/sonar/batch/index/ResourceKeyMigrationTest.java
sonar-batch/src/test/java/org/sonar/batch/issue/ignore/scanner/IssueExclusionsLoaderTest.java
sonar-batch/src/test/java/org/sonar/batch/medium/Scan2MediumTest.java [deleted file]
sonar-batch/src/test/java/org/sonar/batch/rule/ActiveRulesProviderTest.java
sonar-batch/src/test/java/org/sonar/batch/rule/ModuleQProfilesTest.java
sonar-batch/src/test/java/org/sonar/batch/rule/QProfileSensorTest.java
sonar-batch/src/test/java/org/sonar/batch/rule/QProfileVerifierTest.java
sonar-batch/src/test/java/org/sonar/batch/rule/RulesProfileProviderTest.java
sonar-batch/src/test/java/org/sonar/batch/rule/UsedQProfilesTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/LanguageVerifierTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/AdditionalFilePredicatesTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/ComponentIndexerTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystemTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DeprecatedFileFiltersTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/ExclusionFiltersTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/InputFileBuilderFactoryTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/InputFileBuilderTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/InputFileCacheTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/LanguageDetectionFactoryTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/LanguageDetectionTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/report/JsonReportTest.java
sonar-batch/src/test/resources/org/sonar/batch/medium/simple-project/sonar-project.properties [new file with mode: 0644]
sonar-batch/src/test/resources/org/sonar/batch/medium/simple-project/sources/Fake.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/component/ComponentKeys.java
sonar-deprecated/src/main/java/org/sonar/api/batch/BatchExtensionDictionnary.java
sonar-plugin-api/pom.xml
sonar-plugin-api/src/main/java/org/sonar/api/batch/InstantiationStrategy.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/SensorContext.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FilePredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FilePredicates.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFile.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/AbsolutePathPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/AndPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DefaultFilePredicates.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DefaultFileSystem.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DefaultInputFile.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/DeprecatedDefaultInputFile.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/FalsePredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/FileIndex.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/LanguagePredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/NotPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/OrPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/PathPattern.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/PathPatternPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/RelativePathIndex.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/RelativePathPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/StatusPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/TruePredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/TypePredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/UniqueIndexPredicate.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/package-info.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/package-info.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
sonar-plugin-api/src/main/java/org/sonar/api/measures/Measure.java
sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasuresFilters.java
sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java
sonar-plugin-api/src/test/java/org/sonar/api/batch/AbstractSumChildrenDecoratorTest.java
sonar-plugin-api/src/test/java/org/sonar/api/batch/TimeMachineQueryTest.java
sonar-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DefaultFilePredicatesTest.java [deleted file]
sonar-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DefaultFileSystemTest.java [deleted file]
sonar-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DefaultInputFileTest.java [deleted file]
sonar-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/DeprecatedDefaultInputFileTest.java [new file with mode: 0644]
sonar-plugin-api/src/test/java/org/sonar/api/batch/fs/internal/PathPatternTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/startup/RegisterMetricsTest.java