Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lines of Code Limit Rule for PL/SQL in SonarQube #174

Closed
mgarciaLKS opened this issue Oct 3, 2023 · 1 comment
Closed

Lines of Code Limit Rule for PL/SQL in SonarQube #174

mgarciaLKS opened this issue Oct 3, 2023 · 1 comment

Comments

@mgarciaLKS
Copy link

Problem Description

Currently, There is no rule in SonarQube that restricts the number of lines of code allowed in PL/SQL files. This can lead to the creation of extensive and difficult to maintain scripts. It is important to set a limit to encourage modularity and code readability.

Suggested Solution

I request that a new rule be implemented in SonarQube that allows a maximum line of code limit to be set for PL/SQL files. This rule will help keep code within manageable parameters and promote good development practices.

Benefits

  • Improve readability and maintainability of PL/SQL code.
  • Encourage modularity and code reuse.
  • Facilitate the identification and correction of code problems.

Proposed Steps

  1. Implement a new rule in SonarQube for PL/SQL that allows to define a limit of lines of code.
  2. Allow users to configure this limit according to the needs of their projects.
  3. Provide detailed documentation on how to use this new rule.

I hope it is a proposal that you find interesting and useful, thank you very much in advance for your work.

Best regards.

@mgarciaLKS
Copy link
Author

I have managed to create a custom rule that achieves what is explained in the Issue.

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

No branches or pull requests

1 participant