lab 4 #3170
Annotations
10 errors, 3 warnings, and 10 notices
Lab2CPP/lab2.cpp:4:10 [clang-diagnostic-error]:
Lab2CPP/lab2.cpp#L4
'stack.h' file not found
|
Lab3CPP/lab3.cpp:5:10 [clang-diagnostic-error]:
Lab3CPP/lab3.cpp#L5
'queue.h' file not found
|
Lab4CPP/lab4.cpp:4:10 [clang-diagnostic-error]:
Lab4CPP/lab4.cpp#L4
'graph.h' file not found
|
LibraryCPP/Tests/array.cpp:2:10 [clang-diagnostic-error]:
LibraryCPP/Tests/array.cpp#L2
'array.h' file not found
|
LibraryCPP/Tests/list.cpp:2:10 [clang-diagnostic-error]:
LibraryCPP/Tests/list.cpp#L2
'list.h' file not found
|
LibraryCPP/Tests/queue.cpp:2:10 [clang-diagnostic-error]:
LibraryCPP/Tests/queue.cpp#L2
'queue.h' file not found
|
LibraryCPP/Tests/vector.cpp:2:10 [clang-diagnostic-error]:
LibraryCPP/Tests/vector.cpp#L2
'vector.h' file not found
|
LibraryCPP/list.h:12:1 [clang-diagnostic-error]:
LibraryCPP/list.h#L12
must use 'struct' tag to refer to type 'List'
|
LibraryCPP/list.h:15:18 [clang-diagnostic-error]:
LibraryCPP/list.h#L15
must use 'struct' tag to refer to type 'List'
|
LibraryCPP/list.h:18:1 [clang-diagnostic-error]:
LibraryCPP/list.h#L18
must use 'struct' tag to refer to type 'ListItem'
|
Lab2CPP/lab2.cpp:43:37 [bugprone-branch-clone]:
Lab2CPP/lab2.cpp#L43
repeated branch in conditional chain
|
LibraryCPPTemplate/vector.h:4:7 [cppcoreguidelines-avoid-non-const-global-variables]:
LibraryCPPTemplate/vector.h#L4
variable 'namespace' is non-const and globally accessible, consider making it const
|
cpp-linter
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run clang-format on Lab2CPP/lab2.cpp:
Lab2CPP/lab2.cpp#L1
File Lab2CPP/lab2.cpp does not conform to Custom style guidelines. (lines 1, 8, 9, 10, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 27, 28, 29, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 53, 54, 57, 58, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 75, 76, 79, 80, 82, 83, 84, 85, 86, 88, 90, 91, 94, 95, 98, 99, 101, 102, 105, 106, 107, 108, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124)
|
Run clang-format on Lab3CPP/lab3.cpp:
Lab3CPP/lab3.cpp#L1
File Lab3CPP/lab3.cpp does not conform to Custom style guidelines. (lines 1, 8, 11, 12, 13, 14, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 43, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 88, 89, 90, 91, 92, 94, 95, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 111, 112, 113, 114, 117, 118, 119, 120, 121, 122, 123, 124, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 140, 141, 142, 143, 144, 147)
|
Run clang-format on Lab4CPP/lab4.cpp:
Lab4CPP/lab4.cpp#L1
File Lab4CPP/lab4.cpp does not conform to Custom style guidelines. (lines 1, 7, 12, 13, 14, 15, 16, 18, 19, 21, 22, 24, 25, 26, 27, 28, 29, 31, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 49, 50, 52, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 67, 69, 70, 71, 72, 73, 75, 77, 79, 81, 82, 83, 84, 85, 86)
|
Run clang-format on LibraryCPP/Tests/array.cpp:
LibraryCPP/Tests/array.cpp#L1
File LibraryCPP/Tests/array.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26)
|
Run clang-format on LibraryCPP/Tests/list.cpp:
LibraryCPP/Tests/list.cpp#L1
File LibraryCPP/Tests/list.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22, 24, 26, 27, 28, 29, 30, 32, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 49)
|
Run clang-format on LibraryCPP/Tests/queue.cpp:
LibraryCPP/Tests/queue.cpp#L1
File LibraryCPP/Tests/queue.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 8, 9, 10, 12, 13, 14, 15, 16, 18, 19, 21, 22, 23, 24, 25, 27, 28, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48)
|
Run clang-format on LibraryCPP/Tests/vector.cpp:
LibraryCPP/Tests/vector.cpp#L1
File LibraryCPP/Tests/vector.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 67, 68, 69, 71)
|
Run clang-format on LibraryCPP/array.cpp:
LibraryCPP/array.cpp#L1
File LibraryCPP/array.cpp does not conform to Custom style guidelines. (lines 4, 5, 6, 7, 11, 12, 13, 14, 15, 17, 18, 19, 20, 25, 26, 27, 28, 29, 30, 35, 36, 37, 38, 39, 40, 45, 46, 47, 48, 49, 50, 54, 55, 56)
|
Run clang-format on LibraryCPP/list.cpp:
LibraryCPP/list.cpp#L1
File LibraryCPP/list.cpp does not conform to Custom style guidelines. (lines 5, 6, 7, 8, 11, 12, 15, 16, 17, 21, 22, 23, 24, 27, 28, 29, 33, 34, 37, 38, 39, 40, 42, 45, 46, 47, 48, 50, 53, 54, 55, 58, 59, 62, 63, 64, 65, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 94, 95, 96, 98, 99, 103, 104, 105, 106, 107, 108, 109, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 132, 133, 135, 137, 139, 141, 142, 143, 145, 149, 150, 151, 152, 154, 155, 156, 158)
|
Run clang-format on LibraryCPP/list.h:
LibraryCPP/list.h#L1
File LibraryCPP/list.h does not conform to Custom style guidelines. (lines 12, 15, 18, 21, 24, 28, 31, 34, 38, 43, 45, 47, 49)
|