当前位置: 首页 > news >正文

SonarQube 10.0 (macOS, Linux, Windows) - 清洁代码 (Clean Code)

请访问原文链接:https://sysin.org/blog/sonarqube-10/,查看最新版。原创作品,转载请保留出处。

作者主页:sysin.org


Sonar Clean Code Industry leading solutions

  • IDE | SonarLint Free IDE extension that provides on-the-fly analysis and coding guidance
  • Self-managed | SonarQube Self-managed static analysis tool for continuous codebase inspection
  • As a service | Sonar CloudCloud-based static analysis tool for your CI/CD workflows

Self-managed. SonarQube.

Developing with Sonar

使用 {SonarQube} 为团队和企业提供干净的代码

为开发团队提供深度集成到您的企业环境中的解决方案 (sysin),使您能够一致且可靠地部署干净的代码。

被 300,000+ 组织使用和喜爱

  • 巴克莱
  • 法国航空
  • IBM
  • 美国国家航空航天局
  • Microsoft
  • Alphabet
  • 戴森
  • VMware

代码更智能

利用干净代码的力量

将 Sonar 工具无缝集成到您的开发工作流程中,看看无与伦比的代码智能可以为您的组织做什么。

更清洁的代码。较低的维护。

干净的代码更容易增强 (sysin),将维护时间和成本降至最低。

留住你的开发人员。快乐的。

通过保持工作场所最重要的部分——你的代码——干净,你可以为每个人创造一个愉快和满意的工作环境。

返工少。多创新。

通过授权开发人员专注于解决有趣的问题来产生更大的商业价值。

将风险降到最低。最大化声誉。

Sonar 通过在正确的地点和时间进行正确的检查 (sysin),使您的软件保持稳健和安全。

开发者必备

源代码有一个新标准

6M+

开发人员使用 Sonar

2.4M

来自 Github 的推荐点击

前 3 名

Azure 市场上的管道扩展

开发商。团队。企业。

为所有人提供干净的代码

对于开发者

花费太多时间修复问题?

使用一种解决方案控制您的代码,该解决方案可在最有用的点直接向您的工作流程提供实时洞察 (sysin)。Sonar 为干净、高质量的代码提供工具和智能,所需的修复提交更少。

对于团队

整治从创新中偷走时间?

使用快速且提供近乎实时反馈的解决方案,减少返工并进行更多创新。Sonar 的 Clean as You Code 方法使您的代码保持干净,以便团队可以将他们的才能集中在重要的地方——构建具有影响力的产品

为企业

需要降低风险并最大限度地提高弹性?

使用 Sonar 工具包将整个企业的风险降至最低。干净、稳定的代码环境为吸引顶尖的开发人才奠定了基础,并使数据更安全,避免出现漏洞和昂贵的修复周期。

版本比较

sonarqube-version-compare

系统要求

Java

The SonarQube server require Java version 11 and the SonarQube scanners require Java version 11 or 17.

SonarQube is able to analyze any kind of Java source files regardless of the version of Java they comply to.

We recommend using the Critical Patch Update (CPU) releases.

JavaServerScanners
Oracle JRE❌ 17✅ 17
✅ 11✅ 11
❌ 8❌ 8
OpenJDK❌ 17✅ 17
✅ 11✅ 11
❌ 8❌ 8

Database

DatabaseVersion
PostgreSQL✅ 13
✅ 12
✅ 11
✅ 10
✅ 9.6
⚠️ Must be configured to use UTF-8 charset
Microsoft SQL Server✅ 2019 (MSSQL Server 15.0) with bundled Microsoft JDBC driver. Express Edition is supported.
✅ 2017 (MSSQL Server 14.0) with bundled Microsoft JDBC driver. Express Edition is supported.
✅ 2016 (MSSQL Server 13.0) with bundled Microsoft JDBC driver. Express Edition is supported.
✅ 2014 (MSSQL Server 12.0) with bundled Microsoft JDBC driver. Express Edition is supported.
⚠️ Collation must be case-sensitive (CS) and accent-sensitive (AS) (example: Latin1_General_CS_AS)
⚠️ READ_COMMITTED_SNAPSHOT must be set on the SonarQube database to avoid potential deadlocks under heavy load
ℹ️ Both Windows authentication (“Integrated Security”) and SQL Server authentication are supported. See the Microsoft SQL Server section in Installing/installation/installing-the-server page for instructions on configuring authentication.
Oracle✅ 19C
✅ 18C
✅ 12C
✅ XE Editions
⚠️ Must be configured to use a UTF8-family charset (see NLS_CHARACTERSET)
⚠️ The driver ojdbc14.jar is not supported
ℹ️ We recommend using the latest Oracle JDBC driver
⚠️ Only the thin mode is supported, not OCI
⚠️ Only MAX_STRING_SIZE=STANDARD parameter is supported, not EXTENDED

Web Browser

To get the full experience SonarQube has to offer, you must enable JavaScript in your browser.

Browser
Microsoft Edge✅ Latest
Mozilla Firefox✅ Latest
Google Chrome✅ Latest
Opera⚠️ Not tested
Safari✅ Latest

Platform notes

Linux

If you’re running on Linux, you must ensure that:

  • vm.max_map_count is greater than or equal to 524288
  • fs.file-max is greater than or equal to 131072
  • the user running SonarQube can open at least 131072 file descriptors
  • the user running SonarQube can open at least 8192 threads

You can see the values with the following commands (sysin):

sysctl vm.max_map_count
sysctl fs.file-max
ulimit -n
ulimit -u

You can set them dynamically for the current session by running the following commands as root:

sysctl -w vm.max_map_count=524288
sysctl -w fs.file-max=131072
ulimit -n 131072
ulimit -u 8192

下载地址

SonarQube Data Center Edition 10.0.068432 for macOS, Linux, Windows

百度网盘链接: https://pan.baidu.com/s/1xcnDA7RD6FlVTdOs81Ukyg?pwd=uqqe

http://www.lryc.cn/news/56065.html

相关文章:

  • 怎么统一把文件名不需要部分批量替换掉
  • Vue3电商项目实战-结算支付 3【05-结算-收货地址-添加、06-结算-收货地址-修改、07-结算-提交订单】
  • 开心档之开发入门网-C++ 变量作用域
  • 蓝易云:linux怎么关闭防火墙详细教程
  • 操作系统-用户进程
  • 小驰私房菜_07_camx EIS使能
  • 互联网快速发展,孕育着新技术、新模式的全新时代正在到来
  • 【VUE】1、安装node.js
  • 一文弄懂window.print()打印
  • 卷麻了,00后测试用例写的比我还好,简直无地自容.....
  • mysql性能优化之explain分析执行计划
  • IDEA修改关键字和注释颜色
  • 数据库总结/个人总结
  • 【Maven】开发自己的starter依赖
  • JVM与Java体系
  • 【C++笔试强训】第十二天
  • C# | 使用DataGridView展示JSON数组
  • Python入门到高级【第四章】
  • 【ChatGPT】ChatGPT 能否取代程序员?
  • 英飞凌Tricore问题排查01_Det/Reset/Trap排查宝典
  • 第六章 共享模型之 无锁
  • 2023Q2押题,华为OD机试用Python实现 -【机智的外卖员】
  • 【华为OD机试真题】密室逃生游戏(javapython)
  • [golang gin框架] 17.Gin 商城项目-商品分类模块, 商品类型模块,商品类型属性模块功能操作
  • Redis安装-使用包管理安装Redis
  • HTML属性的概念和使用
  • ChatGPT基础知识系列之一文说透ChatGPT
  • ‘go install‘ requires a version when current directory is not in a module
  • 蓝桥杯嵌入式第十三届(第二套客观题)
  • FFmpeg进阶:各种输入输出设备