UNPKG

@cleerlycode/cornerstone-wado-image-loader

Version:
82 lines (81 loc) 13.8 kB
---------------------------------------------|----------|----------|----------|----------|----------------| File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | ---------------------------------------------|----------|----------|----------|----------|----------------| src/  | 100 | 100 | 100 | 100 |  | externalModules.js  | 100 | 100 | 100 | 100 |  | version.js  | 100 | 100 | 100 | 100 |  | src/imageLoader/  | 41.67 | 50 | 43.59 | 41.76 |  | configure.js  | 0 | 100 | 0 | 0 | 4 | convertColorSpace.js  | 0 | 0 | 0 | 0 |... 34,35,36,38 | createImage.js  | 37.78 | 52.94 | 50 | 37.93 |... 216,218,219 | decodeImageFrame.js  | 63.64 | 66.67 | 66.67 | 63.64 |... 64,66,82,83 | decodeJPEGBaseline8BitColor.js  | 0 | 0 | 0 | 0 |... 71,73,77,78 | getImageFrame.js  | 100 | 100 | 100 | 100 |  | index.js  | 100 | 100 | 100 | 100 |  | isColorImage.js  | 100 | 100 | 100 | 100 |  | isJPEGBaseline8BitColor.js  | 66.67 | 75 | 100 | 66.67 | 7 | registerLoaders.js  | 100 | 100 | 100 | 100 |  | webWorkerManager.js  | 62.35 | 42.86 | 60 | 62.35 |... 313,314,316 | src/imageLoader/colorSpaceConverters/  | 0 | 0 | 0 | 0 |  | convertPALETTECOLOR.js  | 0 | 0 | 0 | 0 |... 49,50,51,52 | convertRGBColorByPixel.js  | 0 | 0 | 0 | 0 |... 14,15,16,17 | convertRGBColorByPlane.js  | 0 | 0 | 0 | 0 |... 16,17,18,19 | convertYBRFullByPixel.js  | 0 | 0 | 0 | 0 |... 18,19,20,21 | convertYBRFullByPlane.js  | 0 | 0 | 0 | 0 |... 20,21,22,23 | index.js  | 100 | 100 | 100 | 100 |  | src/imageLoader/internal/  | 77.27 | 62.5 | 77.78 | 77.27 |  | index.js  | 100 | 100 | 100 | 100 |  | options.js  | 66.67 | 100 | 50 | 66.67 | 12 | xhrRequest.js  | 77.5 | 62.5 | 85.71 | 77.5 |... 74,87,88,93 | src/imageLoader/wadors/  | 18.82 | 22.86 | 15.79 | 18.82 |  | findIndexOfString.js  | 0 | 0 | 0 | 0 |... 35,37,38,43 | getPixelData.js  | 0 | 0 | 0 | 0 |... 64,65,69,72 | index.js  | 100 | 100 | 100 | 100 |  | loadImage.js  | 39.29 | 80 | 20 | 39.29 |... 61,63,64,69 | metaDataManager.js  | 40 | 100 | 25 | 40 | 6,14,18 | register.js  | 100 | 100 | 100 | 100 |  | src/imageLoader/wadors/metaData/  | 4.92 | 2.27 | 20 | 4.92 |  | getNumberString.js  | 0 | 0 | 0 | 0 | 12,14,15,18 | getNumberValue.js  | 0 | 0 | 0 | 0 | 4,6,7,10 | getNumberValues.js  | 0 | 0 | 0 | 0 |... 23,25,26,29 | getValue.js  | 0 | 0 | 0 | 0 |... 18,21,22,25 | index.js  | 100 | 100 | 100 | 100 |  | metaDataProvider.js  | 8.57 | 4.17 | 100 | 8.57 |... 119,120,123 | src/imageLoader/wadouri/  | 49.13 | 41.67 | 53.85 | 49.13 |  | dataSetCacheManager.js  | 65.85 | 36.36 | 72.73 | 65.85 |... 104,105,107 | fileManager.js  | 16.67 | 100 | 0 | 16.67 | 4,6,10,14,18 | getEncapsulatedImageFrame.js  | 22.22 | 50 | 50 | 22.22 |... 23,24,26,29 | getPixelData.js  | 100 | 100 | 100 | 100 |  | getUncompressedImageFrame.js  | 42.86 | 22.22 | 100 | 42.86 |... 42,43,46,49 | index.js  | 100 | 100 | 100 | 100 |  | loadFileRequest.js  | 0 | 100 | 0 | 0 |... 13,15,18,20 | loadImage.js  | 51.92 | 42.86 | 61.54 | 51.92 |... 105,115,117 | parseImageId.js  | 62.5 | 50 | 100 | 62.5 | 9,11,12 | register.js  | 100 | 100 | 100 | 100 |  | unpackBinaryFrame.js  | 0 | 0 | 0 | 0 |... 19,22,25,28 | src/imageLoader/wadouri/metaData/  | 41.41 | 33.75 | 54.55 | 41.41 |  | getImagePixelModule.js  | 26.32 | 22.22 | 40 | 26.32 |... 58,59,60,92 | getLUTs.js  | 8.7 | 16.67 | 50 | 8.7 |... 44,46,47,51 | getModalityLUTOutputPixelRepresentation.js | 15.79 | 12.5 | 50 | 15.79 |... 38,43,44,48 | getNumberValues.js  | 80 | 66.67 | 100 | 80 | 6,11 | index.js  | 100 | 100 | 100 | 100 |  | metaDataProvider.js  | 78.95 | 53.57 | 100 | 78.95 |... 110,113,116 | src/shared/  | 100 | 100 | 100 | 100 |  | getMinMax.js  | 100 | 100 | 100 | 100 |  | src/webWorker/  | 20 | 14.29 | 16.67 | 20 |  | index.js  | 100 | 100 | 100 | 100 |  | webWorker.js  | 17.65 | 14.29 | 16.67 | 17.65 |... 109,110,111 | src/webWorker/decodeTask/  | 43.08 | 50 | 20 | 43.08 |  | decodeImageFrame.js  | 72.22 | 72.22 | 100 | 72.22 |... 47,48,50,52 | decodeTask.js  | 6.9 | 0 | 0 | 6.9 |... ,97,101,105 | src/webWorker/decodeTask/decoders/  | 39.86 | 34.29 | 64.71 | 39.86 |  | decodeBigEndian.js  | 68.75 | 37.5 | 100 | 68.75 | 17,18,22,31,32 | decodeJPEG2000.js  | 6.41 | 18.18 | 20 | 6.41 |... 143,146,151 | decodeJPEGBaseline.js  | 63.64 | 33.33 | 100 | 63.64 | 6,20,21,23 | decodeJPEGLS.js  | 85.11 | 62.5 | 100 | 85.11 |... 52,73,81,94 | decodeJPEGLossless.js  | 57.14 | 54.55 | 100 | 57.14 |... 20,22,25,27 | decodeLittleEndian.js  | 44.44 | 21.43 | 100 | 44.44 |... 23,24,25,28 | decodeRLE.js  | 33.7 | 34.62 | 50 | 33.7 |... 110,112,158 | ---------------------------------------------|----------|----------|----------|----------|----------------| All files  | 37.28 | 36.44 | 43.95 | 37.29 |  | ---------------------------------------------|----------|----------|----------|----------|----------------|