Skip to content

The AntiPlagiarism version 1.3 release

Latest
Compare
Choose a tag to compare
@SENya1990 SENya1990 released this 15 May 14:53
· 4 commits to master since this release

https://github.com/Acumatica/AntiPlagiarism/blob/master/docs/ReleaseNotes.mdAntiPlagiarism 1.3 includes new features, enhancements, and bug fixes described in this section, as well as the features that have been implemented in the previous version.
Enhanced Code Comparison Algorithm

AntiPlagiarism now uses advanced code analysis algorithm from Roslyn, which performs more complex comparison of syntax trees as compared to the previous version of AntiPlagiarism. With this new algorithm, AntiPlagiarism can find duplication even for methods that have from 5 to 10 lines.
Code Fragments in the Data Grid

In the data grid, you can now view the code fragments for the selected row if, in the context menu, you click Show Code. To hide the code, you can click Hide Code in the context menu or change the selected row.
New Settings

AntiPlagiarism now has the Settings panel. You can expand or collapse the panel by clicking on the button with a gear icon. The panel includes the settings, which are described below.
Visibility of Columns

You can specify the columns visible in the data grid by using the Column Visibility button.
Hiding of Particular Rows

By using the Show only rows exceeding threshold button, you can turn on the mode in which all rows with the Similarity value that does not exceed Threshold are hidden. You can change the Threshold parameter to filter already calculated results.
Ability to Select Parts of the Solution for Comparison

In previous version of AntiPlagiarism, you could only use the whole current solution as the source code for the comparison. Now you can choose one of the following options in Source Origin:

Current Solution to use the whole current solution for the comparison.
Selected Project to use the selected project from the current solution. The Select Project box will appear in which you can choose the project for the comparison.
Selected Folder to use the selected folder with the source code for the comparison. You can specify the folder in the Select Folder panel.

New Work Modes

In previous version of AntiPlagiarism, you could only specify the solution file as the reference solution for the comparison. Now you can choose one of the following modes:

Self-Analysis to compare the source code with itself. This mode is useful for refactoring.
Reference Solution to compare the source code with the provided reference solution. You can select the reference solution in the Reference Solution control. control. You can select a solution (.sln) or project (.csproj) file.
Acumatica Sources to compare the source code with the code stored in the specified folder. This mode is designed for third-party developers, which do not have the whole Acumatica ERP solution but have a set of source code files delivered with Acumatica ERP. However, this mode can be used in a general way, which is not related to Acumatica, to compare the source code with a code stored in the specified folder. The folder can be selected in the Acumatica Sources control.

Other Enhancements

  • The logging of errors is improved.
  • The integration with Visual Studio is improved: The background loading of the package has been added.
  • If you enter invalid values in the Threshold or Min. Method Size box, the box's background becomes red and a tooltip about the possible range of values is shown.
  • Visual Studio 2019 is now supported.
  • A lot of small UI enhancements, such as new tooltips, messages, enabling and disabling of UI controls depending on the context, have been added.
  • bugfixes