Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 6 | 0.957 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 128 | Bio/GenBank/LocationParser.py |
2 | 6 | 134 | Bio/GenBank/LocationParser.py |
3 | 6 | 149 | Bio/GenBank/LocationParser.py |
4 | 6 | 162 | Bio/GenBank/LocationParser.py |
| ||||
def t_double_colon(self,input): " :: " self.rv.append(Token("double_colon")) def t_double_dot(self,input): " \\.\\. " self.rv.append(Token("double_dot")) |
| ||||
def t_dot(self,input): " \\.(?!\\.) " self.rv.append(Token("dot")) def t_caret(self,input): " \\^ " self.rv.append(Token("caret")) |
| ||||
def t_colon(self,input): " :(?!:) " self.rv.append(Token("colon")) def t_open_paren(self,input): " \\( " self.rv.append(Token("open_paren")) |
| ||||
def t_less_than(self,input): " < " self.rv.append(Token("less_than")) def t_greater_than(self,input): " > " self.rv.append(Token("greater_than")) # punctuation .. hmm, isn't needed for location # r''' [ !#$%&'()*+,\-./:;<=>?@\[\\\]^_`{|}~] ''' |
| |||
def [[#variable601162c0]](self,input): [[#variable60116240]] self.rv.append(Token( [[#variable60116120]])) def [[#variable601161c0]](self,input): [[#variable5be5c2c0]] self.rv.append(Token( [[#variable4de4f7c0]])) # punctuation .. hmm, isn't needed for location # r''' [ !#$%&'()*+,\-./:;<=>?@\[\\\]^_`{|}~] ''' |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#601162c0]] | t_double_colon |
1 | 2 | [[#601162c0]] | t_dot |
1 | 3 | [[#601162c0]] | t_colon |
1 | 4 | [[#601162c0]] | t_less_than |
2 | 1 | [[#60116240]] | " :: " |
2 | 2 | [[#60116240]] | " \\.(?!\\.) " |
2 | 3 | [[#60116240]] | " :(?!:) " |
2 | 4 | [[#60116240]] | " < " |
3 | 1 | [[#60116120]] | "double_colon" |
3 | 2 | [[#60116120]] | "dot" |
3 | 3 | [[#60116120]] | "colon" |
3 | 4 | [[#60116120]] | "less_than" |
4 | 1 | [[#601161c0]] | t_double_dot |
4 | 2 | [[#601161c0]] | t_caret |
4 | 3 | [[#601161c0]] | t_open_paren |
4 | 4 | [[#601161c0]] | t_greater_than |
5 | 1 | [[#5be5c2c0]] | " \\.\\. " |
5 | 2 | [[#5be5c2c0]] | " \\^ " |
5 | 3 | [[#5be5c2c0]] | " \\( " |
5 | 4 | [[#5be5c2c0]] | " > " |
6 | 1 | [[#4de4f7c0]] | "double_dot" |
6 | 2 | [[#4de4f7c0]] | "caret" |
6 | 3 | [[#4de4f7c0]] | "open_paren" |
6 | 4 | [[#4de4f7c0]] | "greater_than" |