cornerstonejs / cornerstoneTools
Files Coverage
src/ToolMode.js 0.00%
src/drawing/draw.js 100.00%
src/drawing/drawArrow.js 0.00%
src/drawing/drawCircle.js 0.00%
src/drawing/drawEllipse.js 0.00%
src/drawing/drawHandles.js 84.00%
src/drawing/drawJoinedLines.js 0.00%
src/drawing/drawLine.js 87.50%
src/drawing/drawLines.js 0.00%
src/drawing/drawLink.js 0.00%
src/drawing/drawLinkedTextBox.js 0.00%
src/drawing/drawRect.js 0.00%
src/drawing/drawTextBox.js 0.00%
src/drawing/fillBox.js 0.00%
src/drawing/fillOutsideRect.js 0.00%
src/drawing/fillTextLines.js 0.00%
src/drawing/getNewContext.js 100.00%
src/drawing/path.js 94.74%
src/drawing/resetCanvasContextTransform.js 0.00%
src/drawing/setShadow.js 100.00%
src/drawing/transformCanvasContext.js 0.00%
src/eventDispatchers/imageRenderedEventDispatcher.js 15.38%
src/eventDispatchers/mouseEventHandlers/addNewMeasurement.js 3.33%
src/eventDispatchers/mouseEventHandlers/index.js 100.00%
src/eventDispatchers/mouseEventHandlers/mouseDown.js 0.00%
src/eventDispatchers/mouseEventHandlers/mouseDownActivate.js 0.00%
src/eventDispatchers/mouseEventHandlers/mouseDrag.js 0.00%
src/eventDispatchers/mouseEventHandlers/mouseMove.js 0.00%
src/eventDispatchers/mouseToolEventDispatcher.js 100.00%
src/eventDispatchers/newImageEventDispatcher.js 16.67%
src/eventDispatchers/shared/customCallbackHandler.js 92.31%
src/eventDispatchers/touchEventHandlers/addNewMeasurement.js 3.13%
src/eventDispatchers/touchEventHandlers/index.js 100.00%
src/eventDispatchers/touchEventHandlers/multiTouchDrag.js 0.00%
...rc/eventDispatchers/touchEventHandlers/shared/deactivateAllToolInstances.js 0.00%
src/eventDispatchers/touchEventHandlers/tap.js 0.00%
src/eventDispatchers/touchEventHandlers/touchStart.js 0.00%
src/eventDispatchers/touchEventHandlers/touchStartActive.js 0.00%
src/eventDispatchers/touchToolEventDispatcher.js 100.00%
src/eventListeners/internals/normalizeWheel.js 60.61%
src/eventListeners/internals/renderSegmentation.js 5.56%
src/eventListeners/internals/renderSegmentationFill.js 1.64%
src/eventListeners/internals/renderSegmentationOutline.js 81.00%
src/eventListeners/mouseEventListeners.js 3.88%
src/eventListeners/onImageRenderedBrushEventHandler.js 3.85%
src/eventListeners/preventGhostClick.js 19.35%
src/eventListeners/touchEventListeners.js 4.32%
src/eventListeners/wheelEventListener.js 94.74%
src/eventListeners/windowResizeHandler.js 23.08%
src/events.js 100.00%
src/externalModules.js 20.00%
src/importInternal.js 0.00%
src/init.js 0.00%
src/lib.js 100.00%
src/manipulators/anyHandlesOutsideImage.js 0.00%
src/manipulators/getHandleNearImagePoint.js 4.76%
src/manipulators/getHandlePixelPosition.js 0.00%
src/manipulators/handleActivator.js 0.00%
src/manipulators/moveAllHandles.js 5.33%
src/manipulators/moveHandle.js 5.38%
src/manipulators/moveNewHandle.js 4.71%
src/mixins/activeOrDisabledBinaryTool.js 0.00%
src/mixins/enabledOrDisabledBinaryTool.js 0.00%
src/mixins/segmentation/circleSegmentationMixin.js 6.67%
src/mixins/segmentation/freehandSegmentationMixin.js 9.26%
src/mixins/segmentation/polylineSegmentationMixin.js 14.29%
src/mixins/segmentation/rectangleSegmentationMixin.js 7.89%
src/mixins/segmentation/renderBrushMixin.js 0.00%
src/orientation/getOrientationString.js 0.00%
src/orientation/index.js 100.00%
src/orientation/invertOrientationString.js 0.00%
src/stackTools/fusionRenderer.js 0.00%
src/stackTools/playClip.js 0.81%
src/stackTools/stackPrefetch.js 4.97%
src/stackTools/stackRenderers.js 100.00%
src/stateManagement/frameOfReferenceStateManager.js 12.12%
src/stateManagement/imageIdSpecificStateManager.js 51.85%
src/stateManagement/loadHandlerManager.js 97.83%
src/stateManagement/stackSpecificStateManager.js 6.06%
src/stateManagement/textStyle.js 8.00%
src/stateManagement/toolColors.js 50.00%
src/stateManagement/toolCoordinates.js 20.00%
src/stateManagement/toolState.js 0.00%
src/stateManagement/toolStyle.js 45.45%
src/store/addTool.js 17.39%
src/store/filterToolsUsableWithMultiPartTools.js 0.00%
src/store/getActiveToolsForElement.js 0.00%
src/store/getInteractiveToolsForElement.js 0.00%
src/store/getToolForElement.js 0.00%
src/store/getToolsWithDataForElement.js 0.00%
src/store/getToolsWithMoveableHandles.js 0.00%
src/store/index.js 50.00%
src/store/internals/addEnabledElement.js 4.76%
src/store/internals/removeEnabledElement.js 10.53%
src/store/isToolActiveForElement.js 0.00%
src/store/modules/cursorModule.js 66.67%
src/store/modules/globalConfigurationModule.js 100.00%
src/store/modules/manipulatorStateModule.js 2.78%
src/store/modules/segmentationModule/activeLabelmapIndex.js 0.00%
src/store/modules/segmentationModule/activeSegmentIndex.js 0.00%
src/store/modules/segmentationModule/addLabelmap2D.js 6.67%
src/store/modules/segmentationModule/addLabelmap3D.js 7.69%
src/store/modules/segmentationModule/arrayTypes.js 100.00%
src/store/modules/segmentationModule/colorLUT.js 10.45%
src/store/modules/segmentationModule/defaultConfiguration.js 100.00%
src/store/modules/segmentationModule/deleteSegment.js 0.00%
src/store/modules/segmentationModule/getBrushColor.js 4.55%
src/store/modules/segmentationModule/getElement.js 0.00%
src/store/modules/segmentationModule/getLabelmap2D.js 4.08%
src/store/modules/segmentationModule/getLabelmapBuffers.js 2.27%
src/store/modules/segmentationModule/getLabelmapStats.js 58.16%
src/store/modules/segmentationModule/getLabelmaps3D.js 4.76%
src/store/modules/segmentationModule/getSegmentOfActiveLabelmapAtEvent.js 3.03%
src/store/modules/segmentationModule/getSegmentsOnPixeldata.js 0.00%
src/store/modules/segmentationModule/history.js 88.24%
src/store/modules/segmentationModule/index.js 0.00%
src/store/modules/segmentationModule/metadata.js 2.33%
src/store/modules/segmentationModule/segmentVisibility.js 2.17%
src/store/modules/segmentationModule/setLabelmap3D.js 2.63%
src/store/modules/segmentationModule/setRadius.js 0.00%
src/store/modules/segmentationModule/state.js 100.00%
src/store/removeTool.js 20.00%
src/store/setToolCursor.js 5.00%
src/store/setToolMode.js 20.28%
src/store/setToolOptions.js 28.57%
src/synchronization/Synchronizer.js 0.00%
src/synchronization/panZoomSynchronizer.js 0.00%
src/synchronization/stackImageIndexSynchronizer.js 0.00%
src/synchronization/stackImagePositionOffsetSynchronizer.js 0.00%
src/synchronization/stackImagePositionSynchronizer.js 0.00%
src/synchronization/stackScrollSynchronizer.js 0.00%
src/synchronization/updateImageSynchronizer.js 0.00%
src/synchronization/wwwcSynchronizer.js 0.00%
src/thirdParty/register.js 4.17%
src/thirdParty/registerItem.js 8.33%
src/thirdParty/registerMixin.js 8.33%
src/thirdParty/registerModule.js 7.69%
src/thirdParty/registerSome.js 0.00%
src/toolOptions.js 94.12%
src/tools/CrosshairsTool.js 7.89%
src/tools/DoubleTapFitToWindowTool.js 100.00%
src/tools/DragProbeTool.js 25.74%
src/tools/EraserTool.js 0.00%
src/tools/FreehandRoiSculptorTool.js 0.25%
src/tools/MagnifyTool.js 0.00%
src/tools/OrientationMarkersTool.js 32.65%
src/tools/OverlayTool.js 1.67%
src/tools/PanMultiTouchTool.js 100.00%
src/tools/PanTool.js 100.00%
src/tools/ReferenceLinesTool.js 3.13%
src/tools/RotateTool.js 16.67%
src/tools/RotateTouchTool.js 100.00%
src/tools/ScaleOverlayTool.js 40.00%
src/tools/StackScrollMouseWheelTool.js 100.00%
src/tools/StackScrollMultiTouchTool.js 57.58%
src/tools/StackScrollTool.js 57.58%
src/tools/WwwcRegionTool.js 20.99%
src/tools/WwwcTool.js 40.00%
src/tools/ZoomMouseWheelTool.js 100.00%
src/tools/ZoomTool.js 3.03%
src/tools/ZoomTouchPinchTool.js 5.00%
src/tools/annotation/AngleTool.js 31.30%
src/tools/annotation/ArrowAnnotateTool.js 0.00%
src/tools/annotation/BidirectionalTool.js 59.09%
src/tools/annotation/CircleRoiTool.js 77.84%
src/tools/annotation/CobbAngleTool.js 26.47%
src/tools/annotation/EllipticalRoiTool.js 33.33%
src/tools/annotation/FreehandRoiTool.js 8.35%
src/tools/annotation/LengthTool.js 37.35%
src/tools/annotation/ProbeTool.js 52.78%
src/tools/annotation/RectangleRoiTool.js 43.40%
src/tools/annotation/TextMarkerTool.js 1.35%
src/tools/annotation/bidirectionalTool/addNewMeasurement.js 2.04%
src/tools/annotation/bidirectionalTool/createNewMeasurement.js 16.67%
src/tools/annotation/bidirectionalTool/handleSelectedCallback.js 0.00%
src/tools/annotation/bidirectionalTool/handleSelectedMouseCallback.js 4.35%
src/tools/annotation/bidirectionalTool/handleSelectedTouchCallback.js 4.84%
src/tools/annotation/bidirectionalTool/invertHandles.js 7.14%
src/tools/annotation/bidirectionalTool/mouseMoveCallback.js 2.44%
src/tools/annotation/bidirectionalTool/moveHandle/getBaseData.js 100.00%
src/tools/annotation/bidirectionalTool/moveHandle/moveHandle.js 0.00%
.../tools/annotation/bidirectionalTool/moveHandle/moveLongLine/moveLongLine.js 100.00%
...tation/bidirectionalTool/moveHandle/moveLongLine/updatePerpendicularLine.js 100.00%
...idirectionalTool/moveHandle/movePerpendicularLine/getDirectionMultiplier.js 100.00%
...otation/bidirectionalTool/moveHandle/movePerpendicularLine/getHelperLine.js 100.00%
...tation/bidirectionalTool/moveHandle/movePerpendicularLine/getMovingPoint.js 100.00%
...directionalTool/moveHandle/movePerpendicularLine/isPerpendicularEndFixed.js 100.00%
...otation/bidirectionalTool/moveHandle/movePerpendicularLine/lineHasLength.js 100.00%
...bidirectionalTool/moveHandle/movePerpendicularLine/movePerpendicularLine.js 100.00%
...directionalTool/moveHandle/movePerpendicularLine/updatePerpendicularLine.js 100.00%
src/tools/annotation/bidirectionalTool/moveHandle/setHandlesPosition.js 0.00%
src/tools/annotation/bidirectionalTool/moveHandle/touchMoveHandle.js 2.70%
src/tools/annotation/bidirectionalTool/pointNearTool.js 5.26%
src/tools/annotation/bidirectionalTool/renderToolData.js 80.39%
.../annotation/bidirectionalTool/utils/calculateLongestAndShortestDiameters.js 100.00%
src/tools/annotation/bidirectionalTool/utils/getDistanceWithPixelSpacing.js 100.00%
src/tools/annotation/bidirectionalTool/utils/getLineVector.js 100.00%
.../tools/annotation/bidirectionalTool/utils/getLongestAndShortestDiameters.js 0.00%
src/tools/annotation/bidirectionalTool/utils/getSelectedHandleKey.js 0.00%
...ools/annotation/bidirectionalTool/utils/repositionBidirectionalArmHandle.js 0.00%
.../tools/annotation/bidirectionalTool/utils/updatePerpendicularLineHandles.js 83.33%
src/tools/base/BaseAnnotationTool.js 3.33%
src/tools/base/BaseBrushTool.js 0.97%
src/tools/base/BaseTool.js 75.00%
src/tools/cursors/MouseCursor.js 11.76%
src/tools/cursors/index.js 100.00%
src/tools/referenceLines/calculateReferenceLine.js 0.00%
src/tools/referenceLines/renderActiveReferenceLine.js 0.00%
src/tools/segmentation/BrushTool.js 10.53%
src/tools/segmentation/CircleScissorsTool.js 100.00%
src/tools/segmentation/CorrectionScissorsTool.js 100.00%
src/tools/segmentation/FreehandScissorsTool.js 100.00%
src/tools/segmentation/RectangleScissorsTool.js 100.00%
src/tools/segmentation/SphericalBrushTool.js 2.00%
src/tools/segmentation/strategies/correction.js 0.53%
src/tools/segmentation/strategies/eraseCircle.js 5.56%
src/tools/segmentation/strategies/eraseFreehand.js 5.56%
src/tools/segmentation/strategies/eraseRectangle.js 5.88%
src/tools/segmentation/strategies/fillCircle.js 5.56%
src/tools/segmentation/strategies/fillFreehand.js 5.56%
src/tools/segmentation/strategies/fillRectangle.js 6.25%
src/util/SaveAs.js 0.00%
src/util/angleBetweenPoints.js 0.00%
src/util/calculateSUV.js 87.88%
src/util/clip.js 4.35%
src/util/convertToVector3.js 100.00%
src/util/copyPoints.js 100.00%
src/util/debounce.js 19.54%
src/util/debugLib/common.js 48.18%
src/util/debugLib/index.js 63.77%
src/util/deepmerge.js 86.96%
src/util/ellipse/calculateEllipseStatistics.js 96.00%
src/util/ellipse/pointInEllipse.js 88.89%
src/util/findAndMoveHelpers.js 8.57%
src/util/freehand/ClickedLineData.js 0.00%
src/util/freehand/FreehandHandleData.js 100.00%
src/util/freehand/FreehandLineFinder.js 0.92%
src/util/freehand/addLine.js 0.00%
src/util/freehand/calculateFreehandStatistics.js 100.00%
src/util/freehand/freehandArea.js 100.00%
src/util/freehand/freehandIntersect.js 84.85%
src/util/freehand/insertOrDelete.js 0.00%
src/util/freehand/pointInFreehand.js 65.71%
src/util/getActiveTool.js 0.00%
src/util/getCircleCoords.js 100.00%
src/util/getDefault.js 100.00%
src/util/getKeyPressData.js 0.00%
src/util/getLuminance.js 0.00%
src/util/getMaxSimultaneousRequests.js 2.78%
src/util/getPixelSpacing.js 100.00%
src/util/getProximityThreshold.js 0.00%
src/util/getRGBPixels.js 0.00%
src/util/getROITextBoxCoords.js 73.33%
src/util/isEmptyObject.js 50.00%
src/util/isObject.js 100.00%
src/util/isPointInImage.js 0.00%
src/util/isPointInPolygon.js 0.00%
src/util/lineSegDistance.js 100.00%
src/util/logger.js 83.33%
src/util/makeUnselectable.js 0.00%
src/util/numbersWithCommas.js 100.00%
src/util/pointInsideBoundingBox.js 0.00%
src/util/pointProjector.js 0.00%
src/util/roundToDecimal.js 100.00%
src/util/scroll.js 0.00%
src/util/scrollToIndex.js 0.00%
src/util/segmentation/drawBrush.js 0.00%
src/util/segmentation/eraseIfSegmentIndex.js 0.00%
src/util/segmentation/eraseOutsideBoundingBox.js 0.00%
src/util/segmentation/eraseShape.js 4.76%
src/util/segmentation/fillOutsideBoundingBox.js 0.00%
src/util/segmentation/fillShape.js 4.55%
src/util/segmentation/floodFill.js 0.00%
src/util/segmentation/getBoundingBoxAroundCircle.js 0.00%
src/util/segmentation/getBoundingBoxAroundPolygon.js 0.00%
src/util/segmentation/getCircle.js 95.00%
src/util/segmentation/getDiffBetweenPixelData.js 100.00%
src/util/segmentation/getPixelPathBetweenPixels.js 41.11%
src/util/segmentation/isSameSegment.js 0.00%
src/util/segmentation/triggerLabelmapModifiedEvent.js 0.00%
src/util/setContextToDisplayFontSize.js 0.00%
src/util/throttle.js 66.67%
src/util/triggerEvent.js 66.67%
src/util/uuidv4.js 0.00%
src/util/wait.js 12.50%
src/util/zoom/changeViewportScale.js 83.33%
src/util/zoom/correctShift.js 0.00%
Project Totals (287 files) 21.70%
Loading