This is a static copy of a profile reportHome
mdbfileonpath>isFileInPackage (1 call, 0.010 sec)
Generated 14-Nov-2016 07:47:04 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/codetools/mdbfileonpath.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 |
276 | result = isPackageDirectory(fi... | 1 | 0.010 s | 100.0% |  |
277 | end | 1 | 0 s | 0% |  |
275 | assert(~isdir(inFile), ['argum... | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.010 s | 100% | |
Children (called functions)
Code Analyzer results
No Code Analyzer messages.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 |
---|
| | 274 | function result = isFileInPackage(inFile)
|
| 1 | 275 | assert(~isdir(inFile), ['argument must be a file, not a directory: ' inFile]);
|
0.01 | 1 | 276 | result = isPackageDirectory(fileparts(inFile));
|
| 1 | 277 | end
|
Other subfunctions in this file are not included in this listing.