sonarqube - Sonar Analysis takes too long -
i running sonar analysis legacy application in sonar v3.7.4 profile setup in server sonar way findbugs size of java application:
lines of code - 5.7 million classes - 20k packages - 200 issues - 2 million (post sonar run)
since codebase integrated sonar first time there several thousand issues reported sonar code quality rules. each run in server, takes close 10 hours in server. looking option in sonar analysis, analysis run in server changes made in codebase . way, can integrate , report overall issues application central server on daily basis without running several hours complete unchanged codebase, whenever build kicked off
the following profiling extract when sonar run:
sensors execution time - 480 mins decorators execution time - 70 mins post job execution time - 25 mins persisters execution time - 20 mins save measures execution time - 15 mins
the breakup of sensors execution time:
findbugs sensors - 200 min pmd sensors - 160 mins javasquid sensor - 40 mins cpd sensor - 40 mins
the breakup of decorators execution time:
issue tracking decorator - 30 mins manual measure decorator - 20 mins newcoverage file analyzer - 15 mins
is there anyway optimize sonar run time done daily
Comments
Post a Comment