Skip to content

Commit

Permalink
Log the start of each C++ metric computation
Browse files Browse the repository at this point in the history
  • Loading branch information
mcserep authored May 1, 2024
1 parent e681750 commit 3c853e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/cpp_metrics/parser/src/cppmetricsparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,13 @@ void CppMetricsParser::lackOfCohesion()

bool CppMetricsParser::parse()
{
LOG(info) << "[cppmetricsparser] Computing function parameter count metric.";
functionParameters();
LOG(info) << "[cppmetricsparser] Computing McCabe metric for functions.";
functionMcCabe();
LOG(info) << "[cppmetricsparser] Computing Bumpy Road metric for functions.";
functionBumpyRoad();
LOG(info) << "[cppmetricsparser] Computing Lack of Cohesion metric for types.";
lackOfCohesion();
return true;
}
Expand Down

0 comments on commit 3c853e3

Please sign in to comment.