This is a static copy of a profile reportHome
path>isValidInput (Calls: 10, Time: 0.000 s)
Generated 16-Jul-2020 17:08:30 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 | 10 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
119 | f = isText && ~isStrin... | 10 | 0.000 s | 35.5% | |
117 | isText = isstring(p1) || ischa... | 10 | 0.000 s | 0.3% | |
118 | isStringEmpty = isstring(p1) &... | 10 | 0.000 s | 0.2% | |
All other lines | | | 0.000 s | 63.9% | |
Totals | | | 0.000 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 | 10 | 117 | isText = isstring(p1) || ischar(p1);
|
< 0.001 | 10 | 118 | isStringEmpty = isstring(p1) && isempty(p1);
|
< 0.001 | 10 | 119 | f = isText && ~isStringEmpty;
|
Other subfunctions in this file are not included in this listing.