VIDA-NYU / reprozip
Showing 1 of 1 files from the diff.

@@ -36,6 +36,7 @@
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':
@@ -50,9 +51,13 @@
Loading
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 = []
Files Coverage
reprounzip-vagrant/reprounzip_vagrant 36.63%
reprounzip/reprounzip 57.50%
reprozip 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%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading