VIDA-NYU / reprozip

Compare 316ed2b ... +1 ... cbcdd29

Coverage Reach
reprounzip/reprounzip/unpackers/common/misc.py reprounzip/reprounzip/unpackers/common/x11.py reprounzip/reprounzip/unpackers/common/packages.py reprounzip/reprounzip/unpackers/common/__init__.py reprounzip/reprounzip/unpackers/default.py reprounzip/reprounzip/unpackers/graph.py reprounzip/reprounzip/unpackers/provviewer.py reprounzip/reprounzip/pack_info.py reprounzip/reprounzip/main.py reprounzip/reprounzip/signals.py reprounzip/reprounzip/orderedset.py reprounzip/reprounzip/parameters.py reprounzip/reprounzip/__main__.py reprozip/native/syscalls.c reprozip/native/tracer.c reprozip/native/database.c reprozip/native/ptrace_utils.c reprozip/native/pytracer.c reprozip/native/utils.c reprozip/native/pylog.c reprozip/reprozip/tracer/trace.py reprozip/reprozip/tracer/linux_pkgs.py reprozip/reprozip/main.py reprozip/reprozip/pack.py reprozip/reprozip/filters.py reprozip/reprozip/traceutils.py reprozip/reprozip/__main__.py reprozip/reprozip/__init__.py tests/functional.py tests/test_reprozip.py tests/check_images.py tests/test_reprounzip.py tests/__main__.py tests/test_graph.py tests/test_unpackers_common.py tests/test_rails_filter.py tests/test_utils.py tests/test_parameters.py tests/common.py reprounzip-vagrant/reprounzip_vagrant/__init__.py reprounzip-vagrant/reprounzip_vagrant/run_command.py reprounzip-vagrant/reprounzip_vagrant/interaction.py reprozip-core/reprozip_core/common.py reprozip-core/reprozip_core/utils.py reprounzip-docker/reprounzip_docker.py reprounzip-vistrails/reprounzip_vistrails.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -36,23 +36,28 @@
Loading
36 36
37 37
def python(files, input_files, **kwargs):
38 38
    add = []
39 +
    remove = set()
39 40
    for path, fi in files.items():
40 41
        # Include .py files instead of .pyc
41 42
        if path.suffix == '.pyc':
42 -
            if path.parent.name == b'__pycache__':
43 +
            if path.parent.name == '__pycache__':
43 44
                # Python 3: /dir/__pycache__/mod.cpython-38.pyc -> /dir/mod.py
44 45
                basename = path.name.split('.', 1)[0]
45 -
                pyfile = path.parent.parent / basename + '.py'
46 +
                pyfile = path.parent.parent / (basename + '.py')
46 47
            else:
47 48
                # Python2: /dir/mod.pyc -> /dir/moc.py
48 49
                pyfile = path.parent / (path.stem + '.py')
49 50
            if pyfile.is_file():
50 51
                if pyfile not in files:
51 52
                    logger.info("Adding %s", pyfile)
52 53
                    add.append(File(pyfile))
54 +
                logger.info("Removing %s", path)
55 +
                remove.add(path)
53 56
54 57
    for fi in add:
55 58
        files[fi.path] = fi
59 +
    for path in remove:
60 +
        files.pop(path, None)
56 61
57 62
    for i in range(len(input_files)):
58 63
        lst = []

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
reprounzip-vagrant/reprounzip_vagrant 36.63%
reprounzip/reprounzip 57.50%
reprozip -0.14% 74.65%
reprozip-core/reprozip_core 70.53%
tests 34.89%
reprounzip-docker/reprounzip_docker.py 62.75%
reprounzip-vistrails/reprounzip_vistrails.py 89.70%
Project Totals (46 files) 58.79%
Loading