Giter Site home page Giter Site logo

Comments (5)

nkurz avatar nkurz commented on May 22, 2024

SQLite is usually held up as a role model for code coverage. They aren't
using CMake, but do use gcov. They have a good overview of their strategy
here: https://www.sqlite.org/testing.html

On Wed, Apr 20, 2016 at 10:03 AM, Daniel Lemire [email protected]
wrote:

Maybe like so?

http://stackoverflow.com/questions/13116488/detailed-guide-on-using-gcov-with-cmake-cdash


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#24

from croaring.

lemire avatar lemire commented on May 22, 2024

For the time being, I'd be happy with a tool that tells me which public functions are not touched at all by our tests... :-))))

from croaring.

fsaintjacques avatar fsaintjacques commented on May 22, 2024
$ find tests -type f -name '*.c' | xargs grep -o -h 'roaring_[a-z_]*(' | sort |uniq -c|sort -n
      1 roaring_bitmap_or_many(
      2 roaring_bitmap_contains(
      2 roaring_bitmap_or_inplace(
      2 roaring_bitmap_remove_run_compression(
      2 roaring_iterator_sumall(
      3 roaring_bitmap_deserialize(
      3 roaring_bitmap_serialize(
      4 roaring_bitmap_and_inplace(
      5 roaring_iterate(
      6 roaring_bitmap_copy(
      6 roaring_bitmap_of_ptr(
      6 roaring_bitmap_or(
      6 roaring_bitmap_portable_deserialize(
      6 roaring_bitmap_portable_serialize(
      6 roaring_bitmap_printf(
      7 roaring_bitmap_of(
      8 roaring_bitmap_and(
     10 roaring_bitmap_portable_size_in_bytes(
     10 roaring_from_array(
     16 roaring_bitmap_equals(
     18 roaring_bitmap_run_optimize(
     23 roaring_bitmap_create(
     31 roaring_bitmap_get_cardinality(
     36 roaring_bitmap_add(
     74 roaring_bitmap_free(

$ grep -o -h 'roaring_[a-z_]*(' include/roaring.h
roaring_bitmap_create(
roaring_bitmap_of_ptr(
roaring_bitmap_of(
roaring_bitmap_copy(
roaring_bitmap_printf(
roaring_bitmap_and(
roaring_bitmap_and_inplace(
roaring_bitmap_or(
roaring_bitmap_or_inplace(
roaring_bitmap_or_many(
roaring_bitmap_free(
roaring_bitmap_add(
roaring_bitmap_contains(roaring_bitmap_get_cardinality(
roaring_bitmap_remove_run_compression(
roaring_bitmap_run_optimize(
roaring_bitmap_serialize(
roaring_bitmap_deserialize(
roaring_bitmap_portable_deserialize(
roaring_bitmap_portable_size_in_bytes(
roaring_bitmap_portable_size_in_bytes(
roaring_bitmap_portable_serialize(
roaring_iterate(
roaring_bitmap_equals(

from croaring.

lemire avatar lemire commented on May 22, 2024

@fsaintjacques

Very clever. ;-)

from croaring.

lemire avatar lemire commented on May 22, 2024

Still the issue remains open. ;-)

from croaring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.