Coverage report: 63%

Files Functions Classes

coverage.py v7.5.3, created at 2024-06-17 07:45 +0200

File class statements missing excluded branches partial coverage
pysource_codegen/__init__.py (no class) 2 0 0 0 0 100%
pysource_codegen/__main__.py (no class) 5 5 0 2 0 0%
pysource_codegen/_codegen.py Invalid 0 0 0 0 0 100%
pysource_codegen/_codegen.py fix.Transformer 3 1 0 2 1 60%
pysource_codegen/_codegen.py fix.RemoveName 5 2 0 4 1 44%
pysource_codegen/_codegen.py fix.RemoveNameCleanup 3 0 0 2 0 100%
pysource_codegen/_codegen.py fix.FixPatternNames 23 7 0 16 3 64%
pysource_codegen/_codegen.py fix.cleanup_annotation.Transformer 11 11 0 8 0 0%
pysource_codegen/_codegen.py fix_nonlocal.NonLocalFixer 87 8 0 53 3 88%
pysource_codegen/_codegen.py fix_nonlocal.FunctionTransformer 24 0 0 18 2 95%
pysource_codegen/_codegen.py AstGenerator 67 67 3 44 0 0%
pysource_codegen/_codegen.py ParentRef 3 3 0 2 0 0%
pysource_codegen/_codegen.py PartialValue 0 0 0 0 0 100%
pysource_codegen/_codegen.py PartialNode 7 6 0 6 1 15%
pysource_codegen/_codegen.py (no class) 75 0 0 10 0 100%
pysource_codegen/_limits.py (no class) 4 0 0 0 0 100%
pysource_codegen/_utils.py (no class) 8 0 0 2 0 100%
pysource_codegen/static_type_info.py (no class) 7 0 0 0 0 100%
pysource_codegen/types.py NodeType 0 0 0 0 0 100%
pysource_codegen/types.py BuiltinNodeType 0 0 0 0 0 100%
pysource_codegen/types.py UnionNodeType 0 0 0 0 0 100%
pysource_codegen/types.py (no class) 18 0 0 6 0 100%
tests/__init__.py (no class) 0 0 0 0 0 100%
tests/conftest.py (no class) 9 0 0 0 0 100%
tests/test_fix_nonlocal.py (no class) 20 0 0 0 0 100%
tests/test_invalid_ast.py (no class) 19 0 0 4 0 100%
tests/test_valid_source.py (no class) 49 32 0 16 1 34%
Total   449 142 3 195 12 63%

No items found using the specified filter.