提交 ad602ec6 创建 作者: 宋海霞's avatar 宋海霞

更新 settings.json

上级 f9e368de
流水线 #154146 已通过 于阶段
用时 35 秒
......@@ -4,8 +4,5 @@
"**/sonar*": true,
"**/valgrind-report.out": true,
"**/requirements.txt": true,
},
"files.associations": {
"stdio.h": "c"
}
}
\ No newline at end of file
  • Developer

    代码质量分析发现了 4 个问题。

    • 0 blocker
    • 🚫 0 critical
    • 2 major
    • 🔽 2 minor
    • 0 info

    注意: 存在下列问题的代码行在本次提交中没有发生变更,无法使用代码行评论的方式进行报告。所以将下列问题汇总显示在这里(点击问题链接可以转到对应的源代码行):

    1. [4 bytes in 1 blocks are definitely lost in loss record 1 of 2

    0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) 0x400A05: main (main.cpp:8)](https://www.codecode.net/engintime-cs/teacher-group/shx/Test/test-vscode-cpp-win/blob/ad602ec666b822cddfbd57d38943323b1edba17c/main.cpp#L8) 📘

    1. Memory leak: z 📘
    2. 🔽 Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config. (ProjectKey-169407) 📘
    3. 🔽 Variable 'z' is allocated memory that is never used. 📘
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论