Skip to content

Conversation

@Artanias
Copy link
Collaborator

Extends the logic of the codeplag settings modify --short-output argument. When provided '0' show all check works results in the stdout. When provided '1' show only new found check works results in the stdout. When provided '2' do not show check works result in the stdout.

@Artanias Artanias added the enhancement New feature or request label Mar 29, 2025
@Artanias Artanias added this to the v0.6.0 milestone Mar 29, 2025
@Artanias Artanias self-assigned this Mar 29, 2025
@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
codeplag
   __init__.py33316%5–6, 8–14, 16–17, 19–20, 22–34, 40–43, 45
   __main__.py330%1, 3–4
   codeplagcli.py93594%390, 401, 404, 412, 424
   config.py430100% 
   consts.py410100% 
   display.py1305160%45, 71, 99–102, 104, 116, 118–119, 121–124, 126–127, 129, 135, 137–138, 140–143, 145–146, 148, 150, 154, 174–176, 184–185, 192–193, 195–196, 198, 203–204, 206–207, 209, 213–217, 221–222
   getfeatures.py1488145%95–97, 99–101, 103–105, 110–113, 115–117, 122, 125–126, 132–134, 160–165, 167, 169, 175–179, 181–186, 188, 208–212, 214–217, 220–223, 225–226, 228, 230–231, 233, 253–257, 259–261, 263–264, 267–270, 272–273, 275, 277–278, 280
   logger.py513237%21–23, 26, 28, 33–34, 38, 42–44, 51, 55–57, 59, 63–65, 67–70, 72, 78–83, 87–88
   reporters.py621083%42, 62–63, 79, 81, 95, 99–100, 105, 109
   translate.py5180%10
   types.py1090100% 
   utils.py45450%1–2, 4, 6, 11–12, 15–17, 20–23, 25–28, 30–35, 37–42, 44–45, 56–57, 59–60, 62–69, 73, 80
codeplag/algorithms
   __init__.py00100% 
   compare.py220100% 
   featurebased.py129397%36, 84, 102
   stringbased.py560100% 
   tokenbased.py55394%118, 137, 170
codeplag/cplag
   __init__.py00100% 
   const.py90100% 
   tree.py47491%33–36
   utils.py613149%35–36, 53–54, 56–61, 63–64, 66, 76, 84–88, 91, 94–97, 99, 102–103, 105–106, 109, 115
codeplag/handlers
   __init__.py00100% 
   check.py19614327%78–81, 83, 85, 90–91, 93–98, 101, 105–109, 111–112, 114, 116–117, 129–130, 133, 135–139, 157–164, 166–169, 171–174, 181–182, 189–193, 203–208, 210–213, 218–227, 230–231, 241, 253–257, 262–273, 278–281, 284–285, 295–297, 299–312, 321–326, 328–329, 331, 341, 348–352, 358–359, 367, 382, 385, 423–426
   report.py1857161%76–90, 92–95, 97–101, 103–106, 114, 273–275, 278, 283–286, 290, 295–299, 302–304, 306, 317–322, 325, 329–334, 357–361, 363–368
   settings.py20200%1–2, 4–5, 7–8, 11–13, 18, 21–28, 30, 32
codeplag/pyplag
   __init__.py00100% 
   astwalkers.py66887%25–30, 32, 38
   const.py70100% 
   utils.py814445%25–26, 33–34, 41–42, 50–51, 56–58, 72–73, 75–76, 82, 84–88, 103–104, 106–110, 112–113, 115, 125, 133–137, 139, 142–143, 145–146, 149, 155
webparsers
   __init__.py00100% 
   async_github_parser.py1711710%1–5, 7–12, 14, 24, 27, 52–53, 55, 57, 59–60, 62, 64, 66–67, 69, 71, 79–80, 82, 84–86, 93–95, 97, 99, 104–109, 111, 114–116, 118–124, 126–127, 129–138, 140, 142–146, 148–151, 156–158, 168–169, 171, 173, 175–176, 178, 180, 183, 187, 189–193, 195–200, 209–210, 212, 214, 216, 222, 226–227, 229, 232, 243, 245, 247, 256, 259–266, 274–276, 281, 283, 285, 291, 293, 296–300, 302–303, 305–306, 309, 319–320, 327, 329–334, 336, 346, 354, 357–361, 363, 373–375, 378–380, 383, 391–392, 397, 399, 403, 409
   github_parser.py1842685%37, 56–58, 64, 74, 77–80, 88–91, 122, 151, 251, 260–262, 293–295, 314–316
   types.py630100% 
TOTAL211578362% 

@Artanias Artanias merged commit af0f06c into main Mar 29, 2025
4 checks passed
@Artanias Artanias deleted the show_only_new branch March 29, 2025 09:55
@github-project-automation github-project-automation bot moved this from In progress to v0.6.0 in Codeplag tasks (CP) Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: v0.6.0

Development

Successfully merging this pull request may close these issues.

2 participants