Skip to content

Disallow more instructions at one line #6

Description

@branoholy

More instructions at one line are not correctly shown in the coverage results.

The line below is marked as tested even if the method is never called.

if(obj != nullptr) obj->method();

A split to more lines should correct it.

if(obj != nullptr)
    obj->method();

It is necessary to

  • change the beautifier settings,
  • reformat the source code,
  • check new coverage results.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions