gnu 复杂性:命令行参数和构建

问题描述


我在使用 gnu 复杂度 1.10(在 ubuntu 20.10 和 21.04 中打包的版本)有一些问题

  • 如果没有核心转储,我无法使用 {GL_BACK_LEFT,GL_BACK_RIGHT} 参数。我尝试了一个非常简单的 main.c 文件,只包含 GL_BACK:
--ignore
  • 我无法使用 main() 参数:
$ complexity -t 0 ./main.c 
Complexity scores
score | ln-ct | nc-lns| file-name(line): proc-name
    1      15      10   ./main.c(12): main
total nc-lns       10
$ complexity -t 0 --ignore=main ./main.c 
Segmentation fault (core dumped)
  • 我无法从源代码编译复杂性(以测试较新版本)。我找不到说明。我试过没有成功

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)