CodePro AnalytiX 7.0

67  
Bookmark and Share
Update site

Add this URL to your Eclipse Installation to reach this Solution's Update Site.
Learn more...

Details Group Tabs

Reviews

Login  to post comments.

Download location

I was looking around for the update package but could not locate it at the normal places that are documented everywhere. Finally found the location:
http:// commondatastorage.googleapis.com/eclipse_toolreleases/products/codepro/integration/v7.1.0_201109091219/3.6/CodeProAnalytix_v7.1.0_UpdateSite_for_Eclipse3.6.zip

Enjoy!

Unable to install the CodePro AnalytiX in Eclipse Helios 3.6 SR2

I am getting the following error when I am trying to install from the site:
"dl.google.com/eclipse/inst/codepro/latest/3.6"
It is not working. So I downloaded the content.jar from the location "dl.google.com/eclipse/inst/codepro/latest/3.6/content.jar" but when I tried installing them I hit the following error.

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.coverage,7.1.0.r36x201109091130
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.coverage,7.1.0.r36x201109091130
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.coverage.ui,7.1.0.r36x201109091130
No repository found containing: osgi.bundle,com.instantiations.common.core,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.common.help,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.common.ui,6.0.0.r37x201109091114
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.analysis.utilities,7.1.0.r36x201109091123
No repository found containing: osgi.bundle,com.instantiations.eclipse.debug,6.0.0.r37x201109091114
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.shared,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.eclipse.startup,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.eclipse.util,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.tools,6.0.0.r37x201109091114

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.ant,7.1.0.r36x201109091147
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.audit,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.coverage,7.1.0.r37x201109091130
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.coverage,7.1.0.r37x201109091130
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.coverage.ui,7.1.0.r37x201109091130
No repository found containing: osgi.bundle,com.instantiations.clospan,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.common.core,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.common.help,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.common.ui,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.cpminer,7.1.0.r36x201109091143
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.analysis.appanalysis.feature,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.similarcode,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.similarcode.help,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.similarcode.ui,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.utilities,7.1.0.r37x201109091123
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.analysis.utilities,7.1.0.r37x201109091123
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.utilities.ui,7.1.0.r37x201109091123
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.core.feature,7.1.0.r36x201109091135
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.coverage.codepro,7.1.0.r36x201109091140
No repository found containing: osgi.bundle,com.instantiations.eclipse.coverage.codepro.ui,7.1.0.r36x201109091140
No repository found containing: osgi.bundle,com.instantiations.eclipse.debug,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.eclipse.mailservice,7.1.0.r37x201109091123
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.shared,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.eclipse.startup,6.0.0.r37x201109091114
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.unittester.feature,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.eclipse.util,6.0.0.r37x201109091114
No repository found containing: osgi.bundle,com.instantiations.swt.graph,7.1.0.r37x201109091123
No repository found containing: osgi.bundle,com.instantiations.tools,6.0.0.r37x201109091114

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.admin,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.analysis,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.analysis.ant,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.analysis.dependency.ui,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.analysis.ui,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.ant,7.1.0.r36x201109091147
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.ant,7.1.0.r36x201109091147
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.ant.task,7.1.0.r36x201109091147
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.ant.ui,7.1.0.r36x201109091147
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.ant.ui.task,7.1.0.r36x201109091147
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.audit,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.core,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.core.ant,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.core.ui,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.coverage,7.1.0.r36x201109091130
No repository found containing: org.eclipse.update.feature,com.instantiations.assist.eclipse.coverage,7.1.0.r36x201109091130
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.coverage.ui,7.1.0.r36x201109091130
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.doc,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.fragment.jdt,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.fragment.jdt.core,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.fragment.swt,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.fragment.ui.ide,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.fragment.ui.workbench,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.fragment.ui.workbench.texteditor,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.javadoc,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.junit,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.junit.editor,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.pattern,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.assist.eclipse.scheduler,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.clospan,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.common.core,6.0.0.r36x201109091114
No repository found containing: osgi.bundle,com.instantiations.common.help,6.0.0.r36x201109091114
No repository found containing: osgi.bundle,com.instantiations.common.ui,6.0.0.r36x201109091114
No repository found containing: osgi.bundle,com.instantiations.cpminer,7.1.0.r36x201109091143
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.analysis.appanalysis.feature,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.hibernate,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.javaserverfaces,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.security,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.spring,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.struts,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.webservices,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.audit.webservices.ui,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.dataflow,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.deadcode,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.deadcode.ui,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.expression,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.flowpath,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.indexer,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.similarcode,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.similarcode.help,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.similarcode.ui,7.1.0.r36x201109091143
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.spelling,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.team,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.team.ui,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.ui.audit.spring,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.ui.audit.struts,7.1.0.r36x201109091206
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.utilities,7.1.0.r36x201109091123
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.analysis.utilities,7.1.0.r36x201109091123
No repository found containing: osgi.bundle,com.instantiations.eclipse.analysis.utilities.ui,7.1.0.r36x201109091123
No repository found containing: osgi.bundle,com.instantiations.eclipse.ast.editor,7.1.0.r36x201109091135
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.core.feature,7.1.0.r36x201109091135
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.coverage.codepro,7.1.0.r36x201109091140
No repository found containing: osgi.bundle,com.instantiations.eclipse.coverage.codepro.ui,7.1.0.r36x201109091140
No repository found containing: osgi.bundle,com.instantiations.eclipse.debug,6.0.0.r36x201109091114
No repository found containing: osgi.bundle,com.instantiations.eclipse.junit.ejb3,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.eclipse.junit.jsf,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.eclipse.junit.spring,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.eclipse.junit.struts2,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.eclipse.mail,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.eclipse.mail.ui,7.1.0.r36x201109091135
No repository found containing: osgi.bundle,com.instantiations.eclipse.mailservice,7.1.0.r36x201109091123
No repository found containing: osgi.bundle,com.instantiations.eclipse.model.jsp,7.1.0.r36x201109091135
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.shared,6.0.0.r36x201109091114
No repository found containing: osgi.bundle,com.instantiations.eclipse.startup,6.0.0.r36x201109091114
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.unittester.feature,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.eclipse.util,6.0.0.r36x201109091114
No repository found containing: osgi.bundle,com.instantiations.swt.graph,7.1.0.r36x201109091123
No repository found containing: osgi.bundle,com.instantiations.swt.grid,7.1.0.r36x201109091155
No repository found containing: osgi.bundle,com.instantiations.tools,6.0.0.r36x201109091114

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: org.eclipse.update.feature,com.instantiations.eclipse.shared,6.0.0.r36x201109091114

Regards CodePro

Submitted by a a on

Hi,

I was not find Mark Johnson's email and therefore decided ask here. Is it possible to use this plugin for . cls files. Could this tool be used for cls files (which is a Visual Basic Programming language). Does this tool detect unused code (such as no reference to other classes) and point them out? I know there is the uc detector for Java, but that did not work on my cls files.

I would really appreciate, if you could help me out there.

Kind regards,
A

java.lang.IllegalArgumentException: Illegal Capacity: -214748364

Getting below error while generating JUnit test cases:

!ENTRY com.instantiations.eclipse 4 0 2012-01-19 16:44:57.000
!MESSAGE Failed during test case generation
!STACK 0
java.lang.IllegalArgumentException: Illegal Capacity: -2147483648
at java.util.ArrayList.(Unknown Source)
at com.instantiations.assist.eclipse.junit.generation.values.ExecutableExpressionBuilder$ExpressionBuilderHelper.createInitializerFor(ExecutableExpressionBuilder.java:775)
at com.instantiations.assist.eclipse.junit.generation.values.ExecutableExpressionBuilder$ExpressionBuilderHelper.visit(ExecutableExpressionBuilder.java:261)
at com.instantiations.eclipse.analysis.dataflow.values.ArrayValueSet.accept(ArrayValueSet.java:188)
at com.instantiations.assist.eclipse.junit.generation.values.ExecutableExpressionBuilder.createValueFor(ExecutableExpressionBuilder.java:149)
at com.instantiations.assist.eclipse.junit.generation.values.ExecutableExpressionBuilder.createValueFor(ExecutableExpressionBuilder.java:125)
at com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.buildValueFor(DefaultTypeTestGenerator.java:672)
at com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.buildValueForFixtureParameter(DefaultTypeTestGenerator.java:645)
at com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.generateTestsFor(DefaultTypeTestGenerator.java:499)
at com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.generateNewTestFor(DefaultTypeTestGenerator.java:339)
at com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.generateTestFor(DefaultTypeTestGenerator.java:163)
at com.instantiations.assist.eclipse.junit.generation.core.CompilationUnitTestGenerator.generateTestFor(CompilationUnitTestGenerator.java:172)
at com.instantiations.assist.eclipse.junit.ui.util.NewTestCaseGenerator.generateTests(NewTestCaseGenerator.java:676)
at com.instantiations.assist.eclipse.junit.ui.util.NewTestCaseGenerator.generateAllTestCases(NewTestCaseGenerator.java:319)
at com.instantiations.assist.eclipse.junit.ui.util.NewTestCaseGenerator.generateTestCases(NewTestCaseGenerator.java:271)
at com.instantiations.assist.eclipse.junit.generation.core.TestGenerationService$TestGenerationJob.generateTests(TestGenerationService.java:214)
at com.instantiations.assist.eclipse.junit.generation.core.TestGenerationService$TestGenerationJob.runInWorkspace(TestGenerationService.java:190)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

please help me to solve this issue.

junit genertion always fails

Submitted by Saurabh on

Lot of Error in the Tool

!ENTRY com.instantiations.eclipse 4 0 2011-01-10 13:16:20.944
!MESSAGE Failed during test case generation
!STACK 0
java.lang.NullPointerException
at
com.instantiations.assist.eclipse.junit.generation.util.UnitTestValueManager.(UnitTestValueManager.java:147)
at
com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.generateNewTestFor(DefaultTypeTestGenerator.java:311)
at
com.instantiations.assist.eclipse.junit.generation.core.DefaultTypeTestGenerator.generateTestFor(DefaultTypeTestGenerator.java:163)
at
com.instantiations.assist.eclipse.junit.generation.core.CompilationUnitTestGenerator.generateTestFor(CompilationUnitTestGenerator.java:172)
at
com.instantiations.assist.eclipse.junit.ui.util.NewTestCaseGenerator.generateTests(NewTestCaseGenerator.java:676)
at
com.instantiations.assist.eclipse.junit.ui.util.NewTestCaseGenerator.generateAllTestCases(NewTestCaseGenerator.java:319)
at
com.instantiations.assist.eclipse.junit.ui.util.NewTestCaseGenerator.generateTestCases(NewTestCaseGenerator.java:271)
at
com.instantiations.assist.eclipse.junit.generation.core.TestGenerationService$TestGenerationJob.generateTests(TestGenerationService.java:214)
at
com.instantiations.assist.eclipse.junit.generation.core.TestGenerationService$TestGenerationJob.runInWorkspace(TestGenerationService.java:190)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Reproducible: Always

Tool works well, useful

The tool works well for me -- I use the code duplication (similarity) a lot as well as the code analysis. Both are excellent. I don't use the junit since I use TestNG so I can't speak to that.

The contextual menus are where I'd expect and you don't need to read any documentation to get going and make it useful (although you might if you want something specific).

Two thumbs up! One of the better plugins I've used over the years.

Good analysis tools, weak testing tools

I tested the tool with Eclipse 3.6 - Everyting is great except testing. Menu items for code coverage are not existent in my environment (or the documentation is not up to date). I can use code coverage when I write my own AllTests class and define an according suite what is a little bit copious. There is an option in Preferences to decide between JUnit 3 and 4 but the test editor doesn't work with JUnit4 (you get an exception). What I really hate is that I am no longer able to run tests (Test classes) from the context menu with run -> this menu item is gone. At the moment I am not sure if it isn't better to uninstall the tool until testing is working better. I hope, Google will fix that soon :-)