一些代码检查工具


CPPcheck

http://cppcheck.sourceforge.net/

Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools it does not detect syntax errors in the code. Cppcheck primarily detects the types of bugs that the compilers normally do not detect. The goal is to detect only real errors in the code (i.e. have zero false positives).


Klcocwork

Klocwork is a static code analysis tool used to identify security, safety and reliability issues in CC++Java and C# code. The product includes numerous desktop plug-ins for developers, metrics and reporting.


Valgrind 

GNU free.

Valgrind /ˈvælɡrɪnd/ is a programming tool for memory debuggingmemory leak detection, and profiling.

Valgrind was originally designed to be a free memory debugging tool for Linux on x86, but has since evolved to become a generic framework for creating dynamic analysis tools such as checkers and profilers.


Bullseye

BullseyeCoverage is a C++ code coverage analyzer used to improve the quality of software in vital systems such as enterprise applications, industrial control, medical, automotive, communications, aerospace and defense.


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Sonar是一款流行的代码检查工具,旨在帮助开发人员提高代码质量和可维护性。它能够通过静态分析代码,发现潜在的缺陷、漏洞和不良实践。 Sonar具有以下核心功能: 1. 代码质量评估:Sonar可以评估代码的质量,包括复杂性、重复代码、安全漏洞等。它通过规则引擎检查代码,然后生成详尽的问题报告,开发人员可以根据报告修复问题。 2. 技术债务管理:Sonar可以帮助团队管理技术债务。技术债务是指在项目中出现的需要修复的问题。Sonar能够识别技术债务,并为其设置优先级,使开发人员知道哪些问题最需要解决。 3. 持续集成:Sonar支持与持续集成工具的集成,例如Jenkins。当开发人员提交代码时,Sonar可以自动执行代码分析,并在构建过程中提供有关代码质量的反馈。 4. 存档和趋势:Sonar可以记录和存档每次代码分析的结果,并生成趋势报告。这可以帮助开发人员了解代码质量的改进和退步,并追踪项目在时间轴上的变化。 5. 编码规则:Sonar内置了许多常见的编码规范和最佳实践,开发人员可以根据自己的需求自定义规则。这有助于团队在整个项目中保持一致的编码风格和标准。 Sonar是一个功能强大且灵活的工具,它可以帮助开发团队确保代码质量,并提供及时的反馈。通过使用Sonar,开发人员能够更快地发现和解决潜在的问题,提高代码的可维护性和可靠性。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值