当前位置:网站首页>玩转Sonar
玩转Sonar
2022-07-07 22:11:00 【InfoQ】
Sonar介绍
Hudson/Jenkins 等
FindBugs,PMD
IDE
Eclipse
IntelliJ IDEA
Java
名词解释
- Code Smell (Maintainability domain)
- Bug (Reliability domain)
- Vulnerability (Security domain)
- Security Hotspot (Security domain)
本地安装Sonar插件
官网推荐的系统集成方式
- 开发人员的代码在自己的IDE和使用SonarLint运行局部分析。
- 开发人员推他们的代码到自己喜爱的供应链管理:GIT,SVN......
- 持续集成服务器触发自动构建和SonarQube扫描仪的运行SonarQube分析所需的执行。
- 分析报告被发送到SonarQube服务器进行处理。
- SonarQube服务器处理和存储分析报告导致SonarQube数据库,并显示结果在UI中。
- 开发者审核,评论,挑战他们的管理,并通过SonarQube UI减少他们的技术债务问题。
- 开发经理收到分析报告。 OPS使用API从SonarQube自动化配置和提取数据。 OPS使用JMX来监控SonarQube服务器。
![null](/img/20/fd4f5875e1ca1d1fa96f8ed85635a4.png)
Q&A
- 一个项目分析哪个分支,是不是只能管理员来控制,如果多个开发者在开发多个分支,想各自对不同的分支来分析,该怎么做?
- 现在的提交分析的机制是什么样子的?
- 提交成功后有没有通知机制?
- 单元测试的覆盖率该如何集成到SonarQube上?
- 有没有对于那些对业务无实际坏影响的代码,在sonar中能不能定制化规则,把这些异味或者显示修改的地方去掉
边栏推荐
- Detailed explanation of interview questions: the history of blood and tears in implementing distributed locks with redis
- HB 5469 combustion test method for non-metallic materials in civil aircraft cabin
- 自动化测试:Robot FrameWork框架90%的人都想知道的实用技巧
- [programming problem] [scratch Level 2] 2019.09 make bat Challenge Game
- Connect diodes in series to improve voltage withstand
- Binary sort tree [BST] - create, find, delete, output
- Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)
- [basis of recommendation system] sampling and construction of positive and negative samples
- Scrapy framework
- 从Starfish OS持续对SFO的通缩消耗,长远看SFO的价值
猜你喜欢
One click free translation of more than 300 pages of PDF documents
单机高并发模型设计
数据湖(十五):Spark与Iceberg整合写操作
redis你到底懂不懂之list
Kubectl's handy command line tool: Oh my Zsh tips and tricks
[question de programmation] [scratch niveau 2] oiseaux volants en décembre 2019
Binder核心API
Go learning notes (2) basic types and statements (1)
关于组织2021-2022全国青少年电子信息智能创新大赛西南赛区(四川)复赛的通知
Is 35 really a career crisis? No, my skills are accumulating, and the more I eat, the better
随机推荐
95. (cesium chapter) cesium dynamic monomer-3d building (building)
【转载】解决conda安装pytorch过慢的问题
Problems faced when connecting to sqlserver after downloading (I)
Robomaster visual tutorial (0) Introduction
一鍵免費翻譯300多頁的pdf文檔
Relevant methods of sorting arrays in JS (if you want to understand arrays, it's enough to read this article)
One click installation with fishros in blue bridge ROS
快速回复二极管整流特性
Is it safe for tongdaxin to buy funds?
Cmake learning notes (1) compile single source programs with cmake
80% of the people answered incorrectly. Does the leaf on the apple logo face left or right?
自动化测试:Robot FrameWork框架90%的人都想知道的实用技巧
数据库查询——第几高的数据?
redis你到底懂不懂之list
3年经验,面试测试岗20K都拿不到了吗?这么坑?
【编程题】【Scratch二级】2019.12 绘制十个正方形
ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
【編程題】【Scratch二級】2019.12 飛翔的小鳥
C language 005: common examples
QT and OpenGL: load 3D models using the open asset import library (assimp)