Skip to content

  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 当前项目
    • 正在载入...
  • 登录 / 注册
L
Lab01
  • 项目
    • 项目
    • 详情
    • 活动
    • 周期分析
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
    • 统计图
  • 问题 0
    • 问题 0
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
    • 合并请求 0
  • CI / CD
    • CI / CD
    • 流水线
    • 作业
    • 日程
    • 统计图
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 成员
    • 成员
  • 折叠边栏
  • 活动
  • 图像
  • 聊天
  • 创建新问题
  • 作业
  • 提交
  • 问题看板
  • 银宸时代
    • CP Lab Group
  • 实验项目模板
  • Lab01
  • Merge Requests
  • !1

Closed
在 12月 16, 2019 由 庞天聪@1807363429@1807363429 1
  • 违规举报
举报违规

Revert 4cc3c94b

检出,在本地审查和合并

Step 1. 获取并检出此合并请求的分支

git fetch https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189.git revert-4cc3c94b
git checkout -b hrbeu-cs/2019/1807363429/mission4189-revert-4cc3c94b FETCH_HEAD

Step 2. 本地审查变更

Step 3. 合并分支并修复出现的任何冲突

git checkout master
git merge --no-ff hrbeu-cs/2019/1807363429/mission4189-revert-4cc3c94b

Step 4. 推送合并的结果到 CodeCode

git push origin master

请注意推送到 CodeCode 需要有此版本库的写权限。

提示: 您可以 参考这个说明 将合并请求检出到本地。

  • 讨论 2
  • 提交 3
  • 变更 1
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • 小助同学
    @xiaozhu 开始一个讨论 于 提交 36358cf1 12月 16, 2019
    • 小助同学 @xiaozhu commented · 12月 16, 2019
      Developer

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

      • ⛔ 0 blocker
      • 🚫 0 critical
      • ⚠ 1 major
      • 🔽 5 minor
      • ℹ 13 info

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

      1. ⚠ syntax error 📘
      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-18904) 📘
      3. 🔽 The function 'InitNFAFragmentStack' is never used. 📘
      4. 🔽 The function 'PushNFAFragment' is never used. 📘
      5. 🔽 The function 'PopNFAFragment' is never used. 📘
      6. 🔽 The function 're2post' is never used. 📘
      7. ℹ keyword 'for' not followed by a single space 📘
      8. ℹ keyword 'switch' not followed by a single space 📘
      9. ℹ keyword 'case' not followed by a single space 📘
      10. ℹ keyword 'case' not followed by a single space 📘
      11. ℹ line is longer than 100 characters 📘
      12. ℹ line is longer than 100 characters 📘
      13. ℹ comma should be followed by whitespace 📘
      14. ℹ comma should be followed by whitespace 📘
      15. ℹ keyword 'case' not followed by a single space 📘
      16. ℹ keyword 'case' not followed by a single space 📘
      17. ℹ closing curly bracket not in the same line or column 📘
      18. ℹ closing curly bracket not in the same line or column 📘
      19. ℹ closing curly bracket not in the same line or column 📘
      编辑时间 12月 16, 2019
      代码质量分析发现了 19 个问题。 * :no_entry: 0 blocker * :no_entry_sign: 0 critical * :warning: 1 major * :arrow_down_small: 5 minor * :information_source: 13 info 注意: 存在下列问题的代码行在本次提交中没有发生变更,无法使用代码行评论的方式进行报告。所以将下列问题汇总显示在这里(点击问题链接可以转到对应的源代码行): 1. :warning: [syntax error](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L149) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AsyntaxError) 1. :arrow_down_small: 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-18904) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AmissingIncludeSystem) 1. :arrow_down_small: [The function 'InitNFAFragmentStack' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/NFAFragmentStack.c#L11) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :arrow_down_small: [The function 'PushNFAFragment' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/NFAFragmentStack.c#L27) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :arrow_down_small: [The function 'PopNFAFragment' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/NFAFragmentStack.c#L54) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :arrow_down_small: [The function 're2post' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/RegexpToPost.c#L14) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :information_source: [keyword 'for' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L104) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT008) 1. :information_source: [keyword 'switch' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L105) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT008) 1. :information_source: [keyword 'case' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L130) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT003) 1. :information_source: [keyword 'case' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L156) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT003) 1. :information_source: [line is longer than 100 characters](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L159) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AL004) 1. :information_source: [line is longer than 100 characters](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L164) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AL004) 1. :information_source: [comma should be followed by whitespace](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L170) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT009) 1. :information_source: [comma should be followed by whitespace](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L171) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT009) 1. :information_source: [keyword 'case' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L173) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT003) 1. :information_source: [keyword 'case' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L193) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT003) 1. :information_source: [closing curly bracket not in the same line or column](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L210) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT011) 1. :information_source: [closing curly bracket not in the same line or column](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L211) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT011) 1. :information_source: [closing curly bracket not in the same line or column](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/36358cf109cee0da3c87d166a8cd3345f4199aa9/main.c#L214) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT011)
    Please register or sign in to reply
  • 小助同学
    @xiaozhu 开始一个讨论 于 提交 4cc3c94b 12月 16, 2019
    由 庞天聪 于 12月 16, 2019 最近更新
    • 小助同学 @xiaozhu commented · 12月 16, 2019
      Developer

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

      • ⛔ 0 blocker
      • 🚫 0 critical
      • ⚠ 1 major
      • 🔽 5 minor
      • ℹ 8 info

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

      1. ⚠ syntax error 📘
      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-18904) 📘
      3. 🔽 The function 'InitNFAFragmentStack' is never used. 📘
      4. 🔽 The function 'PushNFAFragment' is never used. 📘
      5. 🔽 The function 'PopNFAFragment' is never used. 📘
      6. 🔽 The function 're2post' is never used. 📘
      7. ℹ keyword 'for' not followed by a single space 📘
      8. ℹ keyword 'switch' not followed by a single space 📘
      9. ℹ line is longer than 100 characters 📘
      10. ℹ line is longer than 100 characters 📘
      11. ℹ comma should be followed by whitespace 📘
      12. ℹ comma should be followed by whitespace 📘
      13. ℹ keyword 'case' not followed by a single space 📘
      14. ℹ keyword 'case' not followed by a single space 📘
      编辑时间 12月 16, 2019
      代码质量分析发现了 14 个问题。 * :no_entry: 0 blocker * :no_entry_sign: 0 critical * :warning: 1 major * :arrow_down_small: 5 minor * :information_source: 8 info 注意: 存在下列问题的代码行在本次提交中没有发生变更,无法使用代码行评论的方式进行报告。所以将下列问题汇总显示在这里(点击问题链接可以转到对应的源代码行): 1. :warning: [syntax error](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L160) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AsyntaxError) 1. :arrow_down_small: 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-18904) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AmissingIncludeSystem) 1. :arrow_down_small: [The function 'InitNFAFragmentStack' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/NFAFragmentStack.c#L11) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :arrow_down_small: [The function 'PushNFAFragment' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/NFAFragmentStack.c#L27) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :arrow_down_small: [The function 'PopNFAFragment' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/NFAFragmentStack.c#L54) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :arrow_down_small: [The function 're2post' is never used.](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/RegexpToPost.c#L14) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=cppcheck-c%3AunusedFunction) 1. :information_source: [keyword 'for' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L113) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT008) 1. :information_source: [keyword 'switch' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L115) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT008) 1. :information_source: [line is longer than 100 characters](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L144) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AL004) 1. :information_source: [line is longer than 100 characters](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L149) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AL004) 1. :information_source: [comma should be followed by whitespace](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L155) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT009) 1. :information_source: [comma should be followed by whitespace](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L156) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT009) 1. :information_source: [keyword 'case' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L158) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT003) 1. :information_source: [keyword 'case' not followed by a single space](https://www.codecode.net/hrbeu-cs/2019/1807363429/mission4189/blob/4cc3c94b7845d7aa3582fcf66dc7cbc09ff707d7/main.c#L178) [:blue_book:](http://39.104.162.212:9000/coding_rules#rule_key=vera%2B%2B-c%3AT003)
    Please register or sign in to reply
  • 庞天聪 @1807363429

    closed

    · 12月 16, 2019

    closed

    closed
    切换提交列表
  • 编写
  • 预览
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 登录 后发表评论
指派人
未指派
分配到
无
里程碑
无
分配里程碑
工时统计
0
标记
无
指派标记
  • 查看项目标记
引用: engintime/cp-lab/Project-Template/Lab01!1