This is a static copy of a profile reportHome
helptools\private\makehelphyper>isHyperlinkable (4 calls, 0.000 sec)
Generated 15-Mar-2007 12:02:09 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\matlab\helptools\private\makehelphyper.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
211 | shouldLink = 1; | 4 | 0.000 s | 70.1% |  |
206 | shouldLink = 0; | 4 | 0.000 s | 29.9% |  |
208 | if fnameType == 2 || fnameType... | 4 | 0 s | 0% |  |
207 | fnameType = exist(fname); %#o... | 4 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 100% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 24 |
Non-code lines (comments, blank lines) | 10 |
Code lines (lines that can run) | 14 |
Code lines that did run | 4 |
Code lines that did not run | 10 |
Coverage (did run/can run) | 28.57 % |
Function listing
time calls line
203 function shouldLink = isHyperlinkable(fname)
204
205 % Make sure the function exists before hyperlinking it.
< 0.01 4 206 shouldLink = 0;
4 207 fnameType = exist(fname); %#ok
4 208 if fnameType == 2 || fnameType == 5 || fnameType == 7
209 % help may exist for M-files, built-ins, and directories.
210 % but not variables, MEX-files, MDL-files, P-files, or Java classes.
< 0.01 4 211 shouldLink = 1;
212 elseif fnameType == 0
213 % Check to see if it's a UDD method
214 dotpos = findstr(fname,'.');
215 if length(dotpos) == 2
216 fullname = strrep(fname, '.', '/');
217 fullname = ['@' fullname(1:dotpos(1)) '@' fullname(dotpos(1)+1:end)];
218 if ~isempty(which(fullname))
219 shouldLink = 1;
220 end
221 end
222 end
223
224
225
226