我刚刚在预览模式下运行了一个声纳扫描仪,我找不到执行生成的任何文件。运行的输出同样没用。
....
INFO: 3645 compilation units analyzed, current is file.cpp
INFO: 3650 compilation units analyzed, current is file.cpp
INFO: 3653 compilation units analyzed, current is file.cpp
INFO: 3657 compilation units analyzed, current is file.cpp
INFO: 3659 compilation units analyzed, current is file.cpp
INFO: 3662 compilation units analyzed, current is file.cpp
INFO: 3664 compilation units analyzed, current is file.cpp
INFO: 3665 compilation units analyzed, current is file.cpp
INFO: 3666 compilation units analyzed
INFO: PPH: 6803 files, 71566094 bytes, 2359139 hits, 2365942 queries
INFO: Sensor CPP (done) | time=10649441ms
INFO: Performing issue tracking
INFO: 8778/8778 components tracked
INFO: ANALYSIS SUCCESSFUL
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 2:57:37.875s
INFO: Final Memory: 91M/6230M
INFO: ------------------------------------------------------------------------
答案 0 :(得分:0)
它实际上并不是非常有用。它用于技术用途。相反,您应该调查SonarLint,它提供IDE集成和用于预提交分析的命令行版本。
通过组合SonarC++ 4.4.0和SonarLint for Eclipse CDT,您还可以获得C / C ++支持。