tasks/package.rake
Assignment Branch Condition size for create_rpm is too high. [21.02/20] Open
Open
def create_rpm(binary_dir, architecture, package_architecture)
package_dir = package_dir_of(package_architecture)
sh "fpm " + "-s tar " +
"-t rpm " +
"--rpm-os linux " +
- 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