This is a static copy of a profile report

Home

fullfile>refinePath (121 calls, 0.000 sec)
Generated 04-Aug-2014 13:05:13 using cpu time.
subfunction in file /share/apps/matlabr2014a/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
fullfilefunction121
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
93
end
1210 s0%
90
if ~isempty(strfind(f, doubleD...
1210 s0%
89
doubleDotPattern = [fs, '..', ...
1210 s0%
86
if ~isempty(strfind(f, multipl...
1210 s0%
85
multipleFileSepPattern = [fs, ...
1210 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
filesepfunction1210 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 function14
Non-code lines (comments, blank lines)1
Code lines (lines that can run)13
Code lines that did run9
Code lines that did not run4
Coverage (did run/can run)69.23 %
Function listing
time 
calls 
 line
  80 
function f = refinePath(f)
    121 
  81 
    fs = filesep; 
    121 
  82 
    f = strrep(f, '/', fs); 
    121 
  83 
    singleDotPattern = [fs, '.', fs];  
    121 
  84 
    f = strrep(f, singleDotPattern, fs); 
    121 
  85 
    multipleFileSepPattern = [fs, fs]; 
    121 
  86 
    if ~isempty(strfind(f, multipleFileSepPattern)) 
  87 
        f = replaceMultipleFileSeps(f);
  88 
    end
    121 
  89 
    doubleDotPattern = [fs, '..', fs]; 
    121 
  90 
    if ~isempty(strfind(f, doubleDotPattern)) 
  91 
        f = replaceDoubleDots(f);
  92 
    end
    121 
  93 
end 

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