LCOV - code coverage report
Current view: top level - core/geom - SPColor.cc (source / functions) Hit Total Coverage
Test: coverage.info Lines: 524 571 91.8 %
Date: 2024-05-12 00:16:13 Functions: 90 90 100.0 %

Function Name Sort by function name Hit count Sort by hit count
stappler::geom::Color::getColorIndex(unsigned int) 650
stappler::geom::Color::getColorByName(stappler::StringViewBase<char> const&, stappler::geom::Color const&) 75
stappler::geom::Color::getById(unsigned short) 1220
stappler::geom::Color::progress(stappler::geom::Color const&, stappler::geom::Color const&, float) 25
stappler::geom::Color::Color(stappler::geom::Color::Tone, stappler::geom::Color::Level) 870
stappler::geom::Color::Color(stappler::geom::Color3B const&) 75
stappler::geom::Color::Color(stappler::geom::Color4B const&) 25
stappler::geom::Color::Color(unsigned int) 550
stappler::geom::Color::Color(unsigned int, short) 8195
stappler::geom::table::getByIndex(unsigned short) 1220
stappler::geom::table::getColorIndex(unsigned int) 650
stappler::geom::table::fnv1::_fnv_prime() 12625
stappler::geom::table::fnv1::_fnv1Signed(char const*, unsigned long) 1425
stappler::geom::table::fnv1::_fnv_offset_basis() 1425
stappler::geom::table::fnv1::hash32(char const*, unsigned long) 1425
stappler::geom::table::getName(stappler::geom::Color3B const&) 100
stappler::geom::table::getName(unsigned int) 350
stappler::geom::table::getColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&) 1425
stappler::geom::table::getColor(stappler::StringViewBase<char> const&, unsigned int&) 1425
stappler::geom::Color3B::getColorByName(stappler::StringViewBase<char>, stappler::geom::Color3B const&) 25
stappler::geom::Color3B::progress(stappler::geom::Color3B const&, stappler::geom::Color3B const&, float) 25
stappler::geom::Color3B::Color3B(stappler::geom::Color4B const&) 25
stappler::geom::Color3B::Color3B(stappler::geom::Color4F const&) 50
stappler::geom::Color4B::getColorByName(stappler::StringViewBase<char>, stappler::geom::Color4B const&) 25
stappler::geom::Color4B::black(unsigned char) 25
stappler::geom::Color4B::white(unsigned char) 25
stappler::geom::Color4B::progress(stappler::geom::Color4B const&, stappler::geom::Color4B const&, float) 25
stappler::geom::Color4B::Color4B(stappler::geom::Color3B const&) 1050
stappler::geom::Color4B::Color4B(stappler::geom::Color4F const&) 75
stappler::geom::Color4F::setUnmasked(stappler::geom::Color4F const&, stappler::geom::ColorMask) 50
stappler::geom::Color4F::setMasked(stappler::geom::Color4F const&, stappler::geom::ColorMask) 25
stappler::geom::readColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&) 2400
stappler::geom::readColor(stappler::StringViewBase<char> const&, stappler::geom::Color4B&) 1150
stappler::geom::hsl_to_rgb(stappler::geom::_ColorHsl const&, unsigned int) 350
stappler::geom::hue_to_rgb(float, float, float) 1050
stappler::geom::rgb_to_hsl(unsigned int) 350
stappler::geom::make_darker(unsigned int, unsigned char) 100
stappler::geom::setHslColor(stappler::geom::Color3B&, float, float, float) 75
stappler::geom::make_lighter(unsigned int, unsigned char) 100
stappler::geom::readHslColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&) 50
stappler::geom::readRgbColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&) 50
stappler::geom::make_specific(unsigned int, unsigned char) 150
stappler::geom::readHashColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&) 225
stappler::geom::readHashColor(stappler::StringViewBase<char> const&, stappler::geom::Color4B&) 50
stappler::geom::readHslaColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&, unsigned char&) 25
stappler::geom::readRgbaColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&, unsigned char&) 25
stappler::geom::readNamedColor(stappler::StringViewBase<char> const&, stappler::geom::Color3B&) 3125
stappler::geom::readColorDigits(stappler::StringViewBase<char> const&, float*, int, bool) 150
stappler::geom::color_index_to_l(unsigned char) 350
stappler::geom::color_l_to_index(float) 200
stappler::geom::operator<<(std::basic_ostream<char, std::char_traits<char> >&, stappler::geom::Color const&) 150
stappler::geom::operator<<(std::basic_ostream<char, std::char_traits<char> >&, stappler::geom::Color3B const&) 75
stappler::geom::operator<<(std::basic_ostream<char, std::char_traits<char> >&, stappler::geom::Color4B const&) 175
stappler::geom::operator<<(std::basic_ostream<char, std::char_traits<char> >&, stappler::geom::Color4F const&) 150
stappler::memory::PoolInterface::StringType stappler::geom::Color::name<stappler::memory::PoolInterface>() const 50
stappler::memory::StandartInterface::StringType stappler::geom::Color::name<stappler::memory::StandartInterface>() const 200
stappler::geom::Color::next() const 100
stappler::geom::Color::text() const 200
stappler::geom::Color::darker(unsigned char) const 200
stappler::geom::Color::medium() const 100
stappler::geom::Color::lighter(unsigned char) const 200
stappler::geom::Color::previous() const 100
stappler::geom::Color::specific(stappler::geom::Color::Level) const 100
stappler::geom::Color::specific(unsigned char) const 200
stappler::memory::PoolInterface::StringType stappler::geom::Color3B::name<stappler::memory::PoolInterface>() const 50
stappler::memory::StandartInterface::StringType stappler::geom::Color3B::name<stappler::memory::StandartInterface>() const 50
stappler::geom::Color3B::operator==(stappler::geom::Color4B const&) const 50
stappler::geom::Color3B::operator==(stappler::geom::Color4F const&) const 50
stappler::geom::Color3B::operator==(stappler::geom::Color3B const&) const 360
stappler::geom::Color3B::operator!=(stappler::geom::Color4B const&) const 25
stappler::geom::Color3B::operator!=(stappler::geom::Color4F const&) const 25
stappler::geom::Color3B::operator!=(stappler::geom::Color3B const&) const 25
stappler::geom::Color4B::operator==(stappler::geom::Color3B const&) const 50
stappler::geom::Color4B::operator==(stappler::geom::Color4F const&) const 50
stappler::geom::Color4B::operator==(stappler::geom::Color4B const&) const 4122
stappler::geom::Color4B::operator!=(stappler::geom::Color3B const&) const 25
stappler::geom::Color4B::operator!=(stappler::geom::Color4F const&) const 25
stappler::geom::Color4B::operator!=(stappler::geom::Color4B const&) const 25
stappler::geom::Color4F::getOpacity() const 16512
stappler::geom::Color4F::getColor() const 16512
stappler::geom::Color4F::operator==(stappler::geom::Color3B const&) const 50
stappler::geom::Color4F::operator==(stappler::geom::Color4B const&) const 50
stappler::geom::Color4F::operator==(stappler::geom::Color4F const&) const 5332255
stappler::geom::Color4F::operator!=(stappler::geom::Color3B const&) const 25
stappler::geom::Color4F::operator!=(stappler::geom::Color4B const&) const 25
stappler::geom::Color4F::operator!=(stappler::geom::Color4F const&) const 5274510
stappler::geom::table::getByIndex(unsigned short)::{lambda(stappler::geom::table::ColorIndexIndex const&, unsigned short const&)#1}::operator()(stappler::geom::table::ColorIndexIndex const&, unsigned short const&) const 9760
stappler::geom::table::getColorIndex(unsigned int)::{lambda(stappler::geom::table::ColorIndexValue const&, unsigned int const&)#1}::operator()(stappler::geom::table::ColorIndexValue const&, unsigned int const&) const 5200
stappler::geom::table::getName(unsigned int)::{lambda(stappler::geom::table::ColorIndexValue const&, unsigned int const&)#1}::operator()(stappler::geom::table::ColorIndexValue const&, unsigned int const&) const 2825
stappler::geom::table::getColor(stappler::StringViewBase<char> const&, unsigned int&)::{lambda(stappler::geom::table::ColorIndexName const&, unsigned int const&)#1}::operator()(stappler::geom::table::ColorIndexName const&, unsigned int const&) const 11400

Generated by: LCOV version 1.14