Skip to content

[llvm-cov][MC/DC][Qualification] Wrong computation of conditions #110090

@escherle-validas

Description

@escherle-validas

Wrong computation of conditions

Criticality: MEDIUM

In the attached example there are 10 conditions, however the tool
a) splits up the entire decision in 2 separate decisions with 3 conditions each (for C++) and
b) computes only 3 conditions (for Rust).
Also the specified "positions" are wrong, i.e. do not point to the right places.
Furthermore it is critical, that Rust and C++ differ.

Rust:
columns_of_conditions_rust

Source code and generated reports:
Test_000010.zip

C++
columns_of_conditions_cpp

Source code and generated reports:
Test_000010.zip

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