SAFE Logo
CodeMatch Detailed Report
Version: 5.6.0 | Date: 06/18/12 | Time: 19:09:04

SCORE

SETTINGS
Compare file 1: C:\Users\Evan\Desktop\Java2SE5.0\src\com\sun\jmx\snmp\IPAcl\SimpleNode.java
To file 2: C:\Users\Evan\Desktop\Android2.2Froyo\org\apache\james\mime4j\field\address\parser\SimpleNode.java
Links to results: Matching Statements
Matching Comments and Strings
Matching Instruction Sequences
Matching Identifiers
Partially Matching Identifiers
Score
RESULTS
Matching Statements
File1 Line# File2 Line# Statement
246protected Node parent
257protected Node[] children
268protected int id
2911public SimpleNode(int i) {
3012id = i
3416this(i)
3517parser = p
4620public void jjtOpen() {
4923public void jjtClose() {
5226public void jjtSetParent(Node n) { parent = n
5327public Node jjtGetParent() { return parent
5529public void jjtAddChild(Node n, int i) {
5630if (children == null) {
5731children = new Node[i + 1]
5832} else if (i >= children.length) {
5933Node c[] = new Node[i + 1]
6034System.arraycopy(children, 0, c, 0, children.length)
6135children = c
6337children[i] = n
6640public Node jjtGetChild(int i) {
6741return children[i]
7044public int jjtGetNumChildren() {
7145return (children == null) ? 0 : children.length
82
95
109
134
55
77
if (children != null) {
83
96
110
135
56
78
for (int i = 0
83
96
110
135
56
78
i < children.length
83
96
110
135
56
78
++i) {
84
97
111
136
79SimpleNode n = (SimpleNode)children[i]
85
98
112
137
80if (n != null) {
12870public String toString(String prefix) { return prefix + toString()
13375public void dump(String prefix) {
13881n.dump(prefix + )

to top

Matching Comments and Strings
File1 Line# File2 Line# Comment/String
131Generated By:JJTree: Do not edit this line. SimpleNode.java
12163You can override these two methods in subclasses of SimpleNode to
12264customize the way the node appears when the tree is dumped. If
12365your output uses more than one line you should override
12466toString(String), otherwise overriding toString() is probably all
12567you need to do.
13072Override this method if you want to customize how the node dumps
13173out its children.

to top

Matching Instruction Sequences
File1 Line# File2 Line# Number of matching instructions
24 6 10
46 20 17

to top

Matching Identifiers
arraycopy children dump id jjtAddChild jjtClose jjtGetChild jjtGetNumChildren
jjtGetParent jjtNodeName jjtOpen jjtSetParent length Node parent parser
prefix SimpleNode System toString

to top

Partially Matching Identifiers
File1 Identifiers
buildAclEntries IPAcl jjtCreate ParserTreeConstants PrincipalImpl
File2 Identifiers
AddressListParser AddressListParserTreeConstants AddressListParserVisitor apache childrenAccept jjtAccept println
to the top
SCORE 64

CodeSuite copyright 2003-2012 by Software Analysis and Forensic Engineering Corporation