File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/GraphAccum.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/GraphAccum.java | |||
Method name: void drawSample(int, SampleResult, Graphics)
|
Method name: void drawSample(int, SampleResult, Graphics)
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | gbc.gridx = 0;↵ | 1 | gbc.gridx = 0;↵ | |
2 | gbc.gridy = compCount++;↵ | 2 | gbc.gridy = compCount++;↵ | |
3 | gbc.anchor = GridBagConstraints.WEST;↵ | 3 | gbc.anchor = GridBagConstraints.WEST;↵ | |
4 | gbc.weightx = 1.0;↵ | 4 | gbc.weightx = 1.0;↵ | |
5 | gbc.insets = new Insets(0, 10, 0, 0);↵ | 5 | gbc.insets = new Insets(0, 10, 0, 0);↵ | |
6 | JLabel mainTimeLabel = new JLabel(oneSample.toString());↵ | 6 | JLabel compTimeLabel = new JLabel(componentRes.getSampleLabel());↵ | |
7 | mainTimeLabel.setForeground(currColor);↵ | 7 | compTimeLabel.setForeground(currColor);↵ | |
8 | gridBag.setConstraints(mainTimeLabel, gbc);↵ | 8 | gridBag.setConstraints(compTimeLabel, gbc);↵ | |
9 | legendPanel.add(mainTimeLabel); | 9 | legendPanel.add(compTimeLabel); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 53 |
Number of mapped statements | 9 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46 | gbc.gridx = 0; | 71 | gbc.gridx = 0; | |||||||||||||||||
47 | gbc.gridy = compCount++; | 72 | gbc.gridy = compCount++; | |||||||||||||||||
48 | gbc.anchor = GridBagConstraints.WEST; | 73 | gbc.anchor = GridBagConstraints.WEST; | |||||||||||||||||
49 | gbc.weightx = 1.0; | 74 | gbc.weightx = 1.0; | |||||||||||||||||
50 | gbc.insets = new Insets(0, 10, 0, 0); | 75 | gbc.insets = new Insets(0, 10, 0, 0); | |||||||||||||||||
51 | JLabel mainTimeLabel = new JLabel(oneSample.toString()); |
| 76 | JLabel compTimeLabel = new JLabel(componentRes.getSampleLabel()); | ||||||||||||||||
52 | mainTimeLabel.setForeground(currColor); |
| 77 | compTimeLabel.setForeground(currColor); | ||||||||||||||||
53 | gridBag.setConstraints(mainTimeLabel, gbc); |
| 78 | gridBag.setConstraints(compTimeLabel, gbc); | ||||||||||||||||
54 | legendPanel.add(mainTimeLabel); |
| 79 | legendPanel.add(compTimeLabel); |
Row | Violation |
---|