All files roosterjs-content-model-plugins/lib/imageEdit/utils

93.68% Statements 356/380
78.45% Branches 233/297
98.08% Functions 51/52
93.55% Lines 348/372

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
applyChange.ts
83.33% 25/30 58.62% 17/29 100% 1/1 83.33% 25/30
canRegenerateImage.ts
85.71% 12/14 75% 3/4 100% 1/1 85.71% 12/14
checkEditInfoState.ts
100% 19/19 100% 23/23 100% 7/7 100% 18/18
createImageWrapper.ts
100% 64/64 87.5% 28/32 100% 8/8 100% 64/64
doubleCheckResize.ts
93.33% 14/15 92.86% 13/14 100% 1/1 93.33% 14/15
filterInnerResizerHandles.ts
100% 7/7 100% 4/4 100% 3/3 100% 7/7
findEditingImage.ts
100% 14/14 100% 6/6 100% 2/2 100% 11/11
generateDataURL.ts
96.67% 29/30 67.86% 19/28 100% 1/1 96.67% 29/30
generateImageSize.ts
91.67% 11/12 87.5% 14/16 100% 1/1 91.67% 11/12
getDropAndDragHelpers.ts
100% 6/6 100% 0/0 100% 3/3 100% 6/6
getHTMLImageOptions.ts
100% 6/6 64.29% 9/14 100% 1/1 100% 5/5
getSelectedImage.ts
100% 6/6 100% 5/5 100% 1/1 100% 6/6
imageEditUtils.ts
97.83% 45/46 80% 40/50 100% 9/9 97.83% 45/46
normalizeImageSelection.ts
100% 12/12 100% 10/10 100% 1/1 100% 12/12
updateHandleCursor.ts
100% 19/19 70% 7/10 100% 4/4 100% 16/16
updateImageEditInfo.ts
94.44% 17/18 78.57% 11/14 100% 6/6 94.44% 17/18
updateWrapper.ts
80.65% 50/62 63.16% 24/38 50% 1/2 80.65% 50/62