if(x > dragStartLineWidth) { extraEndVirt = (int)( (x - dragStartLineWidth) / charWidth); if(!getPainter().isBlockCaretEnabled() && !isOverwriteEnabled() && (x - getHorizontalOffset()) % charWidth > charWidth / 2) { extraEndVirt++;
if(x > dotLineWidth) { extraEndVirt = (int)((x - dotLineWidth) / charWidth); if(!getPainter().isBlockCaretEnabled() && !isOverwriteEnabled() && (x - getHorizontalOffset()) % charWidth > charWidth / 2) extraEndVirt++; }
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if(x > dragStartLineWidth)
1
if(x > dotLineWidth)
2
				{
2
				{
3
					extraEndVirt = (int)(
3
					extraEndVirt = (int)(
4
						(x - dragStartLineWidth)
4
(x - dotLineWidth)
5
						/ charWidth);
5
 / charWidth);
6
					if(!getPainter().isBlockCaretEnabled()
6
					if(!getPainter().isBlockCaretEnabled()
7
						&& !isOverwriteEnabled()
7
						&& !isOverwriteEnabled()
8
						&& (x - getHorizontalOffset()) % charWidth > charWidth / 2)
8
						&& (x - getHorizontalOffset()) % charWidth > charWidth / 2)
9
					{
9
					
10
						extraEndVirt++;
10
	extraEndVirt++;
11
					
11
				}
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0