Details
Description
For example, in sonar sample 1, the ch.hortis.sonar.sample.one.InnerClassOutside isn't seen in the classes column of rules breakdown.
Have to modify the way JXR report files are parsed to fix it.
--------------------------------------------------------------------------------
Example of private class :
package ch.hortis.sonar.sample.one;
public class WithInnerClasses {
protected void methodOne() {
int i = 0;
i++;
}
protected void methodTwo() { int i = 0; i++; } }
class InnerClassInside {
InnerClassInside() {
}
void innerMethodOne() {
System.out.println("in one");
}
void innerMethodTwo() {
System.out.println("in two");
}
}
}
class InnerClassOutside {
InnerClassOutside() {
}
void innerMethodThree() {
System.out.println("in three");
}
void innerMethodFour() {
System.out.println("in four");
}
void innerMethodFive() {
if(true) {
System.out.println("in five");
}
}
void innerMethodSix() {
if(true) {
System.out.println("in six");
}
}
}