Skip to content

Run static analyser over codebase to find dead code and remove it #720

Description

@mcarans

Clang analyser can be run like this:

meson setup builddir
ninja -C builddir scan-build
or
meson compile -C builddir scan-build

Also runtime coverage is possible:

meson setup builddir -Db_coverage=true
meson compile -C builddir
meson test -C builddir
ninja -C builddir coverage-html

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions