MemoScope/Modules/RootPath/RootPathAnalysis.cs
Method AnalyzeRootPath
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static List<RootPathInformation> AnalyzeRootPath(MessageBus msgBus, ClrDumpObject clrDumpObject)
{
ClrDump clrDump = clrDumpObject.ClrDump;
ulong address = clrDumpObject.Address;
CancellationTokenSource token = new CancellationTokenSource();
Method FindShortestPath
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static bool FindShortestPath(List<ulong> currentPath, ref List<ulong> bestPath, IClrDump clrDump)
{
if(logger.IsDebugEnabled) logger.Debug("FindShortestPath: currentPath: " + Str(currentPath)+", best: "+Str(bestPath));
if( bestPath != null && currentPath.Count >= bestPath.Count)
{