-
Notifications
You must be signed in to change notification settings - Fork 18
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
Too many lines of code #20
Comments
Hi |
Hi dewanst, thank you very much for your answer. We are using the version
0.4 of the plugin. I thought in splitting the project but another problem
we have is that we have sonarqube enterprise license. This license
restricts the total number of lines of code we can have in all our
projects. So a project that counts 9 millions of line of code, 10 times
more than any other project we have, exceeds our license limit. That's why
I was wondering if it is possible to reduce the number of lines counted by
the plugin
El jue., 26 abr. 2018 7:43, dewanst <[email protected]> escribió:
… Hi
Normally the latest version should only count real lines of code (eg
flow). Which version are you using?
Next to that the plugin has to scan/process the complete files to
understand its structure and apply rules, so I guess there isn't a way in
avoiding that.
What you could do, is to split up your project if possible and scan in
chunks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYASMTUzMjx8pT_tJXMZC_uGcFvLd-hgks5tsV6TgaJpZM4TjtKy>
.
|
Hi GolanTrevize10 |
Hi GolanTrevize10 Any updates on your issue? |
Hi, we analyzed the project again with new plugin version 1.0. But now it is not recognizing any of the flow.xml files as flow files. What is the difference between the Flow file pattern setting and the Flow file suffixes setting. All our flow files are called flow.xml. We don't have any ndf file |
about the patterns its #22 related |
Exactly, you need to set sonar.flow.file.suffixes to 'xml' and remove 'xml' from sonar.xml.file.suffixes in order the files are treated as Flow files and not XML files. |
Hello, we have some problem with some of our flow projects in our sonarQube server. The problem is that the project has 9 millions of lines of code. That is causing us some issues because SonarQube needs a lot of memory to process so many lines. I found out that SonarQube is counting as lines of code also comments and blank lines in the flow files. Is there any way of avoiding that?
The text was updated successfully, but these errors were encountered: