Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.970 | stmt_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 181 | BioSQL/BioSeqDatabase.py |
2 | 11 | 206 | BioSQL/BioSeqDatabase.py |
| ||||
def commit(self): "Commits the current transaction to the database." return self.adaptor.commit( ) def rollback(self): "Rolls backs the current transaction." return self.adaptor.rollback( ) def close(self): "Close the connection. No further activity possible." return self.adaptor.close( ) |
| ||||
def commit(self): "Commits the current transaction." return self.conn.commit( ) def rollback(self): "Rolls backs the current transaction." return self.conn.rollback( ) def close(self): "Close the connection. No further activity possible." return self.conn.close( ) |
| |||
def commit(self): [[#variable60137680]] return self. [[#variable5c76ee20]].commit( ) def rollback(self): "Rolls backs the current transaction." return self. [[#variable5c76ee20]].rollback( ) def close(self): "Close the connection. No further activity possible." return self. [[#variable5c76ee20]].close( ) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60137680]] | "Commits the current transaction to the database." |
1 | 2 | [[#60137680]] | "Commits the current transaction." |
2 | 1 | [[#5c76ee20]] | adaptor |
2 | 2 | [[#5c76ee20]] | conn |