The following issues were found

modules/calib3d/test/test_cameracalibration_artificial.cpp
1 issues
syntax error
Error

Line: 424

                  }
};

TEST(Calib3d_CalibrateCamera_CPP, DISABLED_accuracy_on_artificial_data) { CV_CalibrateCameraArtificialTest test; test.safe_run(); }

}} // namespace

            

Reported by Cppcheck.

modules/calib3d/test/test_cameracalibration_badarg.cpp
1 issues
syntax error
Error

Line: 395

              };


TEST(Calib3d_CalibrateCamera_CPP, badarg) { CV_CameraCalibrationBadArgTest test; test.safe_run(); }
TEST(Calib3d_Rodrigues_CPP, badarg) { CV_Rodrigues2BadArgTest test; test.safe_run(); }
TEST(Calib3d_ProjectPoints_CPP, badarg) { CV_ProjectPoints2BadArgTest test; test.safe_run(); }

}} // namespace

            

Reported by Cppcheck.

modules/calib3d/test/test_cameracalibration_tilt.cpp
1 issues
syntax error
Error

Line: 402

              }


TEST_F(cameraCalibrationTiltTest, projectPoints)
{
    std::vector<cv::Point2d> imagePoints;
    std::vector<cv::Point3d> objectPoints = m_pointTarget;
    cv::Vec3d rvec = m_pointTargetRvec.front();
    cv::Vec3d tvec = m_pointTargetTvec.front();

            

Reported by Cppcheck.

modules/calib3d/test/test_chesscorners.cpp
1 issues
syntax error
Error

Line: 632

                  return true;
}

TEST(Calib3d_ChessboardDetector, accuracy) {  CV_ChessboardDetectorTest test( CHESSBOARD ); test.safe_run(); }
TEST(Calib3d_ChessboardDetector2, accuracy) {  CV_ChessboardDetectorTest test( CHESSBOARD_SB ); test.safe_run(); }
TEST(Calib3d_CirclesPatternDetector, accuracy) { CV_ChessboardDetectorTest test( CIRCLES_GRID ); test.safe_run(); }
TEST(Calib3d_AsymmetricCirclesPatternDetector, accuracy) { CV_ChessboardDetectorTest test( ASYMMETRIC_CIRCLES_GRID ); test.safe_run(); }
#ifdef HAVE_OPENCV_FLANN
TEST(Calib3d_AsymmetricCirclesPatternDetectorWithClustering, accuracy) { CV_ChessboardDetectorTest test( ASYMMETRIC_CIRCLES_GRID, CALIB_CB_CLUSTERING ); test.safe_run(); }

            

Reported by Cppcheck.

modules/calib3d/test/test_chesscorners_badarg.cpp
1 issues
syntax error
Error

Line: 113

                      ts->set_failed_test_info(cvtest::TS::OK);
}

TEST(Calib3d_ChessboardDetector, badarg) { CV_ChessboardDetectorBadArgTest test; test.safe_run(); }

}} // namespace
/* End of file. */

            

Reported by Cppcheck.

modules/calib3d/test/test_chesscorners_timing.cpp
1 issues
syntax error
Error

Line: 158

                      ts->set_failed_test_info( code );
}

TEST(Calib3d_ChessboardDetector, timing) { CV_ChessboardDetectorTimingTest test; test.safe_run(); }

}} // namespace
/* End of file. */

            

Reported by Cppcheck.

modules/calib3d/test/test_compose_rt.cpp
1 issues
syntax error
Error

Line: 213

                  }
};

TEST(Calib3d_ComposeRT, accuracy) { CV_composeRT_Test test; test.safe_run(); }

}} // namespace

            

Reported by Cppcheck.

modules/calib3d/test/test_cornerssubpix.cpp
1 issues
syntax error
Error

Line: 242

                  distortion_coeffs_ = (Mat_<double>(1, 5) << k1, k2, p1, p2, k3);
}

TEST(Calib3d_ChessboardSubPixDetector, accuracy) { CV_ChessboardSubpixelTest test; test.safe_run(); }

TEST(Calib3d_CornerSubPix, regression_7204)
{
    cv::Mat image(cv::Size(70, 38), CV_8UC1, cv::Scalar::all(0));
    image(cv::Rect(65, 26, 5, 5)).setTo(cv::Scalar::all(255));

            

Reported by Cppcheck.

modules/calib3d/test/test_decompose_projection.cpp
1 issues
syntax error
Error

Line: 138

              
}

TEST(Calib3d_DecomposeProjectionMatrix, accuracy)
{
    CV_DecomposeProjectionMatrixTest test;
    test.safe_run();
}


            

Reported by Cppcheck.

modules/calib3d/test/test_filter_homography_decomp.cpp
1 issues
syntax error
Error

Line: 573

                  vector<Mat> _rotations, _normals;
};

TEST(Calib3d_FilterDecomposeHomography, regression) { CV_FilterHomographyDecompTest test; test.safe_run(); }

}}

            

Reported by Cppcheck.