Compare commits
No commits in common. "e00e6bd27536b1e6a860ba534848e87cea304a0c" and "10d9e91c626234bc770484d72edc7ff469ec293b" have entirely different histories.
e00e6bd275
...
10d9e91c62
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
joj3_result.json
|
|
74
conf.json
74
conf.json
|
@ -1,74 +0,0 @@
|
||||||
{
|
|
||||||
"stages": [
|
|
||||||
{
|
|
||||||
"name": "cppcheck",
|
|
||||||
"executor": {
|
|
||||||
"name": "sandbox",
|
|
||||||
"with": {
|
|
||||||
"default": {
|
|
||||||
"args": [
|
|
||||||
"bash",
|
|
||||||
"-c",
|
|
||||||
"cppcheck --suppress=checkersReport --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --quiet src/*.cpp"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 10000000000,
|
|
||||||
"memoryLimit": 419430400,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyInDir": ".",
|
|
||||||
"copyOut": [
|
|
||||||
"stdout"
|
|
||||||
],
|
|
||||||
"stdin": {
|
|
||||||
"content": ""
|
|
||||||
},
|
|
||||||
"stdout": {
|
|
||||||
"name": "stdout",
|
|
||||||
"max": 65536
|
|
||||||
},
|
|
||||||
"stderr": {
|
|
||||||
"name": "stderr",
|
|
||||||
"max": 65536
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parser": {
|
|
||||||
"name": "cppcheck",
|
|
||||||
"with": {
|
|
||||||
"score": 100,
|
|
||||||
"matches": [
|
|
||||||
{
|
|
||||||
"severity": [
|
|
||||||
"error"
|
|
||||||
],
|
|
||||||
"score": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"severity": [
|
|
||||||
"warning"
|
|
||||||
],
|
|
||||||
"score": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"severity": [
|
|
||||||
"portability",
|
|
||||||
"performance",
|
|
||||||
"style"
|
|
||||||
],
|
|
||||||
"score": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"severity": [
|
|
||||||
"debug"
|
|
||||||
],
|
|
||||||
"score": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
35
conf.toml
Normal file
35
conf.toml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
skipGitea = true
|
||||||
|
[[stages]]
|
||||||
|
name = "clangtidy"
|
||||||
|
[stages.executor]
|
||||||
|
name = "sandbox"
|
||||||
|
[stages.executor.with.default]
|
||||||
|
args = ["cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"},' --force --enable=all --quiet src/*.cpp"]
|
||||||
|
env = ["PATH=/usr/bin:/bin:/usr/local/bin"]
|
||||||
|
cpuLimit = 10_000_000_000
|
||||||
|
memoryLimit = 419_430_400
|
||||||
|
procLimit = 50
|
||||||
|
copyInCwd = true
|
||||||
|
copyOut = ["stdout"]
|
||||||
|
[stages.executor.with.default.stdin]
|
||||||
|
content = ""
|
||||||
|
[stages.executor.with.default.stdout]
|
||||||
|
name = "stdout"
|
||||||
|
max = 65_536
|
||||||
|
[stages.executor.with.default.stderr]
|
||||||
|
name = "stderr"
|
||||||
|
max = 65_536
|
||||||
|
[stages.parser]
|
||||||
|
name = "cppcheck"
|
||||||
|
[stages.parser.with]
|
||||||
|
score = 100
|
||||||
|
rootdir = "/w"
|
||||||
|
[[stages.parser.with.matches]]
|
||||||
|
keyword = ["cppcoreguidelines-avoid-non-const-global-variables"]
|
||||||
|
score = 5
|
||||||
|
[[stages.parser.with.matches]]
|
||||||
|
keyword = ["readability-identifier-length","misc-use-anonymous-namespace"]
|
||||||
|
score = 2
|
||||||
|
[[stages.parser.with.matches]]
|
||||||
|
keyword = ["llvmlibc-implementation-in-namespace"]
|
||||||
|
score = 1
|
|
@ -1 +1 @@
|
||||||
[{"name":"cppcheck","results":[{"score":95,"comment":"### Test results summary\n\n1. error: 1\n2. warning: 0\n3. portability: 0\n4. performance: 0\n5. style: 0\n6. information: 0\n7. debug: 0\n"}],"force_quit":false}]
|
[{"name":"clangtidy","results":[{"score":-185,"comment":"### Test results summary\n\n1. codequality-unchecked-malloc-result: 0\n2. codequality-no-global-variables: 0\n3. codequality-no-header-guard: 0\n4. codequality-no-fflush-stdin: 0\n5. readability-function-size: 0\n6. readability-duplicate-include: 0\n7. readability-identifier-naming: 0\n8. readability-redundant: 0\n9. readability-misleading-indentation: 0\n10. readability-misplaced-array-index: 0\n11. cppcoreguidelines-init-variables: 0\n12. bugprone-suspicious-string-compare: 0\n13. google-global-names-in-headers: 0\n14. clang-diagnostic: 1\n15. clang-analyzer: 0\n16. misc: 9\n17. performance: 5\n18. others: 185\n"}]}]
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
// #include <vector>
|
#include <vector>
|
||||||
|
|
||||||
// #include <gtest/test.h>
|
#include <gtest/test.h>
|
||||||
|
|
||||||
// #include <something.hh>
|
#include <something.hh>
|
||||||
class Date {
|
class Date {
|
||||||
// ...
|
// ...
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user