Skip to content

C++ Symbol metric is computed from a C parse of .h files #4

Description

@jbendercb

The Symbol metric counts tree-sitter definition nodes. 45% of cpp gold files are .h, and these are routed to the C parser rather than C++. With tree-sitter-languages==1.10.2, modern C++ headers do not parse cleanly, so the C++ Symbol denominator is derived from a degraded parse.

This affects anyone evaluating C++, and it makes cpp Symbol numbers not comparable with the other languages on the board.

Metadata

Metadata

Assignees

No one assigned

    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