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
Slow checkstyle analyse on 10.14.2 #510
Comments
@ArnaudAndr I can't answer on the sonar plugin, but you may want to check if this a slow down with the library itself by using the CLI. https://checkstyle.org/cmdline.html We had an issue recently where a change in the grammar caused a slow down, but it should be fixed. Is your project open sources? https://checkstyle.org/releasenotes.html#Release_10.14.1
|
did you check what @rnveach proposed? as for the change in the qualifiers scope: since SQ 7.7 the |
Looking at it more closely, it might be related to the upgrade from sonar-api 7 to 9. The output report being logged in the previous images is from sonar-checkstyle/src/main/java/org/sonar/plugins/checkstyle/CheckstyleExecutor.java Line 97 in 23d669d
sonar-checkstyle/src/main/java/org/sonar/plugins/checkstyle/CheckstyleConfiguration.java Line 130 in 23d669d
|
Hello, Is there any temporary workaround for this issue? Thanks |
this is an interesting one... just for completeness: i strongly despise reverting the change and including the deprecated scope again. currently, i see one feasible path forward: opening a Sonar issue (https://sonarsource.atlassian.net/projects/PLUGINAPI/issues/?filter=allissues) or posting in the community forums (https://community.sonarsource.com). |
@Bananeweizen any updates from your side with |
We have upgraded to Checkstyle 10.16.0 and it's very slow too for a while now. Takes about 40min (was 12min before) sonar analysis alone, due to checkstyle taking 5+sec per maven module. It used to be less than 1sec per module. We have 500+ maven modules in our project. We have Sonarqube 9.9.5 Community Edition. |
@jloisel , can you downgrade to earlier versions to catch in what version we got regression? |
I can. How can I install a specific version of checkstyle / sonar plugin? by dropping the jar manually inside the folder? EDIT: downgraded by downloading plugin manually into sonar's extensions/plugins folder. Trying 10.12.3 now. |
In 10.13.0 https://checkstyle.org/releasenotes.html#Release_10.13.0 we released string templates that was a performance problem. That was considered to be fixed at https://checkstyle.org/releasenotes.html#Release_10.14.1 by checkstyle/checkstyle#14566 But looks like still a problem. @nrmancuso , looks like we need to speed up removal of string templates to bring speed back to good. @jloisel , are your sources open ? We just try to find a way to reproduce problem. |
@jloisel , do you have ability to run checkstyle as maven plugin or CLI ? Over this test project. |
We run checkstyle using:
Our source is not open. With sonar checkstyle plugin 10.16.0:
With plugin 10.12.3:
From what I understand, it seems like:
I think the problem relies there. It's not really that the plugin is slower, it's because it's parsing the the global xml file for each module. |
I am not convinced that this is the issue here; regardless, we will be removing support for string templates soon. |
@jloisel , can we ask you to run our cli over root folder of project |
EDIT: ran the cli on a single maven module:
It took less than a second to complete. |
What is timing of If problem is with parsing, we should be able to reproduce it by CLI. If not reproduceable, it is plugin issue. |
Our profile generates way less errors so I guess the Sun profile is a good benchmark anyway. It's 5000ms with sonar checkstyle 10.16.0 and 500ms with 10.12.3. But again, it doesn't seem to be parsing the same xml file. When it's slow, it's always parsing the same XML file at the root of the project. When it's fast, it's parsing individual xml files inside each module target. It's most likely sonar plugin issue as checkstyle scan is very fast on each module individually. |
@muhlba91, how we reproduce problem on our side? Or trace it on user side. |
I hope you can find what's wrong so we can upgrade checkstyle again. |
1/ could you post the contents of the btw, interestingly, from my perspective, just by looking at the command and the paths it takes the XML file from, i'd have expected the "global XML file" to be used for a while already. it does make sense to a certain point. however, i do believe the cause is the removal of the deprecated before the deprecation the javadoc for these qualifiers read: now the deprecation notice is: according to this, i'd assume that modules are not supported/working at all anymore since currently, i see two options to proceed here: due to the age of the deprecation notice (SQ |
Let me know, I can try your custom build plugin on my sonarqube instance and run it against our code base. We have a multi-module project with 500+ modules. I'd like you to take the action over the issue on SQ side. I'm not following actively the issue so it's better that you get to the front on it. |
Checkstyle plugin Here is an exemple <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"><!-- Generated by Sonar --><module name="Checker"><module name="SuppressWarningsFilter" /><module name="TreeWalker"><module name="SuppressWarningsHolder"/> <module name="SuppressionCommentFilter" /></module></module> Here is an exemple <?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="10.12.3">
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/playwright/PlaywrightConfigurationAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanUrl.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/CounterVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ContainerTimeline.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/XPath2VariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/ElementProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ThinktimeConstantThroughput.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/HttpRequestAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanKeyValue.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/JSR223Action.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/FlowControlContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/XPath1TolerantSettings.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/XmlNamespace.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/auth/HttpAuthorization.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/CollectionProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/SetRuntimePropertyAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/playwright/PlaywrightSpecAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/BoolProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/HttpServer.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/VirtualUser.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/RegexpVariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanCollection.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanRequest.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/PollQueueAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/Variable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/JMeterAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/AssertionType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpPostParameterName.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/server/IpSpoofingType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/Server.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/HtmlVariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/VariablesConfig.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/CorrelationConfig.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/IntProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/VariableExtractFrom.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/playwright/PlaywrightDependency.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ThinktimeText.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/PostProcessor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/plugins/JMeterPluginVersion.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/SecretVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/RandomVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/FlowControlType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/FloatProperty.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanAuth.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ActionRegistrator.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/package-info.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/CorrelationRule.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpQueryParameterName.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/Assertion.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/JsonVariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/AssertionOn.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/JSR223Script.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/IfContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/auth/HttpAuthorizationConfig.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpPostParameterValue.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/WhileContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ThinktimeUniformRandom.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/WebDriverAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/DoubleProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/sanitycheck/SanityCheckErrorLevel.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/server/IpSpoofing.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ForEachContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/ObjProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpHeaderValue.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanScript.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/auth/HttpKerberosAuthorization.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/PutQueueAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/AssertionMatchType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/StringProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/sanitycheck/GenericError.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ContainerTimelineEntry.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpRequestPath.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/XPath1VariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ContainerTimelineEntryType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/LinkAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanBody.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanBodyMode.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/sanitycheck/SanityCheckConfig.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/XPath1Settings.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/VariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/JsonAssertion.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/LoopContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanQuery.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/DebugAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/sanitycheck/SanityCheckError.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/CorrelationFramework.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/Project.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ContainerAlgorithm.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanInfo.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/ConstantVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/RandomContainerAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/package-info.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/JSR223ActionType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/AssertionOperator.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/playwright/ResourceAggregator.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpQueryParameterValue.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanFileBody.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/VariableWrapper.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ProjectType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanEvent.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpRequestPostBody.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/SearchType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/ListVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/auth/HttpNTLMAuthorization.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/CSVVariable.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/AssertionNegate.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ThinktimeConstant.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanUrlEncodedBody.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/HtmlVariableExtractorType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/XPath1StrictSettings.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ResponseAssertion.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/JMeterConfig.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/JMesPathVariableExtractor.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanData.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/variable/VariableScope.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/plugins/JMeterPlugin.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ScriptLanguage.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/RequestUrl.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/jmeter/LongProp.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanFormDataBody.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/VirtualUserType.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/ConditionalAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/DelayAction.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanHeader.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/auth/HttpBasicAuthorization.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/correlation/InHttpHeaderName.java">
</file>
<file name="/home/ubuntu/.../design/design-entity/src/main/java/com/octoperf/entity/design/postman/PostmanItem.java">
</file>
</checkstyle> I just have replace part of the file path by |
@jloisel i have reverted this change in branch https://github.com/checkstyle/sonar-checkstyle/tree/revert-qualifiers. if you checkout the branch and run |
I have done a sonarqube analysis again with 10.16.0. The Going to run the snapshot plugin. |
If you confirm you see the same file path listed multiple times and how many duplicated times, that would confirm it is re-running the same file multiple times. Each If this is the case, one temporary workaround could be to set If it is not possible to use |
@jloisel, please share results of execution on checkstyle-sonar-plugin-10.17.0-SNAPSHOT.jar from branch. |
checkstyle-sonar-plugin-10.17.0-SNAPSHOT.jar is as slow as 10.16.0: No improvement.
There is no duplicate in checkstyle-result.xml. However, it contains all the Java files of the project. I believe the analysis is ran against all Java files for each maven sub-module. |
@jloisel i have force pushed (!!!) to the same branch as before. would you be able to build and test that one again? i have reverted the annotation that was deprecated and is responsible for injecting the |
Ok let me try it again. I have tested 10.14.1 too, and it's also slow. UPDATE: with your latest changes, on 10.17-snapshot, it's fast again. For example:
So your changes fixed the issue :) |
@jloisel thank you! 😃 i also just got the confirmation from sonar in their forums: https://community.sonarsource.com/t/replacement-for-deprecated-org-sonar-api-batch-scannerside/115854/4 i'd very much like to test if a migration to |
Sonar version: [[YOUR VERSION]]
Checkstyle sonar plugin version: 10.14.2
Steps to reproduce or description of problem:
Hello !
We recently upgraded checkstyle from 10.12.5 to 10.14.2 and experienced a strange behaviour :
Checkstyle time is very slow
One example on one of our maven modules :
On 10.14.2 :
[INFO] Sensor CheckstyleSensor [checkstyle]
[INFO] Checkstyle output report: /builds/pao/pao/target/sonar/checkstyle-result.xml
[INFO] Checkstyle configuration: /builds/pao/pao/target/sonar/checkstyle.xml
[INFO] Checkstyle charset: UTF-8
[INFO] Sensor CheckstyleSensor [checkstyle] (done) | time=73055ms
On 10.12.5 :
[INFO] Sensor CheckstyleSensor [checkstyle]
[INFO] Checkstyle output report: /builds/pao/pao/pao-framework/pao-framework-converter/target/sonar/checkstyle-result.xml
[INFO] Checkstyle configuration: /builds/pao/pao/pao-framework/pao-framework-converter/target/sonar/checkstyle.xml
[INFO] Checkstyle charset: UTF-8
[INFO] Sensor CheckstyleSensor [checkstyle] (done) | time=619ms
It seems to check the entire application on each module (as the output and configuration directories seems to be global on last version)
I saw this change that may explain :
d77b04f#diff-b18d612a4942bebba0e682d44470452ac6e57138209663aba4c578a8c0646136
Does this behaviour seem correct on your side ? In this case, could our configuration explain the problem ?
The text was updated successfully, but these errors were encountered: