This is a static copy of a profile report

Home

hgbehaviorfactory>localGetBehaviorInfo (Calls: 6, Time: 0.008 s)
Generated 18-May-2021 16:05:25 using performance time.
subfunction in file /usr/local/MATLAB/R2021a/toolbox/matlab/graphics/hgbehaviorfactory.m
Copy to new window for comparing multiple runs

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
109
behaviorinfo{end+1} = info;
60.000 s5.0%
175
behaviorinfo{end+1} = info;
60.000 s3.8%
115
behaviorinfo{end+1} = info;
60.000 s3.6%
121
behaviorinfo{end+1} = info;
60.000 s3.1%
105
info.name = 'Plotedit';
60.000 s2.4%
All other lines  0.006 s82.1%
Totals  0.008 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 
      6 
  99
behaviorinfo = {}; 
< 0.001 
      6 
 100
if nargin == 0  
 101 
    hObj = [];
< 0.001 
      6 
 102
end 
 103 

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

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

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

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

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

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

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

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

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

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

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

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

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

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