2015-02-10 31 views
0
聲納的Qube插件問題

我使用現有的MySQL數據庫有我的聲納的Qube :(使用Flex

我安裝了聲納的Qube的最新版本(5.0)的升級後問題。以前的聲納的Qube版本是。3.7.4

我用它來分析使用Flex插件(2.1版)純ActionScript項目

我的問題似乎三點:

  • 就開始SERV呃並查看以前的分析結果我得到灰色 rects其中代碼質量曾用綠色陰影等指示 使用更新中心安裝Flex插件後,此 仍然存在。
  • 運行聲納亞軍(2.4版本),我得到兩種類型的錯誤:

一大堆的這些: 23:35:01.572 DEBUG - Resource [email protected][key=path/to/folder] was found using deprecated key. Please update your plugin.

之後,分析出口與此:

23:35:01.585 INFO - Sensor FlexSquidSensor done: 4508 ms 23:35:01.585 INFO - Sensor [email protected] 23:35:01.585 INFO - No Cobertura report provided (see 'sonar.flex.cobertura.reportPath' property) 23:35:01.585 INFO - Sensor [email protected] done: 0 ms 23:35:01.585 INFO - Sensor SCM Sensor (wrapped)... 23:35:01.612 INFO - SCM provider for this project is: git 23:35:01.612 INFO - Retrieve SCM blame information... 23:35:01.615 INFO - 280 files to be analyzed 23:35:04.012 DEBUG - Updating semaphore batch-nl.manno:Earz 23:35:04.447 DEBUG - Release semaphore on project : [email protected][id=60,key=nl.manno:Earz,qualifier=TRK], with key batch-nl.manno:Earz INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 14.293s Final Memory: 15M/123M INFO: ------------------------------------------------------------------------ ERROR: Error during Sonar runner execution org.sonar.runner.impl.RunnerException: Unable to execute Sonar at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91) at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75) at java.security.AccessController.doPrivileged(Native Method) at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69) at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50) at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102) at org.sonar.runner.api.Runner.execute(Runner.java:100) at org.sonar.runner.Main.executeTask(Main.java:70) at org.sonar.runner.Main.execute(Main.java:59) at org.sonar.runner.Main.main(Main.java:53) Caused by: java.lang.IllegalArgumentException: Expected one blame result per line but provider returned 3 blame lines while file src/nl/aloft/earz/core/modules/interval/Interval.as has 76 lines at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) at org.sonar.batch.scm.DefaultBlameOutput.blameResult(DefaultBlameOutput.java:68) at org.sonar.plugins.scm.git.JGitBlameCommand.blame(JGitBlameCommand.java:131) at org.sonar.plugins.scm.git.JGitBlameCommand.access$000(JGitBlameCommand.java:44) at org.sonar.plugins.scm.git.JGitBlameCommand$1.call(JGitBlameCommand.java:105) at org.sonar.plugins.scm.git.JGitBlameCommand$1.call(JGitBlameCommand.java:102) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) logout

現在我以前已經安裝了比Flex更多的插件(包括提到的Cobertura),但是在安裝Sonar Qube之後,根本無法運行太多的通知(不用說跑步者也不會跑步)。

任何人都可以對此有所瞭解嗎?

由於提前, 曼諾

回答

2

我們已經面臨着不得不舊Mac產品線兩端的文件這個問題(CR或\ r)。 Git不會認爲它們是行結束的,所以最終你的責備行比你的文件更少。 你可以使用mac2unix工具「清理」你的文件。

+0

謝謝,最終只有三個文件或類似的東西。 (AFAICS)現在只有在儀表板中帶有「斷開鏈接」圖標的灰色方塊,它們看起來不過是一種美學上的煩惱(AFAICS) – Manno 2015-02-11 20:28:44