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

92.33% Statements 337/365
77.97% Branches 223/286
98.08% Functions 51/52
92.16% Lines 329/357

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
80% 24/30 58.62% 17/29 100% 1/1 80% 24/30
canRegenerateImage.ts
85.71% 12/14 75% 3/4 100% 1/1 85.71% 12/14
checkEditInfoState.ts
100% 20/20 100% 24/24 100% 8/8 100% 19/19
createImageWrapper.ts
100% 65/65 87.5% 28/32 100% 8/8 100% 65/65
doubleCheckResize.ts
93.33% 14/15 85.71% 12/14 100% 1/1 93.33% 14/15
findEditingImage.ts
100% 13/13 100% 6/6 100% 2/2 100% 10/10
generateDataURL.ts
96.67% 29/30 85.71% 24/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.5% 39/40 76.19% 32/42 100% 9/9 97.5% 39/40
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
74.58% 44/59 55.26% 21/38 75% 3/4 74.58% 44/59