modify
正在显示
-
Developer
代码质量分析发现了 11 个问题。
-
⛔ 0 blocker -
🚫 0 critical -
⚠ 2 major -
🔽 6 minor -
ℹ 3 info
注意: 存在下列问题的代码行在本次提交中没有发生变更,无法使用代码行评论的方式进行报告。所以将下列问题汇总显示在这里(点击问题链接可以转到对应的源代码行):
-
⚠ [8 bytes in 1 blocks are definitely lost in loss record 1 of 1
0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) 0x40070A: main (main.c:10)](https://www.codecode.net/engintime-cs/teacher-group/shx/Test/casegroup/template/readargv-dat-writefile-dat/blob/4b852310b701353f676f16946c5b8d00ab612359/main.c#L10)
📘 -
⚠ Memory leak: p📘 -
🔽 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-176964)📘 -
🔽 Variable 'b' is assigned a value that is never used.📘 -
🔽 Variable 'p' is allocated memory that is never used.📘 -
🔽 Either the condition 'fp2!=0' is redundant or there is possible null pointer dereference: fp2.📘 -
🔽 Unused variable: buf📘 -
🔽 Either the condition 'fp!=0' is redundant or there is possible null pointer dereference: fp.📘 -
ℹ keyword 'if' not followed by a single space📘 -
ℹ closing curly bracket not in the same line or column📘 -
ℹ closing curly bracket not in the same line or column📘
-
请
注册
或者
登录
后发表评论