rokumatsumoto/boyutluseyler

View on GitHub
lib/object_storage/direct_upload/presigned_post.rb

Summary

Maintainability
A
0 mins
Test Coverage

Assignment Branch Condition size for presigned_post_options is too high. [<0, 17, 0> 17/15]
Open

      def presigned_post_options
        # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#presigned_post-instance_method
        # TODO: consider moving Boyutluseyler.config policies into related policy class
        {
          key: generate_key(policy.key_prefix),

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 and https://en.wikipedia.org/wiki/ABC_Software_Metric.

There are no issues that match your filters.

Category
Status