From e8720ecad3f3101df5557e8967d9bd4c6c95e353 Mon Sep 17 00:00:00 2001 From: Klein Kristof Date: Sun, 7 Jul 2024 09:51:03 +0200 Subject: [PATCH] Removed unneded logging --- .../parser/src/cppmetricsparser.cpp | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp b/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp index 70790af97..ae1e7ec97 100644 --- a/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp +++ b/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp @@ -198,8 +198,6 @@ void CppMetricsParser::checkTypes( { ++relationsInModule; relationsFoundInFile.emplace(item.filePath, item.typeHash); - LOG(info) << item.filePath; - LOG(info) << relationsInModule; } } } @@ -253,10 +251,6 @@ void CppMetricsParser::relationalCohesion() for (const auto& path : modulePaths) { - - LOG(info) << "looking at module:"; - LOG(info) << path; - typesFound.clear(); typeDefinitionPaths.clear(); // Find the types defined in the module @@ -267,20 +261,8 @@ void CppMetricsParser::relationalCohesion() { // Save types defined inside the module typesFound.insert(record.typeHash); - LOG(info) << "typesFound incremented with: "; - LOG(info) << record.qualifiedName; - LOG(info) << record.typeHash; // Save where the type is defined to avoid self relation typeDefinitionPaths.insert(std::make_pair(record.typeHash, record.filePath)); - - LOG(info) << "Content of types found:"; - - for (auto &&i : typesFound) - { - LOG(info) << i; - } - - } // Store the type relations already found for each file @@ -331,9 +313,6 @@ void CppMetricsParser::relationalCohesion() uint numberOfTypesInModule = typesFound.size(); //N - LOG(info) << relationsInModule; - LOG(info) << numberOfTypesInModule; - double relationalCohesion = (static_cast(relationsInModule) + 1.0) / static_cast(numberOfTypesInModule);