Skip to content

Add documentation for clang-tidy plugin

2403373
Select commit
Loading
Failed to load commit list.
Open

Add clang-tidy plugin to convert implicit conversions to explicit ones #4663

Add documentation for clang-tidy plugin
2403373
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jul 13, 2025 in 0s

3 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- clang_tidy_plugin/ModernizeNlohmannJsonExplicitConversionsCheck.cpp  11
- clang_tidy_plugin/Module.cpp  1
- clang_tidy_plugin/ModernizeNlohmannJsonExplicitConversionsCheck.h  2
- tests/clang_tidy_plugin/modernize-nlohmann-json-explicit-conversions.cpp  20
- tests/clang_tidy_plugin/check_clang_tidy.py  4
         

See the complete overview on Codacy

Annotations

Check warning on line 53 in tests/clang_tidy_plugin/check_clang_tidy.py

See this annotation in the file changed.

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

tests/clang_tidy_plugin/check_clang_tidy.py#L53

Consider possible security implications associated with the subprocess module.

Check warning on line 65 in tests/clang_tidy_plugin/check_clang_tidy.py

See this annotation in the file changed.

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

tests/clang_tidy_plugin/check_clang_tidy.py#L65

subprocess call - check for execution of untrusted input.

Check notice on line 163 in tests/clang_tidy_plugin/modernize-nlohmann-json-explicit-conversions.cpp

See this annotation in the file changed.

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

tests/clang_tidy_plugin/modernize-nlohmann-json-explicit-conversions.cpp#L163

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).