feat: add opt-in av_log file logging#145
Quality Gate passed
Annotations
Check failure on line 627 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the use of "new" with an operation that automatically manages the memory.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD8&open=AZ47hoEygDwVZzSwihD8&pullRequest=145
Check failure on line 87 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
format string is not a string literal
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzA&open=AZ47J2WC_YNLq2w-tgzA&pullRequest=145
Check warning on line 114 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
This lambda has 30 lines, which is greater than the 20 lines authorized. Split it into several lambdas or functions, or make it a named function.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihDy&open=AZ47hoEygDwVZzSwihDy&pullRequest=145
Check warning on line 95 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this use of "strftime" with equivalent code using "std::chrono".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzD&open=AZ47J2WC_YNLq2w-tgzD&pullRequest=145
Check failure on line 634 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the use of "new" with an operation that automatically manages the memory.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD9&open=AZ47hoEygDwVZzSwihD9&pullRequest=145
Check warning on line 119 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD0&open=AZ47hoEygDwVZzSwihD0&pullRequest=145
Check warning on line 93 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this use of "localtime" with equivalent code using "std::chrono".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzG&open=AZ47J2WC_YNLq2w-tgzG&pullRequest=145
Check failure on line 72 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 30 to the 25 allowed.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihDu&open=AZ47hoEygDwVZzSwihDu&pullRequest=145
Check warning on line 120 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD1&open=AZ47hoEygDwVZzSwihD1&pullRequest=145
Check warning on line 112 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihDw&open=AZ47hoEygDwVZzSwihDw&pullRequest=145
Check warning on line 152 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihDx&open=AZ47hoEygDwVZzSwihDx&pullRequest=145
Check failure on line 411 in src/tests/transcoder_test.cpp
sonarqubecloud / SonarCloud Code Analysis
Member variables should not be "protected".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2Y2_YNLq2w-tgzJ&open=AZ47J2Y2_YNLq2w-tgzJ&pullRequest=145
Check warning on line 562 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Use the init-statement to declare "lastDir" inside the if statement.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD3&open=AZ47hoEygDwVZzSwihD3&pullRequest=145
Check warning on line 41 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this const reference to "std::string" by a "std::string_view".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzB&open=AZ47J2WC_YNLq2w-tgzB&pullRequest=145
Check warning on line 621 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD4&open=AZ47hoEygDwVZzSwihD4&pullRequest=145
Check warning on line 115 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihDz&open=AZ47hoEygDwVZzSwihDz&pullRequest=145
Check warning on line 86 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::string" instead of a C-style char array.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzE&open=AZ47J2WC_YNLq2w-tgzE&pullRequest=145
Check warning on line 627 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD6&open=AZ47hoEygDwVZzSwihD6&pullRequest=145
Check warning on line 162 in src/builder/src/info_view_page.cpp
sonarqubecloud / SonarCloud Code Analysis
Make the type of this variable a pointer-to-const. The current type of "mainWindow" is "class OpenConverter *".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoH0gDwVZzSwihD-&open=AZ47hoH0gDwVZzSwihD-&pullRequest=145
Check warning on line 94 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::string" instead of a C-style char array.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzH&open=AZ47J2WC_YNLq2w-tgzH&pullRequest=145
Check failure on line 93 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this call to the non reentrant function "localtime" by a call to "localtime_r".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzF&open=AZ47J2WC_YNLq2w-tgzF&pullRequest=145
Check warning on line 130 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD2&open=AZ47hoEygDwVZzSwihD2&pullRequest=145
Check warning on line 93 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Make the type of this variable a pointer-to-const. The current type of "tm_info" is "struct tm *".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzC&open=AZ47J2WC_YNLq2w-tgzC&pullRequest=145
Check failure on line 79 in src/common/src/logger.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this use of "void *" with a more meaningful type.
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47J2WC_YNLq2w-tgzI&open=AZ47J2WC_YNLq2w-tgzI&pullRequest=145
Check warning on line 625 in src/builder/src/open_converter.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=OpenConverterLab_OpenConverter&issues=AZ47hoEygDwVZzSwihD5&open=AZ47hoEygDwVZzSwihD5&pullRequest=145