设为首页 收藏本站
查看: 1545|回复: 0

[软件发布] SonarQube C/C++/Objective-C 4.2 发布

[复制链接]

尚未签到

发表于 2016-10-29 07:54:20 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886   DSC0000.jpg
                  SonarQube C/C++/Objective-C 4.2 发布了,这是一个C/C++/Objective-C的插件,用于检查代码质量。
  这个版本提供了以下的新规则:


  •   “nonnull” pointers should not be set to null (C, Bug)
  •   “switch” statements should cover all cases (C++, C, Objective-C, Code Smell, suspicious)
  •   File names should comply with a naming convention (C++, C, Objective-C, Code Smell, cert, convention)
  •   GNU extensions should not be used (C++, C, Objective-C, Code Smell, lock-in, obsolete)
  •   Overriding virtual functions should be declared with “virtual” (C++, Code Smell, misra)
  •   Reference types should not be qualified with “const” or “volatile” (C++, Code Smell, cert, lock-in, unused)
  •   Unused function parameters should be removed (C++, Code Smell, cert, misra, unused)
  •   Virtual functions should not have default arguments (C++, Code Smell, api-design, cert, pitfall)
  更新内容:
  Bug

  •   [CPP-1435] - "nullptr" can be used as identifier in Microsoft Visual Studio <= 9.0
  •   [CPP-1436] - "_Complex" can be used as identifier in Microsoft Visual Studio
  •   [CPP-1503] - "inline" can be used as identifier in C with Microsoft Visual Studio <= 12.0
  •   [CPP-1540] - Fix ClassCastException in DynamicMemoryAllocationCheck
  •   [CPP-1569] - CFG: should properly handle expression compound statement
  •   [CPP-1596] - Grammar: should be possible to use more keywords as selectors in Objective-C
  •   [CPP-1600] - Preprocessor: fix handling of escape sequences in character literals
  •   [CPP-1601] - Grammar: add GNU old-style field designator extension
  •   [CPP-1610] - Rule: IdentifierLongerThan31 (S799) should raise issues only for declared identifiers
  •   [CPP-1616] - Fix broken link in description of S3576
  •   [CPP-1617] - Sema Objective-C: fix IllegalStateException
  •   [CPP-1626] - "_Bool" is not a keyword in C++
  •   [CPP-1631] - build-wrapper unix: should save and restore path only to its own library
  •   [CPP-1635] - build-wrapper unix: fix monitoring in case of use of empty string as value for DYLD_INSERT_LIBRARIES environment variable
  改进

  •   [CPP-1298] - build-wrapper OS X: add support for "restricted" binaries (introduced in El Capitan as part of SIP)
  •   [CPP-1304] - build-wrapper unix: child processes should not see our library in LD_PRELOAD or DYLD_INSERT_LIBRARIES environment variables
  •   [CPP-1520] - Sema: add attribute "nonnull" information to symbols
  •   [CPP-1531] - Improve SingleDeclarationPerStatement (S1004) issue location
  •   [CPP-1568] - Fix false-positives in UnusedExpressionStatementCheck (S905)
  •   [CPP-1578] - Update S1749: "const" should be placed before type name but after "typedef"
  •   [CPP-1581] - Fix false-positives in TrailingCommentCheck (S139)
  •   [CPP-1615] - Fix false-negatives in S3698 and S1181
  •   [CPP-1619] - Add warning in case of usage of property "sonar.cfamily.predefinedMacros" or "sonar.cfamily.library.directories" together with "sonar.cfamily.build-wrapper-output"
  •   [CPP-1624] - Fix false-negatives in S1749
  •   [CPP-1625] - Rule type should be set explicitly
  •   [CPP-1628] - Fix false-positives in S1764
  •   [CPP-1632] - Fix false-positives in S1764: exclude "1 << 1"
  •   [CPP-1634] - SE: functions with "_Noreturn" specifier should stop execution
  •   [CPP-1636] - Support Clang precompiled header files produced with "-fmodule-format=obj"
  新特性

  •   [CPP-850] - Add mechanism for creation of reproducer of failure of analysis
  •   [CPP-934] - Semantic Analysis: add a mechanism to calculate value of constant expression
  •   [CPP-999] - C, C++ Rule: Unused function parameters should be removed
  •   [CPP-1302] - C++ Rule: Overriding virtual functions should be declared with "virtual"
  •   [CPP-1432] - Rule: "switch" statements should cover all cases
  •   [CPP-1521] - C rule: "nonnull" pointers should not be set to null
  •   [CPP-1534] - C++ Rule: Virtual functions should not have default arguments
  •   [CPP-1586] - Rule: GNU extensions should not be used
  •   [CPP-1605] - Import of coverage reports produced by llvm-cov
  •   [CPP-1618] - C++ Rule: Reference types should not be qualified with "const" or "volatile"
  •   [CPP-1622] - Rule: File names should comply with a naming convention
  你可以通过升级中心进行升级

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-292654-1-1.html 上篇帖子: Percona Server 5.5.52 下篇帖子: Drupal 8.2.0 发布,CMS 内容管理系统
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表