Adding elasticsearch client #42
Quality Gate failed
Failed conditions
2.5% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 39 in source/databaseConnection.cpp
sonarqubecloud / SonarCloud Code Analysis
Use the init-statement to declare "date" inside the if statement.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ5k1rizMg7OyuF4pDmm&open=AZ5k1rizMg7OyuF4pDmm&pullRequest=42
Check warning on line 18 in source/tradingResults.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=mccaffers_backtesting-engine-cpp&issues=AZ5kwnteY6aTFnYhlyse&open=AZ5kwnteY6aTFnYhlyse&pullRequest=42
Check failure on line 22 in source/elasticClient.cpp
sonarqubecloud / SonarCloud Code Analysis
Customize this struct's copy constructor to participate in resource management. Customize or delete its copy assignment operator. Also consider whether move operations should be customized.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ5kwnyIY6aTFnYhlysh&open=AZ5kwnyIY6aTFnYhlysh&pullRequest=42
Check warning on line 84 in source/operations.cpp
sonarqubecloud / SonarCloud Code Analysis
Catch a more specific exception instead of a generic one.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ59AtTMQzzn1nxVR4yP&open=AZ59AtTMQzzn1nxVR4yP&pullRequest=42
Check warning on line 25 in source/elasticClient.cpp
sonarqubecloud / SonarCloud Code Analysis
Declare this variable in a separate statement.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ5kwnyIY6aTFnYhlysg&open=AZ5kwnyIY6aTFnYhlysg&pullRequest=42
Check warning on line 17 in source/tradingResults.cpp
sonarqubecloud / SonarCloud Code Analysis
Use "std::string" instead of a C-style char array.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ5kwnteY6aTFnYhlysf&open=AZ5kwnteY6aTFnYhlysf&pullRequest=42
Check warning on line 87 in source/operations.cpp
sonarqubecloud / SonarCloud Code Analysis
"catch" a specific exception type.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ59AtTMQzzn1nxVR4yQ&open=AZ59AtTMQzzn1nxVR4yQ&pullRequest=42