Skip to content

Commit

Permalink
feat: adds the possibility to generate reports only from provided pat…
Browse files Browse the repository at this point in the history
…hs for comparing two projects.

Refs: #209.
  • Loading branch information
Artanias authored Jan 2, 2025
1 parent 1d9785e commit 9875f8a
Show file tree
Hide file tree
Showing 13 changed files with 541 additions and 137 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UTIL_VERSION := 0.5.10
UTIL_VERSION := 0.5.11
UTIL_NAME := codeplag
PWD := $(shell pwd)

Expand Down
90 changes: 55 additions & 35 deletions locales/codeplag.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: codeplag 0.5.10\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2025-01-01 18:21+0300\n"
"Project-Id-Version: codeplag 0.5.11\n"
"POT-Creation-Date: 2025-01-02 18:42+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Artyom Semidolin\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -173,33 +172,45 @@ msgstr ""
msgid "Type of the created report file."
msgstr ""

#: src/codeplag/codeplagcli.py:338
#: src/codeplag/codeplagcli.py:336
msgid ""
"Path to first compared works. Can be path to directory or URL to the "
"project folder."
msgstr ""

#: src/codeplag/codeplagcli.py:346
msgid ""
"Path to second compared works. Can be path to directory or URL to the "
"project folder."
msgstr ""

#: src/codeplag/codeplagcli.py:358
msgid ""
"Program help to find similar parts of source codes for the different "
"languages."
msgstr ""

#: src/codeplag/codeplagcli.py:346
#: src/codeplag/codeplagcli.py:366
msgid "Print current version number and exit."
msgstr ""

#: src/codeplag/codeplagcli.py:352
#: src/codeplag/codeplagcli.py:372
msgid "Commands help."
msgstr ""

#: src/codeplag/codeplagcli.py:367
#: src/codeplag/codeplagcli.py:387
msgid "No command is provided; please choose one from the available (--help)."
msgstr ""

#: src/codeplag/codeplagcli.py:378
#: src/codeplag/codeplagcli.py:398
msgid "There is nothing to modify; please provide at least one argument."
msgstr ""

#: src/codeplag/codeplagcli.py:382
#: src/codeplag/codeplagcli.py:402
msgid "The'repo-regexp' option requires the provided 'github-user' option."
msgstr ""

#: src/codeplag/codeplagcli.py:390
#: src/codeplag/codeplagcli.py:410
msgid ""
"The'path-regexp' option requires the provided 'directories', 'github-"
"user', or 'github-project-folder' options."
Expand All @@ -214,102 +225,111 @@ msgid "Check results"
msgstr ""

#: src/templates/general.templ:44 src/templates/sources.templ:46
msgid "General information"
msgid "Summary information"
msgstr ""

#: src/templates/general.templ:46
#: src/templates/general.templ:46 src/templates/general.templ:65
#: src/templates/sources.templ:48
msgid "Path"
msgstr ""

#: src/templates/general.templ:47
#: src/templates/general.templ:47 src/templates/sources.templ:49
msgid "Total similarity"
msgstr ""

#: src/templates/general.templ:63 src/templates/sources.templ:65
msgid "General information"
msgstr ""

#: src/templates/general.templ:66
msgid "Last modification date"
msgstr ""

#: src/templates/general.templ:48
#: src/templates/general.templ:67
msgid "Check date"
msgstr ""

#: src/templates/general.templ:61
#: src/templates/general.templ:80
msgid "Metrics information"
msgstr ""

#: src/templates/general.templ:63
#: src/templates/general.templ:82
msgid "Metric"
msgstr ""

#: src/templates/general.templ:64
#: src/templates/general.templ:83
msgid "Value"
msgstr ""

#: src/templates/general.templ:67
#: src/templates/general.templ:86
msgid "Jaccard Coefficient"
msgstr ""

#: src/templates/general.templ:71
#: src/templates/general.templ:90
msgid "Similarity of operators"
msgstr ""

#: src/templates/general.templ:75
#: src/templates/general.templ:94
msgid "Similarity of keywords"
msgstr ""

#: src/templates/general.templ:79
#: src/templates/general.templ:98
msgid "Similarity of literals"
msgstr ""

#: src/templates/general.templ:82
#: src/templates/general.templ:101
msgid "Weighted average by fast metrics"
msgstr ""

#: src/templates/general.templ:85
#: src/templates/general.templ:104
msgid "Similarity of structures"
msgstr ""

#: src/templates/general.templ:91
#: src/templates/general.templ:110
msgid "Similar parts of the second program relative to the first"
msgstr ""

#: src/templates/general.templ:93 src/templates/general.templ:125
#: src/templates/general.templ:112 src/templates/general.templ:144
msgid "Part of the first program"
msgstr ""

#: src/templates/general.templ:94 src/templates/general.templ:124
#: src/templates/general.templ:113 src/templates/general.templ:143
msgid "Part of the second program"
msgstr ""

#: src/templates/general.templ:95 src/templates/general.templ:126
#: src/templates/sources.templ:69
#: src/templates/general.templ:114 src/templates/general.templ:145
#: src/templates/sources.templ:88
msgid "Similarity"
msgstr ""

#: src/templates/general.templ:122
#: src/templates/general.templ:141
msgid "Similar parts of the first program relative to the second"
msgstr ""

#: src/templates/sources.templ:42
msgid "Verification results"
msgstr ""

#: src/templates/sources.templ:48
#: src/templates/sources.templ:67
msgid "The path to the file being checked"
msgstr ""

#: src/templates/sources.templ:49
#: src/templates/sources.templ:68
msgid "Total maximum compliance, %"
msgstr ""

#: src/templates/sources.templ:64
#: src/templates/sources.templ:83
msgid "Similar parts of the programs"
msgstr ""

#: src/templates/sources.templ:66
#: src/templates/sources.templ:85
msgid "The name of a similar file"
msgstr ""

#: src/templates/sources.templ:67
#: src/templates/sources.templ:86
msgid "Part of the file that is being checked"
msgstr ""

#: src/templates/sources.templ:68
#: src/templates/sources.templ:87
msgid "Part of a similar file"
msgstr ""
Loading

0 comments on commit 9875f8a

Please sign in to comment.