Similar to EclEmma which is a plugin on eclipse, is there any plugin for jdeveloper to see run junit tests and see the code coverage? I see EMMA integration plugin in jdeveloper but after installing wasn't able to see any difference and also could not get any documentation on what the plugin is supposed to do.. Please help!
I know it is an old question but just in case someone came across it.
There is a blog post here explaining how to get Emma work with your JDeveloper. I also tested this on my latest JDeveloper 12c and it works fine.
Also regarding the documentation and how to use Emma it is all listed in their site here
Related
I'm using sonarqube for AEM. But when I run mvn sonar:sonar on any module, it shows an error and the project analysis results in failure. Attaching the screenshot for that
I tried upgrading sonarqube too. But I'm not able to do that. Steps mentioned in the sonarqube docs are not quite understandable. Please let me know if there is any solution for this.
Tried upgrading the sonarqube but not able to do that. If that could solve my problem, suggest me how to do that.
This is how i execute my sonar analysis,
mvn sonar:sonar -Dsonar.issuesReport.html.enable=true
In Sonar 4.0 i was able to generate HTML reports, But in SonarWube 5.6.1 its not working out (No errors thrown)
I have googled a lot and couldn't find an alternate plugin or any fix for this.
If some one can suggest me, that will be helpful
Take a look at SonarLint for Command Line. The functionality was moved there.
EDIT SonarLint for Command Line has been dropped. The recommendation is now to use SonarLint in your IDE or Branch Analysis, which is available in Developer Edition($)
I'd like to create a report in Sonar for the most actively edited files. I've looked around but can't find a plugin to do this. Any suggestions would be appreciated.
If relevant, my team uses AccuRev for SCM, and Sonar v2.14
Thanks in advance
Unfortunately, there's currently no plugin that meets your need (at least none that I'm aware of).
I could have suggested you to develop your own plugin based on the metrics generated by the SCM Activity Plugin, but Accurev is not supported so you would have to start from scratch :-/
Any ideas when cobertura will support java 7?
Found http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018
We preferred cobertura over emma and other code coverage tools and looks like we have to redo all those again, now that none of them support java 7 yet.
Thanks
Cobertura 2.0.3 supports Java 7, the cobertura-maven-plugin version 2.6 which uses this version has been just released
I was able to get it to work by adding the following argument:
-XX:-UseSplitVerifier
I got it from here.
I think the answer is: it won't. There is discussion on the mailing list that the project is not being maintained, and there are Java 7 bugs that have been open for a year. On the bright side, JaCoCo functionality is comparable and is being actively maintained.
Further to Jagger's comment, it looks like this is now being actively worked on for the next release - see:
https://github.com/cobertura/cobertura/commit/b303fdc94851088a3c8699651770faef33180924
with the comment "Fix java 7 stack map issue".
Old thread, but my answer may be useful: Cobertura does support the latest Java versions and is actively maintained. eCobertura (the Eclipse plug-in for Cobertura) hasn't been maintained since 2010, but Cobertura itself is still maintained.
eCobertura will not run with Java 7 or higher, but Cobertura will.
If you are looking for coverage reports (suc h as the ones that eCobertura used to provide), just run the Cobertura maven plugin with mvn cobertura:cobertura and check the HTML report under target/site/cobertura/index.html
I would like to integrate SourceMonitor into my Jenkins CI-system. Since there is no SourceMonitor plugin how can i make the results of SourceMonitor visible on my Jenkins Server.
There is an open issue associated with the Violations plugin.
You can vote up for the implementation of this issue: https://issues.jenkins-ci.org/browse/JENKINS-5741
I guess you're out of luck. You could take a look at similar plugins (probably FindBugs, PMD, Checkstyle plugins should be comparable) and write a plugin yourself.
You could also give a try to post to the Jenkins user mailing list, maybe someone there can help you.
Don't know what kind of output SourceMonitor produces, but if it produces HTML Reports, there is an HTML Publish Plugin, which would let you link and display those results in your job. Not as integrated as a real plugin would be, but perhaps that would be enough for you.
You only realistically have the following options:
Create a Hudson plugin for SourceMonitor yourself.
Contact the SourceMonitor development team and ask them to create a Hudson plugin.
Use an existing Hudson plugin that is similar to SourceMonitor.