当前位置:网站首页>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边栏推荐
- js中通过key查找和更新对象中指定值的方法
- 相机投影矩阵计算
- How to improve the customer retention rate in the operation of independent stations? Customer segmentation is very important!
- Use cpulimit to free up your CPU
- "Adobe international certification" Photoshop software, about drawing tutorial?
- 利用ngrok做内网穿透
- Ordinary token
- leetcode 1268. Search Suggestions System(搜索推荐系统)
- 分布式 | 如何与 DBLE 进行“秘密通话”
- The article takes you to understand the security of Windows operating system and protect your computer from infringement
猜你喜欢

【微服务~Nacos】Nacos服务提供者和服务消费者

Redis cluster data skew

Permission model DAC ACL RBAC ABAC

RCNN、Fast-RCNN、Faster-RCNN介绍

JUC personal simple notes
![Fundamentals of 3D mathematics [17] inverse square theorem](/img/59/bef931d96883288766fc94e38e0ace.png)
Fundamentals of 3D mathematics [17] inverse square theorem

新技术实战,一步步用Activity Results API封装权限申请库

独立站运营中如何提升客户留存率?客户细分很重要!

2022 tea artist (intermediate) work license question bank and online simulation examination

Small sample fault diagnosis - attention mechanism code - Implementation of bigru code parsing
随机推荐
成为IEEE学生会员
Shell pass parameters
How to replace the web player easyplayerproactivex Key in OCX?
2021-06-25: a batch of strings consisting only of lowercase letters (a~z) are put
Longhorn installation and use
Pat 1157: school anniversary
jwt(json web token)
Qt导出PDF文件的两种方法
【关于运维和网工的差别,一文说透】
Question 3 - MessageBox pop-up box, modify the default background color
Easycvr invokes the interface parameter acquisition method and precautions of device video recording on the page
Common date formatter and QT method for obtaining current time
ZUCC_编译语言原理与编译_实验08 语法分析 LR 分析
WPS的JS宏实现图片正文在同一段落的分离方法
图片工具
Detailed explanation of etcd backup and recovery principle and actual record of stepping on the pit
"Wechat cloud hosting" first practical battle | introduction to minimalist demo
[untitled]
Qmenu response in pyqt
MATLAB Camera Calibrator相机标定