fremag/MemoScope.Net

View on GitHub
MemoScope/Modules/RootPath/RootPathAnalysis.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method AnalyzeRootPath has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public static List<RootPathInformation> AnalyzeRootPath(MessageBus msgBus, ClrDumpObject clrDumpObject)
        {
            ClrDump clrDump = clrDumpObject.ClrDump;
            ulong address = clrDumpObject.Address;
            CancellationTokenSource token = new CancellationTokenSource();
Severity: Minor
Found in MemoScope/Modules/RootPath/RootPathAnalysis.cs - About 1 hr to fix

    Method FindShortestPath has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    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)
                {
    Severity: Minor
    Found in MemoScope/Modules/RootPath/RootPathAnalysis.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status