feat: updated tp develop 2.4.0 #11
Quality Gate failed
Failed conditions
2 Security Hotspots
Annotations
Check failure on line 27 in include/keyple/core/util/cpp/KeypleStd.hpp
sonarqubecloud / SonarCloud Code Analysis
Choose a different namespace for this declaration.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bntipqJtFgLgJ8R&open=AZ4Y7bntipqJtFgLgJ8R&pullRequest=11
Check warning on line 139 in src/main/keyple/core/util/cpp/Matcher.cpp
sonarqubecloud / SonarCloud Code Analysis
Fill this compound statement, remove it, or add a nested comment explaining why it is empty.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bqIipqJtFgLgJ9H&open=AZ4Y7bqIipqJtFgLgJ9H&pullRequest=11
Check failure on line 31 in src/test/BerTlvUtilTest.cpp
sonarqubecloud / SonarCloud Code Analysis
Global pointers should be const at every level.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bryipqJtFgLgJ91&open=AZ4Y7bryipqJtFgLgJ91&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 119 in src/main/keyple/core/util/KeypleAssert.cpp
sonarqubecloud / SonarCloud Code Analysis
Use std::format instead of concatenating pieces manually.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bpiipqJtFgLgJ89&open=AZ4Y7bpiipqJtFgLgJ89&pullRequest=11
Check warning on line 142 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=AZ4Y7bq4ipqJtFgLgJ9Z&open=AZ4Y7bq4ipqJtFgLgJ9Z&pullRequest=11
Check warning on line 45 in include/keyple/core/util/cpp/KeypleStd.hpp
sonarqubecloud / SonarCloud Code Analysis
"std::print" or "std::format" should be used instead of standard output manipulators
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bntipqJtFgLgJ8S&open=AZ4Y7bntipqJtFgLgJ8S&pullRequest=11
Check warning on line 206 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=AZ4Y7brKipqJtFgLgJ9p&open=AZ4Y7brKipqJtFgLgJ9p&pullRequest=11
Check warning on line 214 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=AZ4Y7brdipqJtFgLgJ9x&open=AZ4Y7brdipqJtFgLgJ9x&pullRequest=11
Check warning on line 230 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=AZ4Y7bmnipqJtFgLgJ8A&open=AZ4Y7bmnipqJtFgLgJ8A&pullRequest=11
Check failure on line 33 in src/test/BerTlvUtilTest.cpp
sonarqubecloud / SonarCloud Code Analysis
Global pointers should be const at every level.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bryipqJtFgLgJ92&open=AZ4Y7bryipqJtFgLgJ92&pullRequest=11
Check warning on line 72 in include/keyple/core/util/cpp/Arrays.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace with the version of "std::ranges::for_each" that takes a range.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bmnipqJtFgLgJ73&open=AZ4Y7bmnipqJtFgLgJ73&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 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 260 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=AZ4Y7bmnipqJtFgLgJ8C&open=AZ4Y7bmnipqJtFgLgJ8C&pullRequest=11
Check warning on line 213 in include/keyple/core/util/cpp/Matcher.hpp
sonarqubecloud / SonarCloud Code Analysis
Define each identifier in a dedicated statement.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bnmipqJtFgLgJ8Q&open=AZ4Y7bnmipqJtFgLgJ8Q&pullRequest=11
sonarqubecloud / SonarCloud Code Analysis
Add a using-declaration to this derived class to inherit the constructors of "IndexOutOfBoundsException", and remove the ones you manually duplicated.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y9qaQgVOXrbTPV34Y&open=AZ4Y9qaQgVOXrbTPV34Y&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 172 in src/main/keyple/core/util/ByteArrayUtil.cpp
sonarqubecloud / SonarCloud Code Analysis
Extract the assignment from this expression.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7brKipqJtFgLgJ9n&open=AZ4Y7brKipqJtFgLgJ9n&pullRequest=11
Check warning on line 25 in include/keyple/core/util/ByteArrayUtil.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=AZ4Y7bolipqJtFgLgJ80&open=AZ4Y7bolipqJtFgLgJ80&pullRequest=11
Check warning on line 98 in src/main/keyple/core/util/ApduUtil.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=AZ4Y7bpvipqJtFgLgJ9B&open=AZ4Y7bpvipqJtFgLgJ9B&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 failure on line 33 in src/test/ByteArrayUtilTest.cpp
sonarqubecloud / SonarCloud Code Analysis
Global pointers should be const at every level.
See more on https://sonarcloud.io/project/issues?id=eclipse-keyple_keyple-util-cpp-lib&issues=AZ4Y7bsLipqJtFgLgJ95&open=AZ4Y7bsLipqJtFgLgJ95&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 21 in include/keyple/core/util/cpp/exception/NegativeArraySizeException.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=AZ4Y7bnZipqJtFgLgJ8M&open=AZ4Y7bnZipqJtFgLgJ8M&pullRequest=11