appsignal/appsignal

View on GitHub
lib/appsignal/extension/jruby.rb

Summary

Maintainability
B
6 hrs
Test Coverage

File jruby.rb has 391 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require "ffi"

module Appsignal
  class Extension
    # JRuby extension wrapper
Severity: Minor
Found in lib/appsignal/extension/jruby.rb - About 5 hrs to fix

    Method record_event has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            def record_event(name, title, body, body_format, duration, gc_duration_ms) # rubocop:disable Metrics/ParameterLists
    Severity: Minor
    Found in lib/appsignal/extension/jruby.rb - About 45 mins to fix

      Method finish_event has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              def finish_event(name, title, body, body_format, gc_duration_ms)
      Severity: Minor
      Found in lib/appsignal/extension/jruby.rb - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status