Skip to content

fix: skip empty files for for not failing report generation and unnecessary actions.#250

Merged
Artanias merged 6 commits intomainfrom
handle_empty_works
Mar 23, 2026
Merged

fix: skip empty files for for not failing report generation and unnecessary actions.#250
Artanias merged 6 commits intomainfrom
handle_empty_works

Conversation

@Artanias
Copy link
Copy Markdown
Collaborator

No description provided.

@Artanias Artanias added this to the v0.6.0 milestone Mar 23, 2026
@Artanias Artanias self-assigned this Mar 23, 2026
@Artanias Artanias added the bug Something isn't working label Mar 23, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 23, 2026

Coverage

Coverage Report
FileStmtsMissBranchBrPartCoverMissing
codeplag
   __init__.py3331006%5–6, 8–14, 16–17, 19–20, 22–34, 40–43, 45
   __main__.py33220%1, 3–4
   codeplagcli.py101820792%60–61, 63, 428, 439, 442, 448, 460
   config.py390160100% 
   consts.py43000100% 
   display.py12849382161%45, 71, 99–102, 104, 116, 118–119, 121–124, 126–127, 129, 135, 137–138, 140–143, 145–146, 148, 150, 154, 170–172, 180–181, 188–189, 191, 196–197, 199–200, 202, 206–210, 214–215
   featurescache.py2960079%31–32, 34, 37–38, 40
   getfeatures.py11370483638%97–100, 102–104, 106–108, 113–116, 118–120, 125, 128–129, 135–137, 163–168, 170, 172, 195–199, 201–204, 207–210, 212–213, 215, 217–218, 220, 240–244, 246–248, 250–251, 254–257, 259–260, 262, 264–265, 267
   logger.py61336545%28–30, 33, 35, 40–41, 45, 49–51, 58, 62–64, 66, 70–72, 74–77, 79, 85–90, 94–95, 104
   reporters.py731020786%40, 43, 57–58, 74, 76, 88, 92–93, 98
   translate.py510080%10
   types.py143060100% 
   utils.py444416160%1–2, 4, 6, 11–12, 15–17, 20–23, 25–28, 30–35, 37–41, 43–44, 53–54, 56–57, 59–66, 70, 76
codeplag/algorithms
   __init__.py0000100% 
   compare.py24020100% 
   featurebased.py129376497%36, 84, 102
   stringbased.py560281100% 
   tokenbased.py45320393%118, 137, 170
codeplag/cplag
   __init__.py0000100% 
   const.py9000100% 
   tree.py48424391%33–36
   utils.py8653302838%22–24, 41–42, 61–62, 64–66, 68–69, 71–75, 77–83, 85, 96, 105, 107–108, 110–116, 119, 122–125, 128–132, 134, 137–138, 140–141, 144, 150
codeplag/db
   __init__.py0000100% 
   mongo.py1131818684%62–64, 78–83, 85, 92–95, 121–122, 181–182
codeplag/handlers
   __init__.py0000100% 
   check.py208153786826%87–90, 92, 94–95, 97–102, 105, 109–116, 118–122, 124–125, 127, 129, 136–137, 149–150, 153, 155–159, 176–181, 183–185, 187–190, 196–197, 203–207, 216–220, 222–225, 230–239, 242–243, 252, 261–265, 270–281, 286–289, 292–293, 303–305, 307–311, 314, 319–329, 338, 341–343, 346–349, 351–352, 354, 362, 369–373, 379–380, 388–389, 404, 407, 445–448
   report.py216991025154%84–94, 97–99, 108–111, 120–121, 123, 127, 143, 149–151, 251–252, 302–304, 307, 312–316, 320–322, 327–331, 334–336, 338, 350–353, 355–359, 362, 366–371, 395–399, 401–406, 433–436, 438–441, 443–448, 450, 457–459, 461–464, 473
   settings.py2222880%1–2, 4–5, 7–8, 11–15, 20, 23–30, 32, 34
codeplag/pyplag
   __init__.py0000100% 
   astwalkers.py65738889%25–30, 38
   const.py7000100% 
   utils.py10062323038%26–27, 34–35, 42–43, 51–52, 57–59, 73–74, 76–77, 83, 85–89, 106–107, 109–111, 113–114, 116–119, 121–127, 129, 140, 149, 151–152, 154–159, 162–165, 167, 171, 174–175, 177–178, 181, 187
webparsers
   __init__.py0000100% 
   async_github_parser.py17517550500%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–330, 338, 344–346, 349–351, 354, 362–363, 368, 370, 374, 380, 382, 385–389, 391, 401–406, 408, 411–412
   github_parser.py18426541085%37, 56–58, 64, 74, 77–80, 88–91, 122, 151, 251, 260–262, 347–349, 360, 363–364
   types.py63060100% 
TOTAL236588073836462% 

@Artanias Artanias merged commit 286c1c5 into main Mar 23, 2026
4 checks passed
@Artanias Artanias deleted the handle_empty_works branch March 23, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant