This is a static copy of a profile reportHome
img2model>setDebugParam (1 call, 0.000 sec)
Generated 05-Nov-2014 07:52:33 using cpu time.
subfunction in file /usr0/home/jenkins/workspace/cellorganizer-demo3D11-glnx64/utilities/img2model.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
img2model | function | 1 |
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
523 | end | 1 | 0 s | 0% |  |
519 | end | 1 | 0 s | 0% |  |
518 | debug = logical(debug); | 1 | 0 s | 0% |  |
517 | else | 1 | 0 s | 0% |  |
511 | if ischar(debug) | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
520 | Best practice is for CATCH to be followed by an identifier that gets the error information. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 17 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 15 |
Code lines that did run | 7 |
Code lines that did not run | 8 |
Coverage (did run/can run) | 46.67 % |
Function listing
time calls line
507 function [debug] = setDebugParam(param)
508 %set debug default to true
1 509 try
1 510 debug = param.debug;
1 511 if ischar(debug)
512 if strcmpi(debug, 'false')
513 debug = false;
514 else
515 debug = true;
516 end
1 517 else
1 518 debug = logical(debug);
1 519 end
520 catch
521 debug = true;
522 end
1 523 end
Other subfunctions in this file are not included in this listing.