-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Labels
Kind: Bug ⚠️Plugin: C++Issues related to the parsing and presentation of C++ projects.Issues related to the parsing and presentation of C++ projects.Plugin: MetricsIssues related to the code metrics plugin.Issues related to the code metrics plugin.Target: Parser
Description
In the database we still see C++ metrics calculated for lambdas despite --cppmetrics-ignore-lambdas flag is used.
Example snippet:
#include <iostream>
#include <functional>
void foo(std::function<void()> f) {
f();
}
int main()
{
foo([&] () { // <---- Type 2 and 4 metric still calculated for this line
std::cout << "hello world!\n";
});
}- Type 2:
MCCABE_FUNCTION - Type 4:
BUMPY_ROAD
Goal: add an option to NOT calculate metrics for anonymous classes or compiler generated types.
Metadata
Metadata
Assignees
Labels
Kind: Bug ⚠️Plugin: C++Issues related to the parsing and presentation of C++ projects.Issues related to the parsing and presentation of C++ projects.Plugin: MetricsIssues related to the code metrics plugin.Issues related to the code metrics plugin.Target: Parser