lab2 #1608
Annotations
5 errors, 5 warnings, and 9 notices
Lab2CPPClass/lab2.cpp:4:10 [clang-diagnostic-error]:
Lab2CPPClass/lab2.cpp#L4
'stack.h' file not found
|
LibraryCPPClass/Tests/array.cpp:2:10 [clang-diagnostic-error]:
LibraryCPPClass/Tests/array.cpp#L2
'array.h' file not found
|
LibraryCPPClass/array.h:4:10 [clang-diagnostic-error]:
LibraryCPPClass/array.h#L4
'cstddef' file not found
|
LibraryCPPClass/list.h:4:10 [clang-diagnostic-error]:
LibraryCPPClass/list.h#L4
'cstddef' file not found
|
LibraryCPPClass/stack.h:4:10 [clang-diagnostic-error]:
LibraryCPPClass/stack.h#L4
'cstddef' file not found
|
Lab2CPPClass/lab2.cpp:58:32 [bugprone-branch-clone]:
Lab2CPPClass/lab2.cpp#L58
repeated branch in conditional chain
|
LibraryCPPClass/array.h:8:7 [cppcoreguidelines-avoid-non-const-global-variables]:
LibraryCPPClass/array.h#L8
variable 'Array' is non-const and globally accessible, consider making it const
|
LibraryCPPClass/list.h:8:7 [cppcoreguidelines-avoid-non-const-global-variables]:
LibraryCPPClass/list.h#L8
variable 'List' is non-const and globally accessible, consider making it const
|
LibraryCPPClass/stack.h:9:7 [cppcoreguidelines-avoid-non-const-global-variables]:
LibraryCPPClass/stack.h#L9
variable 'Stack' 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 Lab2CPPClass/lab2.cpp:
Lab2CPPClass/lab2.cpp#L1
File Lab2CPPClass/lab2.cpp does not conform to Custom style guidelines. (lines 1, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 88, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 102, 103, 105, 106, 107, 108, 109, 110, 112, 113)
|
Run clang-format on Lab2CPPClass/test.cpp:
Lab2CPPClass/test.cpp#L1
File Lab2CPPClass/test.cpp does not conform to Custom style guidelines. (lines 1, 5, 6, 7, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20, 22, 24, 25)
|
Run clang-format on LibraryCPPClass/Tests/array.cpp:
LibraryCPPClass/Tests/array.cpp#L1
File LibraryCPPClass/Tests/array.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27)
|
Run clang-format on LibraryCPPClass/array.cpp:
LibraryCPPClass/array.cpp#L1
File LibraryCPPClass/array.cpp does not conform to Custom style guidelines. (lines 3, 4, 7, 8, 11, 12, 13, 16, 17, 20, 21, 22, 25, 26, 29, 30, 31)
|
Run clang-format on LibraryCPPClass/array.h:
LibraryCPPClass/array.h#L1
File LibraryCPPClass/array.h does not conform to Custom style guidelines. (lines 8, 10, 11, 12, 14, 15, 17, 18, 20, 21, 23, 24, 26, 27, 29, 32)
|
Run clang-format on LibraryCPPClass/list.cpp:
LibraryCPPClass/list.cpp#L1
File LibraryCPPClass/list.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 8, 9, 12, 13, 16, 17, 18, 22, 23, 25, 26, 28, 29, 30, 34, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 48, 49, 52, 53, 54, 58, 59, 60, 61, 66, 67, 71, 72, 73, 74, 75, 76, 77, 82, 83, 84, 85, 86, 92, 93, 94, 95, 96, 103, 104, 105, 106, 107, 109)
|
Run clang-format on LibraryCPPClass/list.h:
LibraryCPPClass/list.h#L1
File LibraryCPPClass/list.h does not conform to Custom style guidelines. (lines 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 27, 28, 30, 31, 33, 34, 36, 37, 39, 40, 42, 43, 45, 46, 48, 49, 50, 52, 53, 54, 55, 56, 57)
|
Run clang-format on LibraryCPPClass/stack.cpp:
LibraryCPPClass/stack.cpp#L1
File LibraryCPPClass/stack.cpp does not conform to Custom style guidelines. (lines 4, 5, 8, 9, 13, 14, 15, 16, 17, 18, 22, 23, 24, 27, 28, 29, 32, 33, 34, 35, 36, 40, 41, 42, 43, 44, 48, 49, 50)
|
Run clang-format on LibraryCPPClass/stack.h:
LibraryCPPClass/stack.h#L1
File LibraryCPPClass/stack.h does not conform to Custom style guidelines. (lines 4, 9, 11, 12, 13, 15, 16, 18, 19, 21, 22, 24, 25, 26, 28, 29, 31, 32, 33, 35, 38, 39)
|