当前位置:网站首页>Using sonar for code checking
Using sonar for code checking
2022-06-24 08:40:00 【An unreliable programmer】
sonar Introduce
Sonar Is an open platform for code quality management . Through plug-in mechanism ,Sonar Different test tools can be integrated , Code analysis tools , And continuous integration tools . Tools for continuous integration with ( for example Hudson/Jenkins etc. ) Different ,Sonar It's not about simply checking the results of different code checking tools ( for example FindBugs,PMD etc. ) Display directly in Web On the page , It reprocesses these results through different plug-ins , Measure changes in code quality in a quantitative way , Therefore, it is convenient to manage the code quality of different scale and types of projects .
In terms of support for other tools ,Sonar It not only provides IDE Support for , Can be in Eclipse and IntelliJ IDEA Check the results online in these tools ; meanwhile Sonar It also provides interface support for a large number of continuous integration tools , Easy to use in continuous integration Sonar.
Besides ,Sonar The plug-in of Java Support for programming languages other than , Good support for internationalization and report documentation .
sonar install (docker Running in )
Be careful : First in msyql Create a sonar user , And give all permissions to the database with the same name to the user . hold mysql Replace the address with .
The first start is slow . Wait patiently .
docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 -e "SONARQUBE_JDBC_USERNAME=sonar" -e "SONARQUBE_JDBC_PASSWORD=sonar" -e "SONARQUBE_JDBC_URL=jdbc:mysql://mysqlip:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false" sonarqube边栏推荐
- 中国芯片独角兽公司
- How to implement approval function in Tekton
- Rescue system -- the application of read-write separation
- Question bank and simulation examination for operation certificate of refrigeration and air conditioning equipment in 2022
- Opencv实现图像的基本变换
- Centos7安装jdk8以及mysql5.7以及Navicat连接虚拟机mysql的出错以及解决方法(附mysql下载出错解决办法)
- ZUCC_ Principles of compiling language and compilation_ Experiment 04 language and grammar
- mysql组合索引的有序性
- 2021-03-11 comp9021 class 8 notes
- 相机投影矩阵计算
猜你喜欢

ZUCC_ Principles of compiling language and compilation_ Experiment 04 language and grammar

日本大阪大学万伟伟研究员介绍基于WRS系统机器人的快速集成方法和应用

2021-03-16 comp9021 class 9 notes

Synthesize video through ffmpeg according to m3u8 file of video on the network

RCNN、Fast-RCNN、Faster-RCNN介绍

ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析

2021-03-11 comp9021 class 8 notes
![[micro services ~nacos] Nacos service providers and service consumers](/img/b7/47ecd6979ccfeb270261681d6130be.png)
[micro services ~nacos] Nacos service providers and service consumers

2021-03-09 comp9021 class 7 Notes

ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language
随机推荐
Export MySQL database to xxx SQL, set xxx The SQL file is imported into MySQL on the server. Project deployment.
Easydss anonymous live channel data volume instability optimization scheme sharing
(pkcs1) RSA public private key PEM file parsing
Review SGI STL secondary space configurator (internal storage pool) | notes for personal use
[real estate opening online house selection, WiFi coverage temporary network] 500 people are connected to WiFi at the same time
Introduction to NC machine tool programming [G-code]
Longhorn installation and use
Use cpulimit to free up your CPU
Synthesize video through ffmpeg according to m3u8 file of video on the network
ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析
ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析
ZUCC_编译语言原理与编译_实验03 编译器入门
[xinliu-s6 new model +sa 3-star Xinghai] the new two-way server of the third generation chip was launched and the product was updated~
PHP代码加密的几种方案
Blue screen error UNMOUNTABLE boot volume of the solution
Live broadcast appointment: growth of Mengxin Product Manager
Video Fusion communication has become an inevitable trend of emergency command communication. How to realize it based on easyrtc?
Question 4 - datepicker date selector, disabling two date selectors (start and end dates)
05 Ubuntu installing mysql8
Redis cluster data skew