在我们的设置中,声纳和数据库都在同一台机器上运行。但是当我们逃离詹金斯时,我们的声纳分析将永远挂起。我们得到以下输出
[INFO] [11:54:14.200] 执行装饰器... [DEBUG] [12:03:38.232] 装饰器时间:ManualMeasureDecorator:209936ms SumDuplicationsDecorator:84ms org.sonar.plugins.core.issue.IssueTrackingDecorator@2f46a8:302236ms org .sonar.plugins.core.security.ApplyProjectRolesDecorator@1c7f922: 9ms org.sonar.plugins.core.sensors.DirectoriesDecorator@1a53786: 21ms org.sonar.plugins.core.sensors.FilesDecorator@1e0684a: 16ms org.sonar.plugins。 core.timemachine.TimeMachineConfigurationPersister@170a9c8: 1414ms org.sonar.plugins.core.timemachine.NewCoverageFileAnalyzer@1deede8: 10ms org.sonar.plugins.core.timemachine.NewItCoverageFileAnalyzer@d52ab0: 3ms org.sonar.plugins.core.timemachine.NewOverallCoverageFileAnalyzer @e5bc87:6 毫秒 org.sonar.plugins.core.timemachine.NewCoverageAggregator@bc77d7:18 毫秒 org.sonar。plugins.java.decorators.ClassesDecorator@19a9cac:20ms org.sonar.plugins.java.decorators.FunctionsDecorator@1a3e41a:11ms org.sonar.plugins.design.batch.ProjectDsmDecorator@d4837f:7ms FileTangleIndexDecorator:11ms org.sonar.plugins。 design.batch.SuspectLcom4DensityDecorator@1e4308c: 13ms f(lines): 11ms f(generated_lines): 27ms f(ncloc): 3ms f(generated_ncloc): 6ms f(classes): 10ms f(packages): 9ms f(functions): 16ms f(accessors): 13ms f(statements): 11ms f(public_api): 7ms f(comment_lines): 6ms f(comment_blank_lines): 7ms f(public_undocumented_api): 10ms f(commented_out_code_lines): 7ms f(complexity): 9ms f (complexity_in_classes): 11ms f(complexity_in_functions): 7ms f(class_complexity_distribution): 15ms f(lines_to_cover): 5ms f(uncovered_lines):12ms f(conditions_to_cover): 6ms f(uncovered_conditions): 6ms f(it_lines_to_cover): 13ms f(it_uncovered_lines): 8ms f(it_conditions_to_cover): 4ms f(it_uncovered_conditions): 9ms f(overall_lines_to_cover): 3ms f(overall_uncovered_lines): 6ms f (overall_conditions_to_cover): 17ms f(overall_uncovered_conditions): 5ms f(rfc): 22ms f(lcom4): 18ms f(package_cycles): 7ms f(package_tangles): 6ms f(package_feedback_edges): 9ms f(package_edges_weight): 13ms f(new_lines_to_cover ): 6ms f(new_uncovered_lines): 5ms f(new_conditions_to_cover): 8ms f(new_uncovered_conditions): 6ms f(new_it_lines_to_cover): 3ms f(new_it_uncovered_lines): 14ms f(new_it_conditions_to_cover): 6ms f(new_it_uncovered_conditions): 8ms f(new_overall_lines):to_ 9ms f(new_overall_uncovered_lines):7ms f(new_overall_conditions_to_cover): 10ms f(new_overall_uncovered_conditions): 7ms org.sonar.plugins.cpd.decorators.DuplicationDensityDecorator@27bee9: 35ms CountUnresolvedIssuesDecorator: 987ms CountFalsePositivesDecorator: 133ms CommentDensityDecorator: 60ms org.sonar.plugins.java.decorators.ChidamberKemererDistributionBuilder@1600021 : 11ms org.sonar.plugins.java.decorators.FileComplexityDistributionDecorator@1a8773b: 26ms org.sonar.plugins.java.decorators.FunctionComplexityDistributionBuilder@12be637: 59ms PackageTangleIndexDecorator: 8ms f(file_complexity): 31ms f(class_complexity): 27ms f(function_complexity ):16ms f(function_complexity_distribution):101ms f(file_complexity_distribution):37ms f(rfc_distribution):10ms f(lcom4_distribution):6ms org.sonar.plugins.core。issue.WeightedIssuesDecorator@10fb346: 91ms IssuesDensityDecorator: 46ms org.sonar.plugins.core.timemachine.TendencyDecorator@68347b: 46098ms VariationDecorator: 39ms
[DEBUG] [12:03:38.233] 24761 措施转储 [DEBUG] [12:03:46.964] 更新信号量批处理-com.pnmr.PNMRProject:PNMRProject-project [DEBUG] [12:03:58.084] 更新信号量批处理-com.pnmr.PNMRProject:PNMRProject-项目
我们使用声纳版本为 3.7。请提出任何解决方法。