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