This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
...;VariableImportOptions.makeOptsStructclass method5
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
65
switch obj.Type
50.000 s35.1%
66
case 'char'
50.000 s26.5%
64
if isnumeric(val) % default []
50.000 s16.5%
79
end
50.000 s0.5%
67
val = '';
50.000 s0.4%
All other lines  0.000 s21.1%
Totals  0.000 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
VarOptsInputs>VarOptsInputs.get.Typeclass method50.000 s20.3%
Self time (built-ins, overhead, etc.)  0.000 s79.7%
Totals  0.000 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function17
Non-code lines (comments, blank lines)1
Code lines (lines that can run)16
Code lines that did run7
Code lines that did not run9
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.