File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImpl.java | File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImpl.java | |||
Method name: void sendFileInstallStarted(String)
|
Method name: void sendFileInitChangelistStarted(String)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | logInfo("Install started for file: " + artifactName);↵ | 1 | logInfo("Changelist init started for file: " + artifactName);↵ | |
2 | InstallStatusEvent evt = installStatusEventFactory.create(InstallEventType.FILE_INSTALL_STARTED);↵ | 2 | InstallStatusEvent evt = installStatusEventFactory.create(InstallEventType.FILE_INIT_CHANGELIST_STARTED);↵ | |
3 | evt.setArtifactName(artifactName);↵ | 3 | evt.setArtifactName(artifactName);↵ | |
4 | sendEvent(evt); | 4 |
| |
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 declared in the same class |
Number of node comparisons | 8 |
Number of mapped statements | 4 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | logInfo("Install started for file: " + artifactName); |
| 1 | logInfo("Changelist init started for file: " + artifactName); | ||||||||||
2 | InstallStatusEvent evt = installStatusEventFactory.create(InstallEventType.FILE_INSTALL_STARTED); |
| 2 | InstallStatusEvent evt = installStatusEventFactory.create(InstallEventType.FILE_INIT_CHANGELIST_STARTED); | ||||||||||
3 | evt.setArtifactName(artifactName); | 3 | evt.setArtifactName(artifactName); | |||||||||||
4 | sendEvent(evt); | 4 | sendEvent(evt); |
Row | Violation |
---|