This is a static copy of a profile reportHome
getExtendedErrorCallback (Calls: 1, Time: 0.177 s)
Generated 18-May-2021 16:05:18 using performance time.
function in file /usr/local/MATLAB/R2021a/toolbox/matlab/general/+matlab/+internal/+language/+introspective/getExtendedErrorCallback.m
Copy to new window for comparing multiple runs
Parents (calling functions)
No parent Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 6 | path = matlab.internal.doc.csh... | 1 | 0.168 s | 94.9% |  |
| 4 | [shortname, topicId] = matlab.... | 1 | 0.007 s | 4.1% |  |
| 3 | if usejava('jvm') | 1 | 0.001 s | 0.7% |  |
| 7 | if path ~= "" | 1 | 0.000 s | 0.2% |  |
| 2 | errorCallback = strings(0); | 1 | 0.000 s | 0.1% |  |
| All other lines | | | 0.000 s | 0.1% |  |
| Totals | | | 0.177 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| mapTopic | function | 1 | 0.161 s | 91.0% |  |
| getDocAnchorForErrorID | function | 1 | 0.002 s | 0.9% |  |
| usejava | function | 1 | 0.001 s | 0.5% |  |
| Self time (built-ins, overhead, etc.) | | | 0.013 s | 7.6% |  |
| Totals | | | 0.177 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
| Total lines in function | 12 |
| Non-code lines (comments, blank lines) | 1 |
| Code lines (lines that can run) | 11 |
| Code lines that did run | 10 |
| Code lines that did not run | 1 |
| Coverage (did run/can run) | 90.91 % |
Function listing
time | Calls | line |
|---|
| | 1 | function errorCallback = getExtendedErrorCallback(errorId)
|
< 0.001 | 1 | 2 | errorCallback = strings(0);
|
0.001 | 1 | 3 | if usejava('jvm')
|
0.007 | 1 | 4 | [shortname, topicId] = matlab.internal.doc.csh.getDocAnchorForErrorID(errorId);
|
< 0.001 | 1 | 5 | if ~ismissing(shortname)
|
0.168 | 1 | 6 | path = matlab.internal.doc.csh.mapTopic(shortname, topicId);
|
< 0.001 | 1 | 7 | if path ~= ""
|
| | 8 | errorCallback = "helpview('" + shortname + "','" + topicId + "')";
|
< 0.001 | 1 | 9 | end
|
< 0.001 | 1 | 10 | end
|
< 0.001 | 1 | 11 | end
|
< 0.001 | 1 | 12 | end
|
Other subfunctions in this file are not included in this listing.