Skip to content

fix(loggers): resolve TSAN race conditions in FileLogger2 and SqliteL…

3bafd20
Select commit
Loading
Failed to load commit list.
Merged

Improve test suite quality and coverage #1102

fix(loggers): resolve TSAN race conditions in FileLogger2 and SqliteL…
3bafd20
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Feb 3, 2026 in 0s

19 new issues (0 max.) of at least severity.

Annotations

Check warning on line 5 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L5

Include file: <array> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 6 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L6

Include file: <condition_variable> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 7 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L7

Include file: <cstring> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 8 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L8

Include file: <deque> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 9 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L9

Include file: <fstream> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 10 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L10

Include file: <mutex> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 11 in src/loggers/bt_file_logger_v2.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/loggers/bt_file_logger_v2.cpp#L11

Include file: <thread> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 17 in tests/gtest_basic_types.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_basic_types.cpp#L17

Include file: <sstream> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 19 in tests/gtest_basic_types.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_basic_types.cpp#L19

Include file: <gtest/gtest.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check failure on line 221 in tests/gtest_basic_types.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_basic_types.cpp#L221

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check failure on line 417 in tests/gtest_basic_types.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_basic_types.cpp#L417

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check warning on line 17 in tests/gtest_if_then_else.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_if_then_else.cpp#L17

Include file: <gtest/gtest.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 19 in tests/gtest_loggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_loggers.cpp#L19

Include file: <cstdio> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 20 in tests/gtest_loggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_loggers.cpp#L20

Include file: <filesystem> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 21 in tests/gtest_loggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_loggers.cpp#L21

Include file: <fstream> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 23 in tests/gtest_loggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_loggers.cpp#L23

Include file: <gtest/gtest.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check failure on line 170 in tests/gtest_loggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_loggers.cpp#L170

Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20).  

Check warning on line 16 in tests/gtest_loop.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_loop.cpp#L16

Include file: <gtest/gtest.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 17 in tests/gtest_while_do_else.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/gtest_while_do_else.cpp#L17

Include file: <gtest/gtest.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.