This is a static copy of a profile report

Home

scribe/private/createScribeUIMenuEntry (18 calls, 0.052 sec)
Generated 18-Mar-2011 23:32:10 using cpu time.
M-function in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/private/createScribeUIMenuEntry.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
graph2dhelperM-function18
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
38
entry = localCreateTextInterpr...
20.010 s20.0%
37
case 'TextInterpreter'
100.010 s20.0%
25
case 'LegendToggle'
120.010 s20.0%
17
case 'LineStyle'
120.010 s20.0%
14
entry = localCreateColorEntry(...
40.010 s20.0%
All other lines  0 s0%
Totals  0.052 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...Entry>localCreateTextInterpreterEntryM-subfunction20.010 s20.0%
...ribeUIMenuEntry>localCreateColorEntryM-subfunction40.010 s20.0%
...cribeUIMenuEntry>localCreateEnumEntryM-subfunction40 s0%
...cribeUIMenuEntry>localCreateFontEntryM-subfunction20 s0%
...UIMenuEntry>localCreateLineWidthEntryM-subfunction20 s0%
...ibeUIMenuEntry>localCreateActionEntryM-subfunction40 s0%
Self time (built-ins, overhead, etc.)  0.031 s60.0%
Totals  0.052 s100% 
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function53
Non-code lines (comments, blank lines)11
Code lines (lines that can run)42
Code lines that did run28
Code lines that did not run14
Coverage (did run/can run)66.67 %
Function listing
   time   calls  line
1 function entry = createScribeUIMenuEntry(hFig,menuType,displayText,propName,undoName,varargin)
2 % Create a scribe entry for a UIContextMenu
3 % hFig - The figure to operate on
4 % menuType - String representing the
5 % expected result of calling the menu.
6 % displayText - The text to be displayed in the menu.
7 % propName - The name of the property being modified.
8 % undoName - The string to be shown in the undo menu
9
10 % Copyright 2006-2007 The MathWorks, Inc.
11
18 12 switch menuType
18 13 case 'Color'
0.01 4 14 entry = localCreateColorEntry(hFig,displayText,propName,undoName);
14 15 case 'LineWidth'
2 16 entry = localCreateLineWidthEntry(hFig,displayText,propName,undoName);
0.01 12 17 case 'LineStyle'
18 entry = localCreateLineStyleEntry(hFig,displayText,propName,undoName);
12 19 case 'HeadStyle'
20 entry = localCreateHeadStyleEntry(hFig,displayText,propName,undoName);
12 21 case 'HeadSize'
22 entry = localCreateHeadSizeEntry(hFig,displayText,propName,undoName);
12 23 case 'AddData'
24 entry = localCreateAddDataEntry(hFig,displayText);
0.01 12 25 case 'LegendToggle'
26 entry = localCreateLegendToggleEntry(hFig,displayText);
12 27 case 'Toggle'
28 entry = localCreateToggleEntry(hFig,displayText,propName,undoName);
12 29 case 'Marker'
30 entry = localCreateMarkerEntry(hFig,displayText,propName,undoName);
12 31 case 'MarkerSize'
32 entry = localCreateMarkerSizeEntry(hFig,displayText,propName,undoName);
12 33 case 'EditText'
34 entry = localCreateEditTextEntry(hFig,displayText);
12 35 case 'Font'
2 36 entry = localCreateFontEntry(hFig,displayText,propName,undoName);
0.01 10 37 case 'TextInterpreter'
0.01 2 38 entry = localCreateTextInterpreterEntry(hFig,displayText,propName,undoName);
8 39 case 'CloseFigure'
40 entry = localCreateCloseFigureEntry(hFig,displayText);
8 41 case 'BarWidth'
42 entry = localCreateBarWidthEntry(hFig,displayText,propName,undoName);
8 43 case 'BarLayout'
44 entry = localCreateBarLayoutEntry(hFig,displayText,propName,undoName);
8 45 case 'AutoScaleFactor'
46 entry = localCreateAutoScaleFactorEntry(hFig,displayText,propName,undoName);
8 47 case 'EnumEntry'
4 48 entry = localCreateEnumEntry(hFig,displayText,propName,varargin{:},undoName);
4 49 case 'CustomEnumEntry'
50 entry = localCreateCustomEnumEntry(hFig,displayText,propName,varargin{:});
4 51 case 'GeneralAction'
4 52 entry = localCreateActionEntry(hFig,displayText,varargin{:});
4 53 end

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