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

更新 .gitlab-ci.yml

上级 c01b50be
流水线 #154144 已通过 于阶段
用时 34 秒
......@@ -36,6 +36,7 @@ teacher-check1:
- make
- count=$(find . -name "input*.txt" | wc -l)
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- cd template && git checkout -b fork_position ${CI_PROJECT_FORKPOS} && cd ..
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/.vscode/test.py .vscode/test.py -b -B -y -i --suppress-common-lines
- for i in $(seq 1 1 $count);
......
  • 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/f9e368dedc65a758529e00e0c0573b8aaf0d8893/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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论