feat: updated tp develop 2.4.0#11
Quality Gate failed
Failed conditions
2 Security Hotspots
Annotations
Check warning on line 98 in include/keyple/core/util/cpp/StringBuilder.hpp
sonarqubecloud / SonarCloud Code Analysis
This function should be declared "const".
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bn-ipqJtFgLgJ8h&open=AZ4Y7bn-ipqJtFgLgJ8h&pullRequest=11
Check warning on line 243 in include/keyple/core/util/cpp/Logger.hpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::print" instead of "printf".
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7boRipqJtFgLgJ8t&open=AZ4Y7boRipqJtFgLgJ8t&pullRequest=11
Check warning on line 22 in include/keyple/core/util/HexUtil.hpp
sonarqubecloud / SonarCloud Code Analysis
Concatenate this namespace with the nested ones.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bo6ipqJtFgLgJ83&open=AZ4Y7bo6ipqJtFgLgJ83&pullRequest=11
Check warning on line 72 in src/main/keyple/core/util/ByteArrayUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this "const" qualifier from the return type in all declarations.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7brKipqJtFgLgJ9j&open=AZ4Y7brKipqJtFgLgJ9j&pullRequest=11
Check warning on line 50 in src/main/keyple/core/util/cpp/Matcher.cpp
sonarqubecloud / SonarCloud Code Analysis
This function should be declared "const".
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bqIipqJtFgLgJ9D&open=AZ4Y7bqIipqJtFgLgJ9D&pullRequest=11
Check warning on line 217 in include/keyple/core/util/cpp/Logger.hpp
sonarqubecloud / SonarCloud Code Analysis
Define and throw a dedicated exception instead of using a generic one.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7boRipqJtFgLgJ8s&open=AZ4Y7boRipqJtFgLgJ8s&pullRequest=11
Check warning on line 179 in src/main/keyple/core/util/HexUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this "const" qualifier from the return type in all declarations.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bq4ipqJtFgLgJ9c&open=AZ4Y7bq4ipqJtFgLgJ9c&pullRequest=11
Check warning on line 155 in src/main/keyple/core/util/HexUtil.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=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bq4ipqJtFgLgJ9a&open=AZ4Y7bq4ipqJtFgLgJ9a&pullRequest=11
Check warning on line 109 in src/main/keyple/core/util/HexUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::byte" for byte-oriented data manipulation.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bq4ipqJtFgLgJ9W&open=AZ4Y7bq4ipqJtFgLgJ9W&pullRequest=11
Check warning on line 129 in src/main/keyple/core/util/HexUtil.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=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bq4ipqJtFgLgJ9Y&open=AZ4Y7bq4ipqJtFgLgJ9Y&pullRequest=11
Check warning on line 65 in src/main/keyple/core/util/ByteArrayUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::byte" for byte-oriented data manipulation.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7brKipqJtFgLgJ9i&open=AZ4Y7brKipqJtFgLgJ9i&pullRequest=11
Check warning on line 245 in include/keyple/core/util/cpp/Arrays.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace with the version of "std::ranges::copy" that takes a range.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bmnipqJtFgLgJ8B&open=AZ4Y7bmnipqJtFgLgJ8B&pullRequest=11
Check warning on line 16 in include/keyple/core/util/cpp/Character.hpp
sonarqubecloud / SonarCloud Code Analysis
Concatenate this namespace with the nested ones.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bnfipqJtFgLgJ8N&open=AZ4Y7bnfipqJtFgLgJ8N&pullRequest=11
Check failure on line 162 in include/keyple/core/util/cpp/Logger.hpp
sonarqubecloud / SonarCloud Code Analysis
Don't take the address of 'free', call it from a lambda instead.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7boRipqJtFgLgJ8o&open=AZ4Y7boRipqJtFgLgJ8o&pullRequest=11
Check failure on line 37 in src/main/keyple/core/util/KeypleAssert.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "=default" instead of the default implementation of this special member functions.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bpiipqJtFgLgJ84&open=AZ4Y7bpiipqJtFgLgJ84&pullRequest=11
Check warning on line 97 in src/main/keyple/core/util/HexUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this "const" qualifier from the return type in all declarations.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bq4ipqJtFgLgJ9T&open=AZ4Y7bq4ipqJtFgLgJ9T&pullRequest=11
Check warning on line 255 in src/main/keyple/core/util/BerTlvUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::byte" for byte-oriented data manipulation.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7brdipqJtFgLgJ9z&open=AZ4Y7brdipqJtFgLgJ9z&pullRequest=11
Check warning on line 86 in include/keyple/core/util/cpp/Character.hpp
sonarqubecloud / SonarCloud Code Analysis
Remove the commented out code.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bnfipqJtFgLgJ8O&open=AZ4Y7bnfipqJtFgLgJ8O&pullRequest=11
Check warning on line 203 in include/keyple/core/util/cpp/Logger.hpp
sonarqubecloud / SonarCloud Code Analysis
Define and throw a dedicated exception instead of using a generic one.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7boRipqJtFgLgJ8r&open=AZ4Y7boRipqJtFgLgJ8r&pullRequest=11
Check warning on line 65 in include/keyple/core/util/cpp/StringBuilder.hpp
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=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bn-ipqJtFgLgJ8e&open=AZ4Y7bn-ipqJtFgLgJ8e&pullRequest=11
Check warning on line 228 in include/keyple/core/util/cpp/Logger.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace this use of "std::lock_guard" with "std::scoped_lock"
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7boRipqJtFgLgJ8v&open=AZ4Y7boRipqJtFgLgJ8v&pullRequest=11
Check warning on line 36 in src/test/LoggerTest.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this redundant cast.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7brlipqJtFgLgJ90&open=AZ4Y7brlipqJtFgLgJ90&pullRequest=11
Check warning on line 36 in src/main/keyple/core/util/cpp/Logger.cpp
sonarqubecloud / SonarCloud Code Analysis
This function should be declared "const".
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bqaipqJtFgLgJ9L&open=AZ4Y7bqaipqJtFgLgJ9L&pullRequest=11
Check warning on line 132 in include/keyple/core/util/cpp/KeypleStd.hpp
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=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bntipqJtFgLgJ8W&open=AZ4Y7bntipqJtFgLgJ8W&pullRequest=11
Check warning on line 37 in src/main/keyple/core/util/ByteArrayUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this "const" qualifier from the return type in all declarations.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7brKipqJtFgLgJ9g&open=AZ4Y7brKipqJtFgLgJ9g&pullRequest=11