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

    有时候,不小心知道了一些事,才发现自己所在乎的事是那么可笑。
  • 相关阅读:
    RESTful规范
    Django REST framework 基本组件
    Django出错Xadmin后台报list index out of range
    Vue Cli
    nodejs的安装与npm的介绍
    Axios
    shell脚本中set -e作用
    Linux进程批量管理工具
    Docker-compose容易忽略的使用细节
    Docker部署WordPress网站
  • 原文地址:https://www.cnblogs.com/axjlxy/p/15384590.html
Copyright © 2011-2022 走看看