diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in
index f8c81df9d1c6c19d5e69a6c4a4ef525f78b4120b..519e48abefb3397248fa6523f73144316f095300 100644
--- a/CMake/CTestCustom.cmake.in
+++ b/CMake/CTestCustom.cmake.in
@@ -21,11 +21,6 @@ SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
 SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 300)
 SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
 
-#SET(CTEST_EXTRA_COVERAGE_GLOB
-#  Source/.*/*.h
-#  Source/.*/*.txx
-#  Source/.*/*.cxx
-#  )
 
 SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
@@ -39,6 +34,10 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  # Exclude files from the ThirdParty Utilities directories
  ".*/Testing/Utilities/.*"
  ".*/Utilities/.*"
+ 
+ # Exclude SWIG wrappers files
+ "/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.cxx"
+ "/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.cxx"
  )
 
 SET(CTEST_CUSTOM_WARNING_EXCEPTION