<div dir="ltr">It seems that when some of the LabelMap filters were moved <br>out of the Review directory and into the module<div><br></div><div> Filtering/LabelMaps</div><div><br></div><div>Their .cxx test files were properly moved, but they were not </div>
<div>added to the corresponding CMakeLists.txt file.</div><div><div><br></div><div><br></div><div>As a consequence,</div><div><br></div><div>from the 95 files that have the lowest coverage in ITK:</div><div><br></div><div>
<a href="http://open.cdash.org/viewCoverage.php?buildid=3218139">http://open.cdash.org/viewCoverage.php?buildid=3218139</a><br></div><div><br></div><div><br></div><div>27 of them are LabelMap classes:</div><div><br></div>
<div><div>itkShapeUniqueLabelMapFilter.h</div><div>itkBinaryStatisticsOpeningImageFilter.hxx</div><div>itkBinaryStatisticsKeepNObjectsImageFilter.hxx</div><div>itkBinaryShapeKeepNObjectsImageFilter.hxx</div><div>itkLabelStatisticsKeepNObjectsImageFilter.hxx</div>
<div>itkLabelStatisticsOpeningImageFilter.hxx</div><div>itkLabelShapeKeepNObjectsImageFilter.hxx</div><div>itkLabelShapeOpeningImageFilter.hxx</div><div>itkStatisticsRelabelImageFilter.hxx</div><div>itkShapeRelabelImageFilter.hxx</div>
<div>itkBinaryStatisticsKeepNObjectsImageFilter.h</div><div>itkBinaryStatisticsOpeningImageFilter.h</div><div>itkBinaryShapeKeepNObjectsImageFilter.h</div><div>itkLabelStatisticsKeepNObjectsImageFilter.h</div><div>itkShapeUniqueLabelMapFilter.hxx</div>
<div>itkLabelStatisticsOpeningImageFilter.h</div><div>itkLabelShapeKeepNObjectsImageFilter.h</div><div>itkStatisticsRelabelImageFilter.h</div><div>itkLabelShapeOpeningImageFilter.h</div><div>itkStatisticsOpeningLabelMapFilter.hxx</div>
<div>itkStatisticsKeepNObjectsLabelMapFilter.hxx</div><div>itkShapeRelabelImageFilter.h</div><div>itkStatisticsRelabelLabelMapFilter.hxx</div><div>itkStatisticsUniqueLabelMapFilter.hxx</div><div>itkStatisticsLabelObjectAccessors.h</div>
<div>itkObjectByObjectLabelMapFilter.h</div><div>itkStatisticsLabelObject.h</div></div><div><br></div><div><br></div><div><div>Here is an example of a fix for the code coverage of the</div><div>ShapeUniqueLabelMapFilter:</div>
<div><br></div><div><a href="http://review.source.kitware.com/#/c/14427/">http://review.source.kitware.com/#/c/14427/</a></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>The next batch of classes with the lowest code coverage</div>
<div>in the toolkit are the following 24 files from the FEM framework:</div><div><br></div><div><div>FEM/src/itkFEMElement3DC0LinearTriangular.cxx</div><div>FEM/src/itkFEMLoadPoint.cxx</div><div>FEM/src/itkFEMElement3DC0LinearTriangularLaplaceBeltrami.cxx</div>
<div>FEM/src/itkFEMLoadNoisyLandmark.cxx</div><div>FEM/src/itkFEMElement2DC0LinearLineStress.cxx</div><div>FEM/include/itkFEMElement3DMembrane1DOF.hxx</div><div>FEM/src/itkFEMElement2DC0QuadraticTriangularStrain.cxx</div>
<div>FEM/src/itkFEMElement2DC0QuadraticTriangularStress.cxx</div><div>FEM/src/itkFEMElement3DC0LinearHexahedronStrain.cxx</div><div>FEM/src/itkFEMElement2DC0LinearQuadrilateralStress.cxx</div><div>FEM/src/itkFEMElement2DC0LinearQuadrilateralStrain.cxx</div>
<div>FEM/src/itkFEMElement3DC0LinearTriangularMembrane.cxx</div><div>FEM/src/itkFEMElement3DC0LinearTetrahedronStrain.cxx</div><div>FEM/src/itkFEMElement3DC0LinearTetrahedronMembrane.cxx</div><div>FEM/src/itkFEMElement2DC0LinearTriangularMembrane.cxx</div>
<div>FEM/src/itkFEMElement2DC0LinearTriangularStrain.cxx</div><div>FEM/src/itkFEMElement2DC0LinearTriangularStress.cxx</div><div>FEM/src/itkFEMLinearSystemWrapper.cxx</div><div>FEM/src/itkFEMLoadElementBase.cxx</div><div>
FEM/src/itkFEMElement2DC1Beam.cxx</div><div>FEM/src/itkFEMElement2DC0LinearLine.cxx</div><div>FEM/src/itkFEMElement2DC0LinearTriangular.cxx</div><div>FEM/src/itkFEMElement2DC0QuadraticTriangular.cxx</div><div>FEM/src/itkFEMLoadLandmark.cxx</div>
</div><div><br></div><div><br></div><div><br></div><div>Raising code coverage is an ideal task for new developers</div><div>who want to get familiar with the system.</div><div><br></div><div><br></div><div>I'll be happy to mentor any ITK community member who would</div>
<div>like to help improve the code coverage of the toolkit, and in the</div><div>process become more familiar with the developing practices</div><div>of ITK.</div><div><br></div><div><br></div><div> Any takers ? :-)</div>
<div><br></div><div><br></div><div>In the meantime, </div><div>I'll be taking care of one of these files per day.</div><div><br></div><div><br></div><div> Luis</div><div><br></div><div><br></div></div></div>