Skip to content

Conversation

@DayTF
Copy link
Contributor

@DayTF DayTF commented Dec 24, 2025

Definition of Done

General

  • Write an explicit title for the Pull Request, following Conventional Commits specification
  • Test manually the implemented changes
  • Validate the code quality (indentation, syntax, style, simplicity, readability)

Security

  • Consider the security impact of the changes made

@qltysh
Copy link

qltysh bot commented Dec 24, 2025

1 new issue

Tool Category Rule Count
qlty Structure Function with many parameters (count = 6): initialize 1

@qltysh
Copy link

qltysh bot commented Dec 24, 2025

Qlty

Coverage Impact

⬆️ Merging this pull request will increase total coverage on main by 0.14%.

Modified Files with Diff Coverage (3)

RatingFile% DiffUncovered Line #s
Coverage rating: A Coverage rating: A
...n_datasource_rpc/lib/forest_admin_datasource_rpc/datasource.rb100.0%
Coverage rating: A Coverage rating: A
...n_datasource_rpc/lib/forest_admin_datasource_rpc/collection.rb100.0%
Coverage rating: B Coverage rating: A
...lib/forest_admin_datasource_rpc/Utils/schema_polling_client.rb100.0%
Total100.0%
🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

MIN_POLLING_INTERVAL = 1
MAX_POLLING_INTERVAL = 3600

def initialize(uri, auth_secret, polling_interval: DEFAULT_POLLING_INTERVAL, introspection_schema: nil,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function with many parameters (count = 6): initialize [qlty:function-parameters]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants