Questions tagged [codepro]

CodePro AnalytiX is Java software testing tool owned by Google.

CodePro AnalytiX is a Java software testing tool owned by Google.

It allows analysis of various code metrics, code coverage and dependencies as well as generation of tests.

27 questions
1
vote
0 answers

Eclipse Indigo CodePro Analytix

In the school scope of an audit project i am using the CodePro Analytix with Eclipse Indigo. CodePro works fine. But when i'm using java code to create JFrame (for example), it keeps showing an error "The type javax.swing.JComponent cannot be…
newUser
  • 102
  • 8
1
vote
1 answer

Google CodePro dependency graph won't zoom out

I've used Codepro for dependency graphs before and I like it. It is unsupported and discontinued. Why? My (real) question is that I've installed the Indigo 3.7 version (it wouldn't work on Eclipse 4.2 so installed 3.7 just for this purpose) and it…
HankCa
  • 9,129
  • 8
  • 62
  • 83
1
vote
1 answer

Code coverage for selected packages

I am looking for a code coverage tool, which helps me find coverage of selected packages in my workspace. Solution pertaining to CI or Eclipse is welcome. I am aware that, I can manually calculate based off the numbers I get from code coverage…
rl99
  • 501
  • 2
  • 5
  • 13
1
vote
0 answers

codepro analytix - listing all current rules across rule sets

I need to analyse the rules in my codePro installation. It has a few custom rulesets over the default ones as well which might have redundant instances. I would require to list all rules, their descriptions and rulesets. I am aware of the export…
kira_a
  • 11
  • 2
1
vote
2 answers

Google CodePro test cases not generating easymock objects automatically

I have google CodePro Analytix tool installed for Eclipse Helios, when I generate unit tests using code pro, it generates the unit tests , but doesn't generate mock objects of interface, or in general doesn't create mock object, I do have some…
0
votes
1 answer

CodePro Analytix - I don't get the Audit rule "Variable Has Null Value"

I'm testing CodePro Anlaytix (Eclipse plug-in) to check for code style in a project. CPA tells me that "Variable has null value" for the variable "titleParam" and "descParam" in the setters. Here's the class: /** * fdas fsda fsda fsa * @version…
mrmuggles
  • 2,081
  • 4
  • 25
  • 44
0
votes
3 answers

Why does CodePro junit test methods throw Exception (in Eclipse)?

Eclipse's CodePro generates JUnit tests, however, all test methods that it generates throw Exception even if it is impossible for a checked exception to be thrown. Is this a limitation of CodePro, or a good JUnit practice I haven't seen before? …
Kevin
  • 4,070
  • 4
  • 45
  • 67
0
votes
0 answers

Codepro Analytix for eclipse 3.2

I am using RAD 7.0.0.8( which uses eclipse 3.2). I tried to find a eclipse 3.2 compatible Codepro Analytix plugin, but to no avail. So I installed (copied-pasted unzipped contents to "features" and "plugins" folders appropriately and run eclipse…
knk
  • 79
  • 1
  • 9
0
votes
0 answers

Issue installing CodePro Analityx on STS (Kepler): menu not appearing

I installed CodePro via update site (http://dl.google.com/eclipse/inst/codepro/latest/3.6) in my STS. Installation completed correctly, but I cannot see the CodePro menu. Further data: Spring Tool Suite Version: 3.5.1.RELEASE Build Id:…
Manu
  • 4,019
  • 8
  • 50
  • 94
0
votes
1 answer

codePro junit generates in junit-4 always

I am using codePro tool to generate junit. Since I am using JDK1.4, I opted junit3 in codePro settings. Despite me setting junit-3, the test cases are generated in junit-4 (with annotations) The first screen shot shows that my setting shows my…
Arun
  • 3,440
  • 11
  • 60
  • 108
0
votes
1 answer

Eclipse cut/copy/paste not working

I have installed the CodePro AnalytiX 3.7 plugin in my Eclipse Juno. From then in any of the Java TestCase classes the keyboard shortcuts of the cut/copy/paste are not working. Also the delete is not happening when I press the "delete" button on…
user1760178
  • 6,277
  • 5
  • 27
  • 57
-1
votes
1 answer

How to achieve hard-code voilations with CodePro?

I have to check some voilations like this if(emp.companyName="MyCompany") ie. Here there should not "MyComapany" hard-code in expression or condition checking. which rule of CodePro do this.
Sun
  • 3,444
  • 7
  • 53
  • 83
1
2