This is a static copy of a profile reportHome
updateLegendMenuToolbar>isValidColorBarHandleObject (Calls: 22, Time: 0.001 s)
Generated 16-Jul-2020 17:09:21 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/illustration/+matlab/+graphics/+illustration/+internal/updateLegendMenuToolbar.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 |
159 | isaColorBar = isa(cbar,'matlab... | 22 | 0.001 s | 48.3% | |
158 | cbar = handle(cbar); | 22 | 0.000 s | 22.6% | |
162 | end | 22 | 0.000 s | 5.7% | |
160 | if isaColorBar && isva... | 22 | 0.000 s | 0.6% | |
157 | tf = false; | 22 | 0.000 s | 0.2% | |
All other lines | | | 0.000 s | 22.7% | |
Totals | | | 0.001 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 8 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 6 |
Code lines that did run | 5 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 83.33 % |
Function listing
time | Calls | line |
---|
| | 155 | function tf = isValidColorBarHandleObject(cbar)
|
| | 156 | % return true if leg is a valid MCOS ColorBar
|
< 0.001 | 22 | 157 | tf = false;
|
< 0.001 | 22 | 158 | cbar = handle(cbar);
|
< 0.001 | 22 | 159 | isaColorBar = isa(cbar,'matlab.graphics.illustration.ColorBar');
|
< 0.001 | 22 | 160 | if isaColorBar && isvalid(cbar) && strcmp(cbar.BeingDeleted,'off')
|
| | 161 | tf = true;
|
< 0.001 | 22 | 162 | end
|
Other subfunctions in this file are not included in this listing.