mhenrixon/stub_requests

View on GitHub
spec/stub_requests/service_registry_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method describe(#register)::subject#register (30.4)
Wontfix

    subject(:register) { registry.register(service_id, service_uri) }

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

Complex method describe(#reset)::context#when services are registered (29.3)
Open

    context "when services are registered" do
      before { registry.register(service_id, service_uri) }

      it! { is_expected.to change { registry.services.size }.from(1).to(0) }

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

Complex method describe(#remove)::context#when service is registered (29.3)
Open

    context "when service is registered" do
      before { registry.register(service_id, service_uri) }

      it! { is_expected.to change { registry.services.size }.from(1).to(0) }

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