rocketsofawesome/newgistics-ruby

View on GitHub
lib/newgistics/requests/post_manifest.rb

Summary

Maintainability
A
0 mins
Test Coverage

Assignment Branch Condition size for manifest_slip_xml is too high. [28.04/15]
Open

      def manifest_slip_xml(xml)
        manifest_slip = manifest.manifest_slip || ManifestSlip.new

        xml.manifest_slip do
          xml.manifest_po manifest_slip.manifest_po

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

Method has too many lines. [16/10]
Open

      def manifest_slip_xml(xml)
        manifest_slip = manifest.manifest_slip || ManifestSlip.new

        xml.manifest_slip do
          xml.manifest_po manifest_slip.manifest_po

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

There are no issues that match your filters.

Category
Status