[core] Remove return code in favor of throwing exceptions. #713
Codacy Production / Codacy Static Code Analysis
required action
Feb 11, 2024 in 0s
1 new issue (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 2
- Added 1
Complexity decreasing per file
==============================
+ python/jiminy_py/unit_py/utilities.py -1
Clones added
============
- core/src/hardware/abstract_motor.cc 1
- core/src/robot/robot.cc 1
Clones removed
==============
+ core/src/constraints/frame_constraint.cc -2
+ core/src/hardware/basic_sensors.cc -5
+ core/src/hardware/basic_motors.cc -1
+ core/src/constraints/joint_constraint.cc -1
+ core/src/constraints/sphere_constraint.cc -2
+ core/src/constraints/distance_constraint.cc -1
+ core/src/constraints/wheel_constraint.cc -2
See the complete overview on Codacy
Annotations
Check notice on line 146 in core/src/constraints/joint_constraint.cc
codacy-production / Codacy Static Code Analysis
core/src/constraints/joint_constraint.cc#L146
Instance of 'std::logic_error' object is destroyed immediately.
Loading