Abstract:
The technique relates to a system and method for assessing modularity of a program written in an object oriented language. This technique involves receiving information related to modularization of the program written in the object oriented language. Then the modularization of the program is assessed by calculating object encapsulation metrics, partial types metrics, extension method metrics, delegates metrics and static variable usage metrics. Further, an assessment report of the modularization is generated with respect to the said metrics.
Abstract:
A technique for source code plagiarism evaluation is disclosed. Program source code files of the object orientated program are received. Class data of the program source code files are determined to comprise of at least a block of one or more design patterns wherein the one or more design patterns are stored in a database. A plagiarism value is evaluated for each of the program source code files wherein the class data of the program source code file matches with class data of an original program source code file. Program source code files wherein the class data of each of the program source code files comprises of the block of the same design pattern are categorized and the plagiarism value of the categorized program source code files are analyzed.
Abstract:
A non-transitory computer readable medium, plagiarism detection device, and method which generate an abstract syntax tree from software code in an computer readable source file, the software code comprising at least one class; identifies one or more method invocations in the source file by means of the abstract syntax tree, and resolves each of the one or more method invocations in the at least one class by acquiring source code associated with each of the one or more invoked methods, where acquiring source code involves identifying at least one node of the abstract syntax tree with which the source code is associated and copying the source code therein and replacing the one or more method invocations in the source file with the copied source code. The source file may be compared with predetermined data, in some embodiments.
Abstract:
A technique for source code plagiarism evaluation is disclosed. Program source code files of the object orientated program are received. Class data of the program source code files are determined to comprise of at least a block of one or more design patterns wherein the one or more design patterns are stored in a database. A plagiarism value is evaluated for each of the program source code files wherein the class data of the program source code file matches with class data of an original program source code file. Program source code files wherein the class data of each of the program source code files comprises of the block of the same design pattern are categorized and the plagiarism value of the categorized program source code files are analyzed.
Abstract:
The technique relates to a system and method for assessing modularity of a program written in an object oriented language. This technique involves receiving information related to modularization of the program written in the object oriented language. Then the modularization of the program is assessed by calculating object encapsulation metrics, partial types metrics, extension method metrics, delegates metrics and static variable usage metrics. Further, an assessment report of the modularization is generated with respect to the said metrics.
Abstract:
Methods and instructions embodied in non-transitory media for the detection of plagiarism in software code implementing a design pattern are described. Steps involved may include receiving input comprising the software code at least one design pattern implemented in the software code, identifying at least one function call to a function in a class implementing the design pattern in the software code, and creating a representation of the called function in the class containing the function call, wherein the function call and the function to which it corresponds is characteristic of the design pattern; and where the created representation implements program logic associated with at least one function implementing the design pattern, including the called function. The function call may be replaced with the representation of the called function. Additionally, the modified code may then be compared with one or more target files.
Abstract:
Methods and instructions embodied in non-transitory media for the detection of plagiarism in software code implementing a design pattern are described. Steps involved may include receiving input comprising the software code at least one design pattern implemented in the software code, identifying at least one function call to a function in a class implementing the design pattern in the software code, and creating a representation of the called function in the class containing the function call, wherein the function call and the function to which it corresponds is characteristic of the design pattern; and where the created representation implements program logic associated with at least one function implementing the design pattern, including the called function. The function call may be replaced with the representation of the called function. Additionally, the modified code may then be compared with one or more target files.