Code Search in Boa Language

30 views
Skip to first unread message

Eduardo Campos

unread,
Jan 16, 2019, 8:41:04 AM1/16/19
to Boa Language and Infrastructure User Forum

Hi all,

Thanks for this amazing tool...

I would like to know if it is possible to do a query in Boa language that receives a piece of Java code as input (or maybe code tokens) and returns a list of Java source files that contain code fragments that are semantically similar (i.e, they are Type-4 code clones) to user input code.

Remembering that Type-4 code clones are syntactically dissimilar code fragments that implement 
the same functionality. They are also known as semantic clones.

Many thanks and best regards,

Eduardo Campos.
Software Engineering Ph.D. student at the Federal University of Uberlândia, Brazil

Robert Dyer

unread,
Jan 16, 2019, 5:14:10 PM1/16/19
to boa-...@googlegroups.com
Hi Eduardo,

At the moment, Boa does not include direct support for finding type-4 code clones.

Boa simply provides the AST of Java source files.  You are then free to program code clone detection on top of that.

- Robert

--
More information about Boa: http://boa.cs.iastate.edu/
---
You received this message because you are subscribed to the Google Groups "Boa Language and Infrastructure User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boa-user+u...@googlegroups.com.
To post to this group, send email to boa-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages