Skip to content

BUILD: C code coverage #58164

Open
Open
@tdhock

Description

@tdhock

Hi, I am doing mutation testing of pandas with @agroce

I see five C source code files that are maintained by pandas, is that right?

_libs/src/datetime/date_conversions.c
_libs/src/datetime/pd_datetime.c
_libs/src/parser/tokenizer.c
_libs/src/parser/pd_parser.c
_libs/src/parser/io.c

I expected that pandas devs should be interested in the code coverage of these files, but on current coverage reports https://app.codecov.io/gh/pandas-dev/pandas/tree/main/pandas?search=&displayType=list there is no coverage computed for C files (only for py files).

How can the build/test scripts be modified so that C code coverage could be computed?

Or is there a reason why code coverage for C files is not interesting?

I searched the issue tracker for similar keywords, and the only related issue I saw is about coverage for Cython: #54453

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions