Refactored sweep code out of load, and added some tests#48
Quality Gate failed
Failed conditions
47.4% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 23 in source/utilities/decimalConvert.cpp
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=mccaffers_backtesting-engine-cpp&issues=AZ6wgSowlkGDfR-JdOaH&open=AZ6wgSowlkGDfR-JdOaH&pullRequest=48
Check warning on line 28 in source/utilities/decimalConvert.cpp
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=mccaffers_backtesting-engine-cpp&issues=AZ6wgSowlkGDfR-JdOaI&open=AZ6wgSowlkGDfR-JdOaI&pullRequest=48
Check warning on line 14 in source/sweep/randomStrategySweep.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove the commented out code.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ6wgSr8lkGDfR-JdOaJ&open=AZ6wgSr8lkGDfR-JdOaJ&pullRequest=48
Check warning on line 27 in source/utilities/decimalConvert.cpp
sonarqubecloud / SonarCloud Code Analysis
Use the init-statement to declare "parsed" inside the if statement.
See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ6wgSowlkGDfR-JdOaG&open=AZ6wgSowlkGDfR-JdOaG&pullRequest=48