Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] [platform-dev] Splitting SonarQube analysis?

Hi Mickael,

For platform.ui lots of errors relates to our test classes. For example Sonar reports that EPartServiceTest has no test coverage.

How can I configure that the tests are excluded from certain key figures like test coverage?

Best regards, Lars

Am 22.09.2014 14:25 schrieb "Mickael Istria" <mistria@xxxxxxxxxx>:
I've created the jobs and started some analysis.
Those are configured to check weekly changes on master branch, and build only if a change is found.

Note that the current reports currently:
* don't include FindBugs (which usually provides the most interesting hints, follow https://bugs.eclipse.org/bugs/show_bug.cgi?id=442716 for details)
* don't show test coverage.
* include some rules that are not relevant in our context. Need to check status of permissions on SonarQube. @Denis: can committers/project leads edit the list of available rules for their projects?

Checkstyle already reports a few bad smells in code for most components that may be or become the cause of some small bugs.

Here are the various jobs/reports, using "mvn clean verify -Pbuild-individual-bundles" + Sonar Hudson plugin:
* eclipse.jdt.core: job https://hudson.eclipse.org/platform/job/eclipse.jdt.core-SonarQube/ . Failing because seems like SonarQube doesn't like much having 2 modules with same name (org.eclipse.jdt.annotations)
* eclipse.jdt.ui: job https://hudson.eclipse.org/platform/job/eclipse.jdt.ui-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33296
* eclipse.jdt.debug: job https://hudson.eclipse.org/platform/job/eclipse.jdt.debug-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33290
* eclipse.pde.build: job https://hudson.eclipse.org/platform/job/rt.equinox.framework-SonarQube/ ails because it can't access org.eclipse.jdt.core.ant.compiler.adapter bundle using "build-individual-bundles" profile and http://download.eclipse.org/eclipse/updates/4.5-I-builds to resolve dependency.
* eclipse.pde.ui: job https://hudson.eclipse.org/platform/job/eclipse.pde.ui-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33316
* eclipse.platform.common: job https://hudson.eclipse.org/platform/job/eclipse.platform.common-SonarQube/ fails to build because of FileNotFound on some external file (eclipse.platform/ant/org.eclipse.ant.core/plugin.xml)
* eclipse.platform.debug: job https://hudson.eclipse.org/platform/job/eclipse.platform.debug-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33429
* eclipse.platform.releng: job https://hudson.eclipse.org/platform/job/eclipse.platform.releng-SonarQube/ fails because it can't access org.eclipse.ui.monitoring bundle using "build-individual-bundles" profile and http://download.eclipse.org/eclipse/updates/4.5-I-builds to resolve dependency.
* eclipse.platform.resources: job https://hudson.eclipse.org/platform/job/eclipse.platform.resources-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33441
* eclipse.platform.runtime: job https://hudson.eclipse.org/platform/job/eclipse.platform.runtime-SonarQube/ fails to build because of a circular dependency between repositories: "No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.equinox.core.feature.feature.group 1.2.0.v20140909-1314 to org.eclipse.core.jobs [3.6.100.v20140821-1523]"
* eclipse.platform.swt: job https://hudson.eclipse.org/platform/job/eclipse.platform.swt-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33481
* eclipse.platform.swt.binaries: job https://hudson.eclipse.org/platform/job/eclipse.platform.swt.binaries-SonarQube/ fails at finding some Ant file.
* eclipse.platform.team: job https://hudson.eclipse.org/platform/job/eclipse.platform.team-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33506
* eclipse.platform.text: job https://hudson.eclipse.org/platform/job/eclipse.platform.text-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33533
* eclipse.platform.ua: job https://hudson.eclipse.org/platform/job/eclipse.platform.ua-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33546
* eclipse.platform.ui: job https://hudson.eclipse.org/platform/job/eclipse.platform.ui-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33359
* rt.equinox.bundles: job https://hudson.eclipse.org/platform/job/rt.equinox.bundles-SonarQube/ reports https://dev.eclipse.org/sonar/dashboard/index/33556
* rt.equinox.framework: job https://hudson.eclipse.org/platform/job/rt.equinox.framework-SonarQube/ fails at finding some Ant file.
* rt.equinox.p2: (was already existing) job https://hudson.eclipse.org/p2/job/p2%20sonar/ reportsĀ  https://dev.eclipse.org/sonar/dashboard/index/6478
All the jobs are visible at https://hudson.eclipse.org/platform/view/SonarQube/ and all the reports accessible from https://dev.eclipse.org/sonar/all_projects

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev

Back to the top