File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
plugins/cpp_metrics/parser Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ class CppMetricsParser : public AbstractParser
212212 static const int afferentCouplingTypesPartitionMultiplier = 5 ;
213213 static const int efferentCouplingModulesPartitionMultiplier = 5 ;
214214 static const int afferentCouplingModulesPartitionMultiplier = 5 ;
215+ static const int relationalCohesionPartitionMultiplier = 5 ;
215216};
216217
217218} // parser
Original file line number Diff line number Diff line change @@ -383,8 +383,6 @@ void CppMetricsParser::efferentTypeLevel()
383383 {
384384 typedef odb::query<cc::model::CppMemberType> MemTypeQuery;
385385 typedef odb::query<cc::model::CppInheritanceCount> InheritanceQuery;
386- typedef odb::query<cc::model::CppFunctionParamTypeView> ParamQuery;
387- typedef odb::query<cc::model::CppFunctionLocalTypeView> LocalQuery;
388386 typedef odb::query<cc::model::CppFunction> FuncQuery;
389387
390388 std::set<std::uint64_t > dependentTypes;
@@ -612,7 +610,7 @@ void CppMetricsParser::relationalCohesionModuleLevel()
612610
613611 parallelCalcMetric<model::File>(
614612 " Relational cohesion at module level" ,
615- _threadCount * relationalCohesionPartitionMultiplier,// number of jobs; adjust for granularity
613+ _threadCount * relationalCohesionPartitionMultiplier, // number of jobs; adjust for granularity
616614 getModulePathsQuery (),
617615 [&, this ](const MetricsTasks<model::File>& tasks)
618616 {
You can’t perform that action at this time.
0 commit comments