幾個輕巧好用的代碼檢查工具!
點擊上方藍色“肉眼品世界”,選擇“設為星標”
深度價值體系傳遞
來源:https://www.cnblogs.com/cjsblog/p/10735800.html
SonarLint是一個代碼質(zhì)量檢測插件,可以幫助我們檢測出代碼中的壞味道

下載與安裝

在需要檢測的單個文件或者單個項目上右鍵 --> Analyze --> Analyze with SonarLint
或者選中文件或目錄,點擊菜單欄 Analyze --> Analyze with SonarLint

我們還可以禁用某些規(guī)則

如果需要同步自定義的規(guī)則時,可以綁定到SonarQube



查看檢測的結果






unzip sonarqube-7.7.zip
cd sonarqube-7.7
bin/[OS]/sonar.sh consol


<build>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.6.0.1398</version>
</plugin>
</plugins>
</build>







https://www.sonarqube.org/
https://www.sonarsource.com/plans-and-pricing/community/
https://www.sonarlint.org/
https://docs.sonarqube.org/latest/setup/overview/
https://docs.sonarqube.org/latest/
https://github.com/SonarSource/sonar-scanning-examples/tree/master/sonarqube-scanner-maven
https://github.com/SonarSource
推薦閱讀:
論數(shù)字化轉(zhuǎn)型——轉(zhuǎn)什么,如何轉(zhuǎn)?
企業(yè)10大管理流程圖,數(shù)字化轉(zhuǎn)型從業(yè)者必備!
【中臺實踐】華為大數(shù)據(jù)中臺架構分享.pdf
數(shù)字化轉(zhuǎn)型的本質(zhì)(10個關鍵詞)
