Skip to content

Commit 9875f8a

Browse files
authored
feat: adds the possibility to generate reports only from provided paths for comparing two projects.
Refs: #209.
1 parent 1d9785e commit 9875f8a

File tree

13 files changed

+541
-137
lines changed

13 files changed

+541
-137
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
UTIL_VERSION := 0.5.10
1+
UTIL_VERSION := 0.5.11
22
UTIL_NAME := codeplag
33
PWD := $(shell pwd)
44

locales/codeplag.pot

Lines changed: 55 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
#, fuzzy
66
msgid ""
77
msgstr ""
8-
"Project-Id-Version: codeplag 0.5.10\n"
9-
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10-
"POT-Creation-Date: 2025-01-01 18:21+0300\n"
8+
"Project-Id-Version: codeplag 0.5.11\n"
9+
"POT-Creation-Date: 2025-01-02 18:42+0300\n"
1110
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1211
"Last-Translator: Artyom Semidolin\n"
1312
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -173,33 +172,45 @@ msgstr ""
173172
msgid "Type of the created report file."
174173
msgstr ""
175174

176-
#: src/codeplag/codeplagcli.py:338
175+
#: src/codeplag/codeplagcli.py:336
176+
msgid ""
177+
"Path to first compared works. Can be path to directory or URL to the "
178+
"project folder."
179+
msgstr ""
180+
181+
#: src/codeplag/codeplagcli.py:346
182+
msgid ""
183+
"Path to second compared works. Can be path to directory or URL to the "
184+
"project folder."
185+
msgstr ""
186+
187+
#: src/codeplag/codeplagcli.py:358
177188
msgid ""
178189
"Program help to find similar parts of source codes for the different "
179190
"languages."
180191
msgstr ""
181192

182-
#: src/codeplag/codeplagcli.py:346
193+
#: src/codeplag/codeplagcli.py:366
183194
msgid "Print current version number and exit."
184195
msgstr ""
185196

186-
#: src/codeplag/codeplagcli.py:352
197+
#: src/codeplag/codeplagcli.py:372
187198
msgid "Commands help."
188199
msgstr ""
189200

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

194-
#: src/codeplag/codeplagcli.py:378
205+
#: src/codeplag/codeplagcli.py:398
195206
msgid "There is nothing to modify; please provide at least one argument."
196207
msgstr ""
197208

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

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

216227
#: src/templates/general.templ:44 src/templates/sources.templ:46
217-
msgid "General information"
228+
msgid "Summary information"
218229
msgstr ""
219230

220-
#: src/templates/general.templ:46
231+
#: src/templates/general.templ:46 src/templates/general.templ:65
232+
#: src/templates/sources.templ:48
221233
msgid "Path"
222234
msgstr ""
223235

224-
#: src/templates/general.templ:47
236+
#: src/templates/general.templ:47 src/templates/sources.templ:49
237+
msgid "Total similarity"
238+
msgstr ""
239+
240+
#: src/templates/general.templ:63 src/templates/sources.templ:65
241+
msgid "General information"
242+
msgstr ""
243+
244+
#: src/templates/general.templ:66
225245
msgid "Last modification date"
226246
msgstr ""
227247

228-
#: src/templates/general.templ:48
248+
#: src/templates/general.templ:67
229249
msgid "Check date"
230250
msgstr ""
231251

232-
#: src/templates/general.templ:61
252+
#: src/templates/general.templ:80
233253
msgid "Metrics information"
234254
msgstr ""
235255

236-
#: src/templates/general.templ:63
256+
#: src/templates/general.templ:82
237257
msgid "Metric"
238258
msgstr ""
239259

240-
#: src/templates/general.templ:64
260+
#: src/templates/general.templ:83
241261
msgid "Value"
242262
msgstr ""
243263

244-
#: src/templates/general.templ:67
264+
#: src/templates/general.templ:86
245265
msgid "Jaccard Coefficient"
246266
msgstr ""
247267

248-
#: src/templates/general.templ:71
268+
#: src/templates/general.templ:90
249269
msgid "Similarity of operators"
250270
msgstr ""
251271

252-
#: src/templates/general.templ:75
272+
#: src/templates/general.templ:94
253273
msgid "Similarity of keywords"
254274
msgstr ""
255275

256-
#: src/templates/general.templ:79
276+
#: src/templates/general.templ:98
257277
msgid "Similarity of literals"
258278
msgstr ""
259279

260-
#: src/templates/general.templ:82
280+
#: src/templates/general.templ:101
261281
msgid "Weighted average by fast metrics"
262282
msgstr ""
263283

264-
#: src/templates/general.templ:85
284+
#: src/templates/general.templ:104
265285
msgid "Similarity of structures"
266286
msgstr ""
267287

268-
#: src/templates/general.templ:91
288+
#: src/templates/general.templ:110
269289
msgid "Similar parts of the second program relative to the first"
270290
msgstr ""
271291

272-
#: src/templates/general.templ:93 src/templates/general.templ:125
292+
#: src/templates/general.templ:112 src/templates/general.templ:144
273293
msgid "Part of the first program"
274294
msgstr ""
275295

276-
#: src/templates/general.templ:94 src/templates/general.templ:124
296+
#: src/templates/general.templ:113 src/templates/general.templ:143
277297
msgid "Part of the second program"
278298
msgstr ""
279299

280-
#: src/templates/general.templ:95 src/templates/general.templ:126
281-
#: src/templates/sources.templ:69
300+
#: src/templates/general.templ:114 src/templates/general.templ:145
301+
#: src/templates/sources.templ:88
282302
msgid "Similarity"
283303
msgstr ""
284304

285-
#: src/templates/general.templ:122
305+
#: src/templates/general.templ:141
286306
msgid "Similar parts of the first program relative to the second"
287307
msgstr ""
288308

289309
#: src/templates/sources.templ:42
290310
msgid "Verification results"
291311
msgstr ""
292312

293-
#: src/templates/sources.templ:48
313+
#: src/templates/sources.templ:67
294314
msgid "The path to the file being checked"
295315
msgstr ""
296316

297-
#: src/templates/sources.templ:49
317+
#: src/templates/sources.templ:68
298318
msgid "Total maximum compliance, %"
299319
msgstr ""
300320

301-
#: src/templates/sources.templ:64
321+
#: src/templates/sources.templ:83
302322
msgid "Similar parts of the programs"
303323
msgstr ""
304324

305-
#: src/templates/sources.templ:66
325+
#: src/templates/sources.templ:85
306326
msgid "The name of a similar file"
307327
msgstr ""
308328

309-
#: src/templates/sources.templ:67
329+
#: src/templates/sources.templ:86
310330
msgid "Part of the file that is being checked"
311331
msgstr ""
312332

313-
#: src/templates/sources.templ:68
333+
#: src/templates/sources.templ:87
314334
msgid "Part of a similar file"
315335
msgstr ""

0 commit comments

Comments
 (0)