Skip to content

Commit

Permalink
#112 Fixed @todo formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
rok-povsic committed Feb 8, 2018
1 parent 5800db2 commit 6844866
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions src/main/resources/org/jpeek/metrics/LORM.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,28 @@ SOFTWARE.
</xsl:for-each>
</xsl:variable>
<!--
@todo #112:30min Implement natural language processing techniques to analyze conceptual
similarity of methods. Two methods have a `conceptual-relation` if they contain at least
one same `concept`. `concepts` are identified by semantic processing of the class/method,
as being associated in the knowledge-base with that class/method (original paper in
/papers/etzkorn00.pdf). The original paper does not explicitly define the implementation of
semantic processing, or which NLP methods are being used, but it is knowledge-based system,
which means that additional input must inserted into the LORM method - that is, a set of
possible concepts - which are then recognized in a particular method/piece of code. This set
of possible concepts depends on the `domain` that the class is in.
One way of interpreting what the `domain` is (this is not defined in the original paper),
is the business domain the class is used for. Another definition of `domain` also comes to
mind - the programming language being used. Concepts could be defined as all reserved Java
keywords and "semantic processing" recognizes which reserved keywords are used in a particular
method. Hence, if two methods use same reserved keywords, they have a `conceptual-relation`.
Using this definition would require no additional input by the user of the LORM method.
Right now it is stubbed because NLP/semantic processing is not implemented yet. Ensure that
JPeek core implements these techniques, collects information on such relations and
unstub the lines commented below.
@todo #112:30min Implement natural language processing techniques to analyze
conceptual similarity of methods. Two methods have a `conceptual-relation`
if they contain at least one same `concept`. `concepts` are identified by
semantic processing of the class/method, as being associated in the
knowledge-base with that class/method (original paper in
/papers/etzkorn00.pdf). The original paper does not explicitly define the
implementation of semantic processing, or which NLP methods are being used,
but it is a knowledge-based system, which means that additional input must
inserted into the LORM method - that is, a set of possible concepts -
which are then recognized in a particular method/piece of code. This set of
possible concepts depends on the `domain` that the class is in.
One way of interpreting what the `domain` is (this is not defined in the
original paper), is the business domain the class is used for. Another
definition of `domain` also comes to mind - the programming language being
used. Concepts could be defined as all reserved Java keywords and "semantic
processing" recognizes which reserved keywords are used in a particular
method. Hence, if two methods use same reserved keywords, they have a
`conceptual-relation`. Using this definition would require no additional
input by the user of the LORM method. Right now it is stubbed because
NLP/semantic processing is not implemented yet.k
Ensure that JPeek core implements these techniques, collects information on
such relations and unstub the lines commented below.
-->
<!--
<xsl:variable name="possible_relations"/>
Expand Down

0 comments on commit 6844866

Please sign in to comment.