sanger/sequencescape

View on GitHub
lib/tasks/add_templates_and_printers_to_pmb.rake

Summary

Maintainability
Test Coverage
F
6%

Complex method namespace(pmb)::task(add_label_templates)::LabelTemplateCreator::get_label_type_id (27.8)
Open

        def get_label_type_id(name)
          return label_types[name.downcase] if label_types.include? name.downcase

          label_type = label_type_params(name)
          res = RestClient.post(label_type_url, label_type.to_json, LabelPrinter::PmbClient.headers_v1)

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

There are no issues that match your filters.

Category
Status