tasks/build.rake
Assignment Branch Condition size for create_package is too high. [32.28/20] Open
Open
def create_package(target, os_type)
package_dir = package_dir_of(target)
sh "rm -rf #{package_dir}"
sh "mkdir -p #{package_dir}/lib/app"
sh "cp -rf lib #{package_dir}/lib/app/"
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric