ID 5787783
Пользователь Доманский Игорь Сергеевич
Время 22:35<< 16.11.2021 22:38 (27 д. 20:39) 22:42>>
Обработка 22:38 ... 22:38 (1,96 сек.)
Файл 5787783.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача C: Smart Pointer
Набор тестов
Ограничения Время: 25с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
SmartPointer.hpp:8:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:19:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:22:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:28:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:88:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:106:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
SmartPointer.hpp:127:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
SmartPointer.hpp:128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
SmartPointer.hpp:128:  Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]
SmartPointer.hpp:133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
SmartPointer.hpp:134:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
SmartPointer.hpp:134:  Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]
SmartPointer.hpp:142:  You don't need a ; after a }  [readability/braces] [4]
SmartPointer.hpp:141:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
SmartPointer.hpp:150:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
SmartPointer.hpp:163:  Closing brace should be aligned with beginning of class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:165:  Namespace should be terminated with "// namespace smart_pointer"  [readability/namespace] [5]
Done processing SmartPointer.hpp
Total errors found: 17
0.036s 0.014s 9