This is a static copy of a profile reportHome
TextVarOptsInputs>TextVarOptsInputs.getFillValue (Calls: 5, Time: 0.000 s)
Generated 04-Jun-2021 04:11:19 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+shared\TextVarOptsInputs.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 |
65 | switch obj.Type | 5 | 0.000 s | 35.1% |  |
66 | case 'char' | 5 | 0.000 s | 26.5% |  |
64 | if isnumeric(val) % default [] | 5 | 0.000 s | 16.5% |  |
79 | end | 5 | 0.000 s | 0.5% |  |
67 | val = ''; | 5 | 0.000 s | 0.4% |  |
All other lines | | | 0.000 s | 21.1% |  |
Totals | | | 0.000 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
VarOptsInputs>VarOptsInputs.get.Type | class method | 5 | 0.000 s | 20.3% |  |
Self time (built-ins, overhead, etc.) | | | 0.000 s | 79.7% |  |
Totals | | | 0.000 s | 100% | |
Code Analyzer results
Coverage results
Show coverage for parent directory
Total lines in function | 17 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 16 |
Code lines that did run | 7 |
Code lines that did not run | 9 |
Coverage (did run/can run) | 43.75 % |
Function listing
time | Calls | line |
---|
| | 63 | function val = getFillValue(obj,val)
|
< 0.001 | 5 | 64 | if isnumeric(val) % default []
|
< 0.001 | 5 | 65 | switch obj.Type
|
< 0.001 | 5 | 66 | case 'char'
|
< 0.001 | 5 | 67 | val = '';
|
| | 68 | case 'string'
|
| | 69 | val = string(missing);
|
< 0.001 | 5 | 70 | end
|
| | 71 | else
|
| | 72 | switch obj.Type
|
| | 73 | case 'char'
|
| | 74 | val = convertStringsToChars(val);
|
| | 75 | case 'string'
|
| | 76 | val = convertCharsToStrings(val);
|
| | 77 | end
|
< 0.001 | 5 | 78 | end
|
< 0.001 | 5 | 79 | end
|
Other subfunctions in this file are not included in this listing.