Skip to content

Conversation

@Artanias
Copy link
Collaborator

No description provided.

@Artanias Artanias added tests Tests for functions build Setup CI/CD, build packages and another DevOps tasks. labels Feb 28, 2025
@Artanias Artanias added this to the v0.6.0 milestone Feb 28, 2025
@Artanias Artanias self-assigned this Feb 28, 2025
@Artanias Artanias changed the title test: adds test coverage and step in actions to comment pull requests with coverage. test: adds test coverage and step-in actions to comment on pull requests with coverage. Feb 28, 2025
@Artanias Artanias linked an issue Feb 28, 2025 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Feb 28, 2025

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%386, 397, 400, 408, 420
   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.py104694%99–101, 104–106
   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.py19514227%77–80, 82, 84, 89–90, 92–97, 100, 104–108, 110–111, 113, 115–116, 128–129, 132, 134–138, 156–163, 165–168, 170–173, 180–181, 188–192, 202–207, 209–212, 217–226, 229–230, 240, 252–256, 261–272, 277–280, 283–284, 294–296, 298–310, 319–324, 326–327, 329, 339, 346–350, 356–357, 365, 380, 383, 421–424
   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% 
TOTAL210978862% 

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

Labels

build Setup CI/CD, build packages and another DevOps tasks. tests Tests for functions

Projects

Status: v0.6.0

Development

Successfully merging this pull request may close these issues.

Add information about unit test coverage using pytest-coverage.

2 participants