This is a static copy of a profile report

Home

mdbfileonpath>areDirectoriesEqual (1 call, 0.000 sec)
Generated 14-Nov-2016 07:47:02 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/codetools/mdbfileonpath.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
mdbfileonpath>checkIfShadowednested function1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
181
end
10 s0%
175
if resolveSymbolicLinks &&...
10 s0%
173
end
10 s0%
171
pathsAreEqual = isequal(com.ma...
10 s0%
170
else
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
ispcfunction10 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function19
Non-code lines (comments, blank lines)7
Code lines (lines that can run)12
Code lines that did run6
Code lines that did not run6
Coverage (did run/can run)50.00 %
Function listing
time 
calls 
 line
 163 
function pathsAreEqual = areDirectoriesEqual(path1, path2, resolveSymbolicLinks)
 164 

 165 
    % on Windows, compare normalized paths ignoring case. On other platforms, 
 166 
    % check whether the two normalized paths are equal.
      1 
 167 
    if ispc 
 168 
        pathsAreEqual = strcmpi(com.mathworks.util.FileUtils.normalizePathname(path1), ...
 169 
            com.mathworks.util.FileUtils.normalizePathname(path2));
      1 
 170 
    else 
      1 
 171 
        pathsAreEqual = isequal(com.mathworks.util.FileUtils.normalizePathname(path1), ... 
 172 
            com.mathworks.util.FileUtils.normalizePathname(path2));
      1 
 173 
    end 
 174 
     
      1 
 175 
    if resolveSymbolicLinks && ~pathsAreEqual 
 176 
    	rfs = com.mathworks.mlwidgets.explorer.model.realfs.RealFileSystem.getInstance();
 177 
        resolved1 = rfs.resolve(rfs.getEntry(com.mathworks.matlab.api.explorer.FileLocation(path1))).getLocation();
 178 
        resolved2 = rfs.resolve(rfs.getEntry(com.mathworks.matlab.api.explorer.FileLocation(path2))).getLocation();
 179 
        pathsAreEqual = resolved1.equals(resolved2);
 180 
    end
      1 
 181 
end 

Other subfunctions in this file are not included in this listing.