Skip to content

Lab2

Lab2 #3541

Triggered via pull request December 20, 2024 00:56
@voxnordvoxnord
synchronize #1108
voxnord:lab2
Status Success
Total duration 30s
Artifacts

clangtidy.yml

on: pull_request
cpp-linter
23s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 6 warnings, and 10 notices
LAB2CPPCLASS/lab2.cpp:36:9 [bugprone-branch-clone]: LAB2CPPCLASS/lab2.cpp#L36
repeated branch in conditional chain
LibraryCPPClass/array.cpp:5:1 [cppcoreguidelines-pro-type-member-init]: LibraryCPPClass/array.cpp#L5
constructor does not initialize these fields: m_arrSize
LibraryCPPClass/array.cpp:13:1 [cppcoreguidelines-pro-type-member-init]: LibraryCPPClass/array.cpp#L13
constructor does not initialize these fields: m_arrSize
LibraryCPPClass/array.h:9:7 [cppcoreguidelines-avoid-non-const-global-variables]: LibraryCPPClass/array.h#L9
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:10:7 [cppcoreguidelines-avoid-non-const-global-variables]: LibraryCPPClass/stack.h#L10
variable 'Stack' is non-const and globally accessible, consider making it const
Run clang-format on LAB1CPPCLASS/lab1.cpp: LAB1CPPCLASS/lab1.cpp#L1
File LAB1CPPCLASS/lab1.cpp does not conform to Custom style guidelines. (lines 1, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20, 21, 26, 27, 28, 30, 31, 32, 33, 34, 39, 40, 41, 42, 43, 44, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 66, 67, 68, 70, 71, 72, 73, 74, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 91, 92, 93, 94, 95, 96, 98, 99, 100, 101, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 114, 115, 116, 118, 120, 121, 122, 123, 125, 127, 128, 130, 131, 132, 134, 136, 137, 138, 139, 141, 143, 144, 146, 147, 148, 150)
Run clang-format on LAB2CPPCLASS/lab2.cpp: LAB2CPPCLASS/lab2.cpp#L1
File LAB2CPPCLASS/lab2.cpp does not conform to Custom style guidelines. (lines 1, 13, 14, 15, 21, 22, 23, 24, 25, 27, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 95, 97, 98, 100, 102, 103, 104, 106, 107, 108, 109, 110, 111, 112, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 138, 139, 140, 141, 142, 143, 144, 145, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 176, 177, 178, 179)
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, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49)
Run clang-format on LibraryCPPClass/Tests/list.cpp: LibraryCPPClass/Tests/list.cpp#L1
File LibraryCPPClass/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, 42, 44, 45, 46, 47, 48, 49, 50, 52, 53, 55, 56, 57, 58, 59, 61, 62, 64, 65, 66, 67, 68, 70, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 85, 87)
Run clang-format on LibraryCPPClass/Tests/stack.cpp: LibraryCPPClass/Tests/stack.cpp#L1
File LibraryCPPClass/Tests/stack.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, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 105, 106, 107, 108, 109, 110, 111)
Run clang-format on LibraryCPPClass/array.cpp: LibraryCPPClass/array.cpp#L1
File LibraryCPPClass/array.cpp does not conform to Custom style guidelines. (lines 5, 6, 7, 8, 9, 13, 14, 15, 16, 17, 21, 22, 23, 24, 25, 26, 28, 30, 31, 33, 34, 35, 36, 42, 46, 47, 48, 49, 50, 51, 56, 57, 58, 59, 60, 61, 66, 67, 68)
Run clang-format on LibraryCPPClass/array.h: LibraryCPPClass/array.h#L1
File LibraryCPPClass/array.h does not conform to Custom style guidelines. (lines 9, 11, 12, 13, 15, 16, 18, 19, 21, 22, 24, 25, 27, 28, 30, 33, 34, 35)
Run clang-format on LibraryCPPClass/list.cpp: LibraryCPPClass/list.cpp#L1
File LibraryCPPClass/list.cpp does not conform to Custom style guidelines. (lines 1, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 18, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 51, 52, 53, 54, 55, 59, 60, 61, 64, 65, 66, 70, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95)
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, 16, 17, 18, 20, 21, 22, 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 5, 6, 10, 11, 12, 13, 14, 15, 16, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 38, 39, 40, 41, 42, 43, 47, 48, 49)