Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.960 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 75 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/test/java/org/columba/mail/parser/text/HtmlParserTest.java |
2 | 5 | 82 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/test/java/org/columba/mail/parser/text/HtmlParserTest.java |
| |||||
{ String input = "<html><body><p><!- this is a text without comments -></p></body></html>"; String result = HtmlParser.removeComments(input); assertTrue(result.equals("<html><body><p><!- this is a text without comments -></p></body></html>")); } |
| |||||
{ String input = "<html><body><p><!-- this is a comment -->And some text</p></body></html>"; String result = HtmlParser.removeComments(input); assertTrue(result.equals("<html><body><p>And some text</p></body></html>")); } |
| |||
{ String input = [[#variable131ba3e0]]; String result = HtmlParser.removeComments(input); assertTrue(result.equals( [[#variable131babc0]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131ba3e0]] | "<html><body><p><!- this is a text without comments -></p></body></html>" |
1 | 2 | [[#131ba3e0]] | "<html><body><p><!-- this is a comment -->And some text</p></body></html>" |
2 | 1 | [[#131babc0]] | "<html><body><p><!- this is a text without comments -></p></body></html>" |
2 | 2 | [[#131babc0]] | "<html><body><p>And some text</p></body></html>" |