This is a static copy of a profile report

Home

hgbehaviorfactory>localGetBehaviorInfo (Calls: 32, Time: 0.011 s)
Generated 16-Jul-2020 17:09:26 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/hgbehaviorfactory.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hgbehaviorfactory>localCreatesubfunction32
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
109
behaviorinfo{end+1} = info;
320.000 s4.6%
113
info.targetdescription = 'Figu...
320.000 s4.3%
105
info.name = 'Plotedit';
320.000 s4.1%
175
behaviorinfo{end+1} = info;
320.000 s3.9%
115
behaviorinfo{end+1} = info;
320.000 s2.7%
All other lines  0.008 s80.4%
Totals  0.011 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
101The value assigned to variable 'hObj' might be unused.
Coverage results
Show coverage for parent directory
Total lines in function80
Non-code lines (comments, blank lines)16
Code lines (lines that can run)64
Code lines that did run63
Code lines that did not run1
Coverage (did run/can run)98.44 %
Function listing
time 
Calls 
 line
  96 
function [behaviorinfo] = localGetBehaviorInfo(~)
  97 
% Loads info for registered behavior objects
  98 

< 0.001 
     32 
  99
behaviorinfo = {}; 
< 0.001 
     32 
 100
if nargin == 0  
 101 
    hObj = [];
< 0.001 
     32 
 102
end 
 103 

< 0.001 
     32 
 104
info = []; 
< 0.001 
     32 
 105
info.name = 'Plotedit'; 
< 0.001 
     32 
 106
info.targetdescription = 'Any Graphics Object'; 
< 0.001 
     32 
 107
info.constructor = 'matlab.graphics.internal.PlotEditBehavior'; 
 108 

< 0.001 
     32 
 109
behaviorinfo{end+1} = info; 
 110 

< 0.001 
     32 
 111
info = []; 
< 0.001 
     32 
 112
info.name = 'Print'; 
< 0.001 
     32 
 113
info.targetdescription = 'Figure and Axes'; 
< 0.001 
     32 
 114
info.constructor = 'matlab.graphics.internal.PrintBehavior'; 
< 0.001 
     32 
 115
behaviorinfo{end+1} = info; 
 116 

< 0.001 
     32 
 117
info = []; 
< 0.001 
     32 
 118
info.name = 'Zoom'; 
< 0.001 
     32 
 119
info.targetdescription = 'Axes'; 
< 0.001 
     32 
 120
info.constructor = 'matlab.graphics.internal.ZoomBehavior'; 
< 0.001 
     32 
 121
behaviorinfo{end+1} = info; 
 122 

< 0.001 
     32 
 123
info = []; 
< 0.001 
     32 
 124
info.name = 'Pan'; 
< 0.001 
     32 
 125
info.targetdescription = 'Axes'; 
< 0.001 
     32 
 126
info.constructor = 'matlab.graphics.internal.PanBehavior'; 
< 0.001 
     32 
 127
behaviorinfo{end+1} = info; 
 128 

< 0.001 
     32 
 129
info = []; 
< 0.001 
     32 
 130
info.name = 'Rotate3d'; 
< 0.001 
     32 
 131
info.targetdescription = 'Axes'; 
< 0.001 
     32 
 132
info.constructor = 'matlab.graphics.internal.Rotate3dBehavior'; 
< 0.001 
     32 
 133
behaviorinfo{end+1} = info; 
 134 

< 0.001 
     32 
 135
info = []; 
< 0.001 
     32 
 136
info.name = 'DataCursor'; 
< 0.001 
     32 
 137
info.targetdescription = 'Axes and Axes Children'; 
< 0.001 
     32 
 138
info.constructor = 'matlab.graphics.internal.DataCursorBehavior'; 
< 0.001 
     32 
 139
behaviorinfo{end+1} = info; 
 140 

< 0.001 
     32 
 141
info = []; 
< 0.001 
     32 
 142
info.name = 'MCodeGeneration'; 
< 0.001 
     32 
 143
info.targetdescription = 'Axes and Axes Children'; 
< 0.001 
     32 
 144
info.constructor = 'matlab.graphics.internal.MCodeGenBehavior'; 
< 0.001 
     32 
 145
behaviorinfo{end+1} = info; 
 146 

< 0.001 
     32 
 147
info = []; 
< 0.001 
     32 
 148
info.name = 'LiveEditorCodeGeneration'; 
< 0.001 
     32 
 149
info.targetdescription = 'Any graphics object'; 
< 0.001 
     32 
 150
info.constructor = 'matlab.graphics.internal.LiveEditorCodeGenBehavior'; 
< 0.001 
     32 
 151
behaviorinfo{end+1} = info; 
 152 

< 0.001 
     32 
 153
info = []; 
< 0.001 
     32 
 154
info.name = 'DataDescriptor'; 
< 0.001 
     32 
 155
info.targetdescription = 'Axes and Axes Children'; 
< 0.001 
     32 
 156
info.constructor = 'matlab.graphics.internal.DataDescriptorBehavior'; 
< 0.001 
     32 
 157
behaviorinfo{end+1} = info; 
 158 

< 0.001 
     32 
 159
info = []; 
< 0.001 
     32 
 160
info.name = 'PlotTools'; 
< 0.001 
     32 
 161
info.targetdescription = 'Any graphics object'; 
< 0.001 
     32 
 162
info.constructor = 'matlab.graphics.internal.plottools.PlottoolsBehavior'; 
< 0.001 
     32 
 163
behaviorinfo{end+1} = info; 
 164 

< 0.001 
     32 
 165
info = []; 
< 0.001 
     32 
 166
info.name = 'Linked'; 
< 0.001 
     32 
 167
info.targetdescription = 'Any graphics object'; 
< 0.001 
     32 
 168
info.constructor = 'matlab.graphics.internal.datamanager.LinkBehavior'; 
< 0.001 
     32 
 169
behaviorinfo{end+1} = info; 
 170 

< 0.001 
     32 
 171
info = []; 
< 0.001 
     32 
 172
info.name = 'Brush'; 
< 0.001 
     32 
 173
info.targetdescription = 'Any graphics object'; 
< 0.001 
     32 
 174
info.constructor = 'matlab.graphics.internal.datamanager.BrushBehavior'; 
< 0.001 
     32 
 175
behaviorinfo{end+1} = info; 

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