simbody:

Run:43999209410
Check:PR #243303: readability-simplify-boolean-expr
Status:ok
Time:51s
Warnings:173 (TP 0, FP 0, unclassified 173)
Source:simbody/simbody/blob/5cf513d98ed3da0e0991ad9c7a21f684d19afd6c

New warnings, not in baseline (0):

None.

Gone, only in baseline (0):

None.

Unchanged, also in baseline (173):

VerdictLocationMessage
-SimTKcommon/./include/SimTKcommon/internal/Function.h:406:9boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/BigMatrix/src/MatrixHelper.cpp:622:63redundant boolean literal in if statement condition
-SimTKcommon/BigMatrix/src/MatrixHelper.cpp:695:63redundant boolean literal in if statement condition
-SimTKcommon/Geometry/src/PolygonalMesh.cpp:666:5boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/Geometry/src/PolygonalMesh.cpp:672:5boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/Geometry/src/PolygonalMesh.cpp:683:13boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/Geometry/src/PolygonalMesh.cpp:692:9boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/Mechanics/include/SimTKcommon/internal/MassProperties.h:445:16redundant boolean literal in conditional return statement
-SimTKcommon/Polynomial/src/cpoly.cpp:297:11boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/Simulation/include/SimTKcommon/internal/StateImpl.h:2280:9boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/Simulation/include/SimTKcommon/internal/StateImpl.h:2282:16redundant boolean literal in conditional return statement
-SimTKcommon/src/tinyxml.cpp:1217:16redundant boolean literal in conditional return statement
-SimTKcommon/src/tinyxml.cpp:1804:61redundant boolean literal supplied to boolean operator
-SimTKcommon/tests/RandomTest.cpp:42:9boolean expression can be simplified by DeMorgan's theorem
-SimTKcommon/tests/RotationTest.cpp:73:31redundant boolean literal supplied to boolean operator
-SimTKcommon/tests/RotationTest.cpp:428:20redundant boolean literal supplied to boolean operator
-SimTKcommon/tests/RotationTest.cpp:432:40redundant boolean literal supplied to boolean operator
-SimTKcommon/tests/RotationTest.cpp:456:20redundant boolean literal supplied to boolean operator
-SimTKcommon/tests/RotationTest.cpp:460:40redundant boolean literal supplied to boolean operator
-SimTKcommon/tests/TestPrivateImplementation.cpp:181:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/include/../src/BicubicSurface_Guts.h:172:9boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/include/simmath/internal/GCVSPLUtil.h:56:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:267:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:272:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:425:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:430:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:436:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:484:9boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:560:9boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/BicubicSurface.cpp:781:18redundant boolean literal supplied to boolean operator
-SimTKmath/Geometry/src/BicubicSurface.cpp:1007:18redundant boolean literal supplied to boolean operator
-SimTKmath/Geometry/src/BicubicSurface_Guts.h:172:9boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/ContactGeometry_TriangleMesh.cpp:422:9boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Geometry/src/Geo_Box.cpp:259:27redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:247:18redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:248:23redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:249:10redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:251:18redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:252:23redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:253:10redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:256:21redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:257:12redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:260:20redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:261:12redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:264:20redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:265:25redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:598:12redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:601:5redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:602:12redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:606:5redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:607:13redundant boolean literal in conditional return statement
-SimTKmath/Geometry/src/Geo_Triangle.cpp:608:10redundant boolean literal in conditional return statement
-SimTKmath/Integrators/src/AbstractIntegratorRep.cpp:203:16redundant boolean literal in conditional return statement
-SimTKmath/Integrators/src/AbstractIntegratorRep.cpp:641:12boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/CMAESOptimizer.cpp:44:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/CMAESOptimizer.cpp:137:13boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/IpOpt/IpAdaptiveMuUpdate.cpp:213:25redundant boolean literal in conditional assignment
-SimTKmath/Optimizers/src/IpOpt/IpBacktrackingLineSearch.cpp:366:37redundant boolean literal in conditional assignment
-SimTKmath/Optimizers/src/IpOpt/IpCompoundVector.hpp:70:16redundant boolean literal in conditional return statement
-SimTKmath/Optimizers/src/IpOpt/IpCompoundVector.hpp:80:16redundant boolean literal in conditional return statement
-SimTKmath/Optimizers/src/IpOpt/IpIpoptAlg.cpp:176:35redundant boolean literal in conditional assignment
-SimTKmath/Optimizers/src/IpOpt/IpJournalist.cpp:317:14redundant boolean literal in conditional return statement
-SimTKmath/Optimizers/src/IpOpt/IpLowRankAugSystemSolver.cpp:577:14redundant boolean literal in conditional return statement
-SimTKmath/Optimizers/src/IpOpt/IpMonotoneMuUpdate.cpp:122:27redundant boolean literal in conditional assignment
-SimTKmath/Optimizers/src/IpOpt/IpRegOptions.hpp:292:44redundant boolean literal supplied to boolean operator
-SimTKmath/Optimizers/src/IpOpt/IpRegOptions.hpp:293:44redundant boolean literal supplied to boolean operator
-SimTKmath/Optimizers/src/IpOpt/IpRegOptions.hpp:296:44redundant boolean literal supplied to boolean operator
-SimTKmath/Optimizers/src/IpOpt/IpRegOptions.hpp:297:44redundant boolean literal supplied to boolean operator
-SimTKmath/Optimizers/src/IpOpt/IpSmartPtr.hpp:634:14redundant boolean literal in conditional return statement
-SimTKmath/Optimizers/src/IpOpt/IpStdAugSystemSolver.cpp:529:14redundant boolean literal in conditional return statement
-SimTKmath/Optimizers/src/IpOpt/IpStdInterfaceTNLP.cpp:74:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/IpOpt/IpStdInterfaceTNLP.cpp:76:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/IpOpt/IpStdInterfaceTNLP.cpp:82:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/IpOpt/IpTNLPAdapter.cpp:227:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/Optimizers/src/IpOpt/IpTSymLinearSolver.cpp:121:22redundant boolean literal in conditional assignment
-SimTKmath/Optimizers/src/IpOpt/IpTaggedObject.hpp:97:41redundant boolean literal in ternary expression result
-SimTKmath/Optimizers/src/Optimizer.cpp:123:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/src/Differentiator.cpp:633:5boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/src/MultibodyGraphMaker.cpp:75:9boolean expression can be simplified by DeMorgan's theorem
-SimTKmath/tests/TestBicubicSurface.cpp:67:28redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:258:29redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:371:29redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:378:34redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:413:29redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:610:22redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:750:30redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestBicubicSurface.cpp:818:34redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestSpline.cpp:195:28redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestSpline.cpp:434:19redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestSpline.cpp:537:29redundant boolean literal supplied to boolean operator
-SimTKmath/tests/TestSpline.cpp:598:29redundant boolean literal supplied to boolean operator
-Simbody/./include/simbody/internal/Assembler.h:224:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/AssemblyCondition_Markers.h:143:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/AssemblyCondition_Markers.h:403:4boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/AssemblyCondition_OrientationSensors.h:152:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/AssemblyCondition_OrientationSensors.h:418:4boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/ContactSurface.h:207:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/ContactSurface.h:232:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/ContactSurface.h:253:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/./include/simbody/internal/ContactSurface.h:277:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/Visualizer/src/Visualizer.cpp:991:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/CablePath.cpp:535:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/CompliantContactSubsystem.cpp:1560:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/CompliantContactSubsystem.cpp:1564:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:41:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:56:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:141:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:201:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:257:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:261:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:338:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:342:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:422:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:426:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:506:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ConditionalConstraint.cpp:510:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Constraint_SphereOnSphereContact.cpp:63:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/ContactTrackerSubsystem.cpp:562:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Force.cpp:529:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Force.cpp:562:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Force.cpp:601:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Force_Thermostat.cpp:212:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Force_Thermostat.cpp:255:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/Force_Thermostat.cpp:303:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/PLUSImpulseSolver.cpp:1106:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/PLUSImpulseSolver.cpp:1185:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/PLUSImpulseSolver.cpp:1189:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:247:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:252:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:257:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:325:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:330:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:335:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:340:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:1337:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/src/SimbodyMatterSubsystem.cpp:1630:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCollisionDetectionAlgorithm.cpp:183:5boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCollisionDetectionAlgorithm.cpp:209:16redundant boolean literal in conditional return statement
-Simbody/tests/TestCustomMobilizedBodies.cpp:147:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:156:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:158:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:167:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:176:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:178:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:187:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:192:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:196:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:259:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:268:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:270:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:280:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:289:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:291:17boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:301:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:306:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/TestCustomMobilizedBodies.cpp:310:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/CoarseRNA.cpp:78:13redundant boolean literal in if statement condition
-Simbody/tests/adhoc/RigidContact1.cpp:73:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/RigidContact1.cpp:88:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBox.cpp:1528:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBox.cpp:1546:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxBristle.cpp:753:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxBristle.cpp:771:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxHybrid.cpp:1038:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxHybrid.cpp:1056:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxPGS.cpp:774:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxPGS.cpp:789:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxPGS.cpp:2376:29boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxPGS.cpp:3228:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/TimsBoxPGS.cpp:3368:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/UnilateralPointContactWithFriction.cpp:1433:13boolean expression can be simplified by DeMorgan's theorem
-Simbody/tests/adhoc/UnilateralPointContactWithFriction.cpp:1451:13boolean expression can be simplified by DeMorgan's theorem
-examples/TaskSpaceControl-Atlas/TaskSpaceControl-Atlas.cpp:518:9boolean expression can be simplified by DeMorgan's theorem

Generated from 3ddf6fa37f.