Coverage report: 97%

Files Functions Classes

coverage.py v7.6.4, created at 2024-10-29 15:11 +0000

File function statements missing excluded coverage
src/colorspace/CVD.py deutan 5 0 0 100%
src/colorspace/CVD.py protan 5 0 0 100%
src/colorspace/CVD.py tritan 5 0 0 100%
src/colorspace/CVD.py CVD.__init__ 43 2 0 95%
src/colorspace/CVD.py CVD._tomat 2 0 0 100%
src/colorspace/CVD.py CVD.protan_cvd_matrizes 15 0 0 100%
src/colorspace/CVD.py CVD.deutan_cvd_matrizes 15 0 0 100%
src/colorspace/CVD.py CVD.tritan_cvd_matrizes 15 0 0 100%
src/colorspace/CVD.py CVD._interpolate_cvd_transform 13 0 0 100%
src/colorspace/CVD.py CVD._simulate 17 1 0 94%
src/colorspace/CVD.py CVD.colors 19 0 0 100%
src/colorspace/CVD.py desaturate 68 4 0 94%
src/colorspace/CVD.py (no function) 16 0 0 100%
src/colorspace/__init__.py (no function) 49 0 0 100%
src/colorspace/cmap.py cmap_to_sRGB 15 0 0 100%
src/colorspace/cmap.py (no function) 1 0 0 100%
src/colorspace/colorlib.py colorlib._DEG2RAD 1 0 0 100%
src/colorspace/colorlib.py colorlib._RAD2DEG 1 0 0 100%
src/colorspace/colorlib.py colorlib._get_white_ 12 0 0 100%
src/colorspace/colorlib.py colorlib._check_input_arrays_ 15 2 0 87%
src/colorspace/colorlib.py colorlib.gtrans 11 0 0 100%
src/colorspace/colorlib.py colorlib.ftrans 10 0 0 100%
src/colorspace/colorlib.py colorlib._qtrans 6 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_RGB 6 0 0 100%
src/colorspace/colorlib.py colorlib.RGB_to_sRGB 6 0 0 100%
src/colorspace/colorlib.py colorlib.RGB_to_XYZ 5 0 0 100%
src/colorspace/colorlib.py colorlib.XYZ_to_RGB 5 0 0 100%
src/colorspace/colorlib.py colorlib.LAB_to_XYZ 28 1 0 96%
src/colorspace/colorlib.py colorlib.XYZ_to_LAB 17 0 0 100%
src/colorspace/colorlib.py colorlib.XYZ_to_LAB.f 5 0 0 100%
src/colorspace/colorlib.py colorlib.LAB_to_polarLAB 9 0 0 100%
src/colorspace/colorlib.py colorlib.polarLAB_to_LAB 5 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_HSV 10 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_HSV.gethsv 12 0 0 100%
src/colorspace/colorlib.py colorlib.HSV_to_sRGB 10 0 0 100%
src/colorspace/colorlib.py colorlib.HSV_to_sRGB.getrgb 15 1 0 93%
src/colorspace/colorlib.py colorlib.sRGB_to_HLS 10 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_HLS.gethls 15 0 0 100%
src/colorspace/colorlib.py colorlib.HLS_to_sRGB 10 0 0 100%
src/colorspace/colorlib.py colorlib.HLS_to_sRGB.getrgb 4 0 0 100%
src/colorspace/colorlib.py colorlib.XYZ_to_uv 9 0 0 100%
src/colorspace/colorlib.py colorlib.XYZ_to_LUV 11 0 0 100%
src/colorspace/colorlib.py colorlib.LUV_to_XYZ 21 0 0 100%
src/colorspace/colorlib.py colorlib.LUV_to_XYZ.fun 1 0 0 100%
src/colorspace/colorlib.py colorlib.LUV_to_polarLUV 9 0 0 100%
src/colorspace/colorlib.py colorlib.polarLUV_to_LUV 4 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex 12 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.rgbfixup 2 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.rgbfixup.fun 1 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.rgbcleanup 2 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.rgbcleanup.fun 4 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.validrgb 4 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.gethex 3 0 0 100%
src/colorspace/colorlib.py colorlib.sRGB_to_hex.gethex.applyfun 2 0 0 100%
src/colorspace/colorlib.py colorlib.hex_to_sRGB 14 0 0 100%
src/colorspace/colorlib.py colorlib.hex_to_sRGB.validhex 4 0 0 100%
src/colorspace/colorlib.py colorlib.hex_to_sRGB.getrgb 4 0 0 100%
src/colorspace/colorlib.py colorlib.hex_to_sRGB.getrgb.applyfun 1 0 0 100%
src/colorspace/colorlib.py colorlib.RGB_to_HLS 5 0 0 100%
src/colorspace/colorlib.py colorlib.RGB_to_HLS.gethls 11 0 0 100%
src/colorspace/colorlib.py colorlib.HLS_to_RGB 5 0 0 100%
src/colorspace/colorlib.py colorlib.HLS_to_RGB.getrgb 4 0 0 100%
src/colorspace/colorlib.py colorlib.RGB_to_HSV 5 0 0 100%
src/colorspace/colorlib.py colorlib.RGB_to_HSV.gethsv 6 0 0 100%
src/colorspace/colorlib.py colorlib.HSV_to_RGB 5 0 0 100%
src/colorspace/colorlib.py colorlib.HSV_to_RGB.getrgb 12 0 0 100%
src/colorspace/colorlib.py colorobject.__repr__ 58 4 0 93%
src/colorspace/colorlib.py colorobject.__call__ 1 0 0 100%
src/colorspace/colorlib.py colorobject.__iter__ 2 0 0 100%
src/colorspace/colorlib.py colorobject.__next__ 5 0 0 100%
src/colorspace/colorlib.py colorobject.__getitem__ 9 0 0 100%
src/colorspace/colorlib.py colorobject.get_whitepoint 1 0 0 100%
src/colorspace/colorlib.py colorobject.set_whitepoint 5 0 0 100%
src/colorspace/colorlib.py colorobject._check_if_allowed_ 3 0 0 100%
src/colorspace/colorlib.py colorobject._transform_via_path_ 1 0 0 100%
src/colorspace/colorlib.py colorobject._colorobject_check_input_arrays_ 30 2 0 93%
src/colorspace/colorlib.py colorobject.hasalpha 5 0 0 100%
src/colorspace/colorlib.py colorobject.dropalpha 2 0 0 100%
src/colorspace/colorlib.py colorobject.specplot 5 0 0 100%
src/colorspace/colorlib.py colorobject.swatchplot 4 0 0 100%
src/colorspace/colorlib.py colorobject.hclplot 2 0 0 100%
src/colorspace/colorlib.py colorobject.colors 16 0 0 100%
src/colorspace/colorlib.py colorobject.get 10 0 0 100%
src/colorspace/colorlib.py colorobject.set 21 2 0 90%
src/colorspace/colorlib.py colorobject.length 1 0 0 100%
src/colorspace/colorlib.py colorobject.__len__ 1 0 0 100%
src/colorspace/colorlib.py colorobject._cannot 1 1 0 0%
src/colorspace/colorlib.py colorobject._ambiguous 1 0 0 100%
src/colorspace/colorlib.py polarLUV.__init__ 4 0 0 100%
src/colorspace/colorlib.py polarLUV.to 30 1 0 97%
src/colorspace/colorlib.py CIELUV.__init__ 4 0 0 100%
src/colorspace/colorlib.py CIELUV.to 31 1 0 97%
src/colorspace/colorlib.py CIEXYZ.__init__ 4 0 0 100%
src/colorspace/colorlib.py CIEXYZ.to 32 1 0 97%
src/colorspace/colorlib.py RGB.__init__ 4 0 0 100%
src/colorspace/colorlib.py RGB.to 34 1 0 97%
src/colorspace/colorlib.py sRGB.__init__ 5 0 0 100%
src/colorspace/colorlib.py sRGB.to 34 1 0 97%
src/colorspace/colorlib.py CIELAB.__init__ 4 0 0 100%
src/colorspace/colorlib.py CIELAB.to 31 1 0 97%
src/colorspace/colorlib.py polarLAB.__init__ 4 0 0 100%
src/colorspace/colorlib.py polarLAB.to 30 1 0 97%
src/colorspace/colorlib.py HSV.__init__ 4 0 0 100%
src/colorspace/colorlib.py HSV.to 22 1 0 95%
src/colorspace/colorlib.py HLS.__init__ 4 0 0 100%
src/colorspace/colorlib.py HLS.to 22 1 0 95%
src/colorspace/colorlib.py hexcols.__init__ 11 0 0 100%
src/colorspace/colorlib.py hexcols.__init__.get_alpha 2 0 0 100%
src/colorspace/colorlib.py hexcols.__init__.remove_alpha 1 0 0 100%
src/colorspace/colorlib.py hexcols.to 30 1 0 97%
src/colorspace/colorlib.py hexcols._repr_html_ 0 0 32 100%
src/colorspace/colorlib.py compare_colors 33 0 0 100%
src/colorspace/colorlib.py compare_colors.distance 10 1 0 90%
src/colorspace/colorlib.py (no function) 106 0 1 100%
src/colorspace/datasets.py _getdataset_volcano 2 0 0 100%
src/colorspace/datasets.py _getdataset_HarzTraffic 27 4 0 85%
src/colorspace/datasets.py _getdataset_MonthlyHarzTraffic 22 2 0 91%
src/colorspace/datasets.py dataset 14 0 0 100%
src/colorspace/datasets.py (no function) 4 0 0 100%
src/colorspace/demos.py demoplot 26 0 0 100%
src/colorspace/demos.py _demoplot_set_labels 9 0 0 100%
src/colorspace/demos.py Bar 24 0 0 100%
src/colorspace/demos.py Pie 18 0 0 100%
src/colorspace/demos.py Spine 31 0 0 100%
src/colorspace/demos.py Heatmap 33 0 0 100%
src/colorspace/demos.py Matrix 31 0 0 100%
src/colorspace/demos.py Lines 26 0 0 100%
src/colorspace/demos.py Map 27 0 0 100%
src/colorspace/demos.py Spectrum 2 0 0 100%
src/colorspace/demos.py get_volcano_data 14 0 0 100%
src/colorspace/demos.py get_map_data 17 0 0 100%
src/colorspace/demos.py (no function) 12 0 0 100%
src/colorspace/hcl_palettes.py divergingx_palettes 2 0 0 100%
src/colorspace/hcl_palettes.py hcl_palettes 44 0 0 100%
src/colorspace/hcl_palettes.py hcl_palettes.customerror 4 0 0 100%
src/colorspace/hcl_palettes.py (no function) 2 0 0 100%
src/colorspace/hclplot.py hclplot 266 13 0 95%
src/colorspace/hclplot.py hclplot.conv_colors 10 0 0 100%
src/colorspace/hclplot.py (no function) 1 0 0 100%
src/colorspace/palettes.py palette.__init__ 24 2 0 92%
src/colorspace/palettes.py palette._LinearSegmentedColormap_to_colors 8 0 0 100%
src/colorspace/palettes.py palette.__len__ 1 0 0 100%
src/colorspace/palettes.py palette.__repr__ 3 0 0 100%
src/colorspace/palettes.py palette.rename 3 0 0 100%
src/colorspace/palettes.py palette.name 1 0 0 100%
src/colorspace/palettes.py palette.colors 1 0 0 100%
src/colorspace/palettes.py palette.swatchplot 4 0 0 100%
src/colorspace/palettes.py palette.specplot 2 2 0 0%
src/colorspace/palettes.py palette.hclplot 2 0 0 100%
src/colorspace/palettes.py palette.cmap 6 0 0 100%
src/colorspace/palettes.py defaultpalette.__init__ 4 0 0 100%
src/colorspace/palettes.py defaultpalette.__repr__ 15 0 0 100%
src/colorspace/palettes.py defaultpalette.__call__ 1 0 0 100%
src/colorspace/palettes.py defaultpalette.method 1 0 0 100%
src/colorspace/palettes.py defaultpalette.type 1 0 0 100%
src/colorspace/palettes.py defaultpalette.name 1 0 0 100%
src/colorspace/palettes.py defaultpalette.rename 1 0 0 100%
src/colorspace/palettes.py defaultpalette.get 3 0 0 100%
src/colorspace/palettes.py defaultpalette.set 19 5 0 74%
src/colorspace/palettes.py defaultpalette.get_settings 1 0 0 100%
src/colorspace/palettes.py defaultpalette.colors 6 0 0 100%
src/colorspace/palettes.py hclpalettes.__init__ 34 0 0 100%
src/colorspace/palettes.py hclpalettes.__repr__ 17 0 0 100%
src/colorspace/palettes.py hclpalettes.get_palette_types 1 0 0 100%
src/colorspace/palettes.py hclpalettes.get_palettes 18 0 0 100%
src/colorspace/palettes.py hclpalettes.get_palette 10 0 0 100%
src/colorspace/palettes.py hclpalettes._load_palette_config_ 38 0 0 100%
src/colorspace/palettes.py hclpalettes.length 4 0 0 100%
src/colorspace/palettes.py hclpalettes.plot 4 0 0 100%
src/colorspace/palettes.py hclpalette.__call__ 1 0 0 100%
src/colorspace/palettes.py hclpalette.specplot 2 0 0 100%
src/colorspace/palettes.py hclpalette.swatchplot 2 0 0 100%
src/colorspace/palettes.py hclpalette.hclplot 2 0 0 100%
src/colorspace/palettes.py hclpalette.name 1 0 0 100%
src/colorspace/palettes.py hclpalette.get 3 0 0 100%
src/colorspace/palettes.py hclpalette.show_settings 7 0 0 100%
src/colorspace/palettes.py hclpalette.show_settings.get 10 0 0 100%
src/colorspace/palettes.py hclpalette._checkinput_ 7 1 0 86%
src/colorspace/palettes.py hclpalette._checkinput_.fun 26 6 0 77%
src/colorspace/palettes.py hclpalette.cmap 9 2 0 78%
src/colorspace/palettes.py hclpalette._set_rev 3 0 0 100%
src/colorspace/palettes.py hclpalette._get_alpha_array 29 8 0 72%
src/colorspace/palettes.py hclpalette._chroma_trajectory 10 0 0 100%
src/colorspace/palettes.py hclpalette._chroma_trajectory._linear_trajectory 1 0 0 100%
src/colorspace/palettes.py hclpalette._chroma_trajectory._triangle_trajectory 3 0 0 100%
src/colorspace/palettes.py hclpalette._get_seqhcl 5 0 0 100%
src/colorspace/palettes.py qualitative_hcl.__init__ 48 4 0 92%
src/colorspace/palettes.py qualitative_hcl.colors 18 0 0 100%
src/colorspace/palettes.py rainbow_hcl.__init__ 26 1 0 96%
src/colorspace/palettes.py diverging_hcl.__init__ 51 4 0 92%
src/colorspace/palettes.py diverging_hcl.colors 29 0 0 100%
src/colorspace/palettes.py divergingx_hcl.__init__ 71 1 0 99%
src/colorspace/palettes.py divergingx_hcl.__init__.isNone 1 0 0 100%
src/colorspace/palettes.py divergingx_hcl.colors 21 0 0 100%
src/colorspace/palettes.py sequential_hcl.__init__ 50 0 0 100%
src/colorspace/palettes.py sequential_hcl.__init__.isNone 1 0 0 100%
src/colorspace/palettes.py sequential_hcl.colors 18 0 0 100%
src/colorspace/palettes.py heat_hcl.__init__ 16 0 0 100%
src/colorspace/palettes.py terrain_hcl.__init__ 16 0 0 100%
src/colorspace/palettes.py diverging_hsv.__init__ 22 4 0 82%
src/colorspace/palettes.py diverging_hsv.colors 15 0 0 100%
src/colorspace/palettes.py rainbow.__init__ 18 0 0 100%
src/colorspace/palettes.py rainbow.colors 19 0 0 100%
src/colorspace/palettes.py (no function) 89 0 0 100%
src/colorspace/specplot.py specplot 132 3 0 98%
src/colorspace/specplot.py specplot.cmap 10 0 0 100%
src/colorspace/specplot.py specplot.fixcoords 13 1 0 92%
src/colorspace/specplot.py (no function) 1 0 0 100%
src/colorspace/statshelper.py nprange 8 0 0 100%
src/colorspace/statshelper.py natural_cubic_spline 55 0 0 100%
src/colorspace/statshelper.py natural_cubic_spline.check 1 0 0 100%
src/colorspace/statshelper.py lm 18 0 0 100%
src/colorspace/statshelper.py split 16 0 0 100%
src/colorspace/statshelper.py (no function) 4 0 0 100%
src/colorspace/swatchplot.py swatchplot 107 8 0 93%
src/colorspace/swatchplot.py swatchplot._pal_to_dict 12 0 0 100%
src/colorspace/swatchplot.py swatchplot._convert_pals_to_list 23 1 0 96%
src/colorspace/swatchplot.py swatchplot._plot_swatches 13 2 0 85%
src/colorspace/swatchplot.py swatchplot._swatch 24 0 0 100%
src/colorspace/swatchplot.py (no function) 1 0 0 100%
src/colorspace/utils.py mixcolor 42 0 0 100%
src/colorspace/utils.py check_hex_colors 19 0 0 100%
src/colorspace/utils.py check_hex_colors.check 17 0 0 100%
src/colorspace/utils.py extract_transparency 20 0 0 100%
src/colorspace/utils.py adjust_transparency 25 0 0 100%
src/colorspace/utils.py relative_luminance 8 0 0 100%
src/colorspace/utils.py contrast_ratio 44 0 0 100%
src/colorspace/utils.py max_chroma 36 0 0 100%
src/colorspace/utils.py max_chroma.get_max 4 0 0 100%
src/colorspace/utils.py darken 1 0 0 100%
src/colorspace/utils.py lighten 35 0 0 100%
src/colorspace/utils.py lighten._lighten_in_HCL 9 0 0 100%
src/colorspace/utils.py lighten._lighten_in_HLS 7 0 0 100%
src/colorspace/utils.py (no function) 9 0 0 100%
src/colorspace/version.py (no function) 3 0 0 100%
Total   3641 105 33 97%

No items found using the specified filter.