Skip to content

Wrong coverage of C++ programs for UTBot Online #297

Open
@q5438722

Description

@q5438722

Problem

The following is the command line result of an example C++ program 'Pointers', it seems that none of the lines are covered. However, based on our manually inspection, they are covered indeed, so the displayed result might be wrong.
(All C++ examples have met this problem.)

Coverage summary.
==== Coverage in "/var/utbot/processing/utbot-cpp-709589/src/snippet.cpp"
======== covered lines: 
======== uncovered line ranges: 0 1 2 3 4 5 7 8 9 10 11 12 
Totals:
{"functions":{"count":2,"covered":0,"percent":0},"instantiations":{"count":2,"covered":0,"percent":0},"lines":{"count":12,"covered":0,"percent":0},"regions":{"count":6,"covered":0,"notcovered":6,"percent":0}}
2022-06-20 08:02:08.721 (   2.474s) [UnitTestBot     ]    GenerationUtils.cpp:51    INFO| Successfully ran tests.

Metadata

Metadata

Labels

bugSomething isn't workingcpp-syntaxRelated to generation tests for C++

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions