zoukankan      html  css  js  c++  java
  • linux平台 静态代码检测

    FlexeLint

    支持windows,linux
    http://www.gimpel.com/html/flex.htm

    pclint

    只支持 windows

    http://www.gimpel.com/html/pcl.htm

    splint

    只支持c代码的文件
    http://www.splint.org/
    cppcheck

    支持c++

    Cppcheck是一种C/C++代码缺陷静态检查工具。不同于C/C++编译器及其它分析工具,Cppcheck只检查编译器检查不出来的bug,不检查语法错误。

    logiscope rulecheck

    http://blog.csdn.net/jxxy012/article/details/502548

    gcc

    -w Inhibit all warning messages.


    -Wall
    All of the above -W options combined. This enables all the warnings
    about constructions that some users consider questionable, and that
    are easy to avoid (or modify to prevent the warning), even in con-
    junction with macros. This also enables some language-specific warn-
    ings described in C++ Dialect Options and Objective-C and
    Objective-C++ Dialect Options.


    把“几乎”所有warning都显示出来。
    ————————————————
    版权声明:本文为CSDN博主「RunBoying」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/RunBoying/article/details/7018282

    有时候,不小心知道了一些事,才发现自己所在乎的事是那么可笑。
  • 相关阅读:
    linux---shell数组
    linux---shell传递参数
    Windows mysql免安装版配置。(版本号-5.6.45);
    contos 6.9 和 centos7 配置docker?
    数据库表的演化过程
    docker简单介绍。
    Linux 配置 mycat 和 分库分表配置。
    Linux 配置mysql 免安装版。
    mycat 简单介绍
    kibana 对es的简单操作。
  • 原文地址:https://www.cnblogs.com/axjlxy/p/15384590.html
Copyright © 2011-2022 走看看