OpenMP solvers#110
Quality Gate failed
Failed conditions
2 Security Hotspots
43.2% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 111 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
This function has 13 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFN8&open=AZ4MHyJzfu-4LUhWdFN8&pullRequest=110
Check warning on line 91 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNo&open=AZ4MHyG4fu-4LUhWdFNo&pullRequest=110
Check warning on line 39 in mechanics/physicell/kernels/openmp_solver/src/common_solver.h
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMJfu-4LUhWdFOQ&open=AZ4MHyMJfu-4LUhWdFOQ&pullRequest=110
Check warning on line 25 in mechanics/physicell/kernels/openmp_solver/src/random.cpp
sonarqubecloud / SonarCloud Code Analysis
Avoid explicitly specifying the template arguments by relying on the class template argument deduction.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyI3fu-4LUhWdFN3&open=AZ4MHyI3fu-4LUhWdFN3&pullRequest=110
Check failure on line 56 in mechanics/physicell/kernels/openmp_solver/src/common_solver.h
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMJfu-4LUhWdFOO&open=AZ4MHyMJfu-4LUhWdFOO&pullRequest=110
Check warning on line 167 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNq&open=AZ4MHyG4fu-4LUhWdFNq&pullRequest=110
Check warning on line 40 in mechanics/physicell/kernels/openmp_solver/src/common_solver.h
sonarqubecloud / SonarCloud Code Analysis
Replace the redundant type with "auto".
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMJfu-4LUhWdFOR&open=AZ4MHyMJfu-4LUhWdFOR&pullRequest=110
Check warning on line 170 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNt&open=AZ4MHyG4fu-4LUhWdFNt&pullRequest=110
Check failure on line 61 in mechanics/physicell/kernels/openmp_solver/src/common_solver.h
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMJfu-4LUhWdFOP&open=AZ4MHyMJfu-4LUhWdFOP&pullRequest=110
Check warning on line 272 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNx&open=AZ4MHyG4fu-4LUhWdFNx&pullRequest=110
Check warning on line 100 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
Make the type of this parameter a pointer-to-const. The current type of "neighbors" is "class std::vector<unsigned long> *__restrict".
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFN7&open=AZ4MHyJzfu-4LUhWdFN7&pullRequest=110
Check warning on line 136 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
Make the type of this parameter a reference-to-const. The current type of "e" is "class physicore::mechanics::physicell::environment &".
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFN-&open=AZ4MHyJzfu-4LUhWdFN-&pullRequest=110
Check warning on line 92 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNp&open=AZ4MHyG4fu-4LUhWdFNp&pullRequest=110
Check failure on line 296 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 26 to the 25 allowed.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFOG&open=AZ4MHyJzfu-4LUhWdFOG&pullRequest=110
Check warning on line 32 in mechanics/physicell/src/environment.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=bsc-life_PhysiCore&issues=AZ4MHyMqfu-4LUhWdFOV&open=AZ4MHyMqfu-4LUhWdFOV&pullRequest=110
Check warning on line 19 in mechanics/physicell/kernels/openmp_solver/src/random.cpp
sonarqubecloud / SonarCloud Code Analysis
Avoid explicitly specifying the template arguments by relying on the class template argument deduction.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyI3fu-4LUhWdFN2&open=AZ4MHyI3fu-4LUhWdFN2&pullRequest=110
Check warning on line 274 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNz&open=AZ4MHyG4fu-4LUhWdFNz&pullRequest=110
Check warning on line 136 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
This function has 8 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFN9&open=AZ4MHyJzfu-4LUhWdFN9&pullRequest=110
Check failure on line 363 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFOI&open=AZ4MHyJzfu-4LUhWdFOI&pullRequest=110
Check failure on line 26 in mechanics/physicell/kernels/openmp_solver/src/common_solver.h
sonarqubecloud / SonarCloud Code Analysis
Explicitly capture the required scope variables.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMJfu-4LUhWdFOM&open=AZ4MHyMJfu-4LUhWdFOM&pullRequest=110
Check failure on line 33 in mechanics/physicell/kernels/openmp_solver/src/common_solver.h
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 27 to the 25 allowed.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMJfu-4LUhWdFON&open=AZ4MHyMJfu-4LUhWdFON&pullRequest=110
Check warning on line 258 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
This function has 9 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFOD&open=AZ4MHyJzfu-4LUhWdFOD&pullRequest=110
Check warning on line 177 in mechanics/physicell/kernels/openmp_solver/src/position_solver.cpp
sonarqubecloud / SonarCloud Code Analysis
This function has 12 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyJzfu-4LUhWdFOB&open=AZ4MHyJzfu-4LUhWdFOB&pullRequest=110
Check warning on line 47 in mechanics/physicell/include/physicell/agent_data.h
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyMTfu-4LUhWdFOT&open=AZ4MHyMTfu-4LUhWdFOT&pullRequest=110
Check warning on line 269 in mechanics/physicell/kernels/openmp_solver/src/solver_helper.h
sonarqubecloud / SonarCloud Code Analysis
implicit conversion from 'const value_type' (aka 'const long') to 'real_t' (aka 'double') may lose precision
See more on https://sonarcloud.io/project/issues?id=bsc-life_PhysiCore&issues=AZ4MHyG4fu-4LUhWdFNu&open=AZ4MHyG4fu-4LUhWdFNu&pullRequest=110