Exclude Uninteresting Code Paths
By default, Coderrect traverses every function that is reachable from the
main function (or from any of the user-specified entry functions). However, in many cases, users might regard certain functions as uninteresting in their own projects and therefore do not want Coderrect to analyze those functions. This can be done by setting configuration for “
skipFunctions” in .coderrect.json:
//.coderrect.json "skipFunctions":[ "print_msg" ]
In the above example, the function “
print_msg” will not be analyzed by Coderrect.