This is a static copy of a profile reportHome
path>isValidInput (Calls: 12, Time: 0.001 s)
Generated 18-Jul-2020 08:10:35 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/general/path.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
path | function | 12 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
119 | f = isText && ~isStrin... | 12 | 0.000 s | 32.8% | |
117 | isText = isstring(p1) || ischa... | 12 | 0.000 s | 0.2% | |
118 | isStringEmpty = isstring(p1) &... | 12 | 0.000 s | 0.1% | |
All other lines | | | 0.001 s | 66.8% | |
Totals | | | 0.001 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
Show coverage for parent directory
Total lines in function | 4 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 3 |
Code lines that did run | 3 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time | Calls | line |
---|
| | 116 | function f = isValidInput(p1)
|
< 0.001 | 12 | 117 | isText = isstring(p1) || ischar(p1);
|
< 0.001 | 12 | 118 | isStringEmpty = isstring(p1) && isempty(p1);
|
< 0.001 | 12 | 119 | f = isText && ~isStringEmpty;
|
Other subfunctions in this file are not included in this listing.