Coverage report: 71%
Files Functions Classes
coverage.py v7.5.3, created at 2024-06-17 07:45 +0200
File | statements | missing | excluded | branches | partial | coverage |
---|---|---|---|---|---|---|
pysource_codegen/__init__.py | 2 | 0 | 0 | 0 | 0 | 100% |
pysource_codegen/__main__.py | 12 | 12 | 0 | 2 | 0 | 0% |
pysource_codegen/_codegen.py | 917 | 216 | 5 | 703 | 59 | 74% |
pysource_codegen/_limits.py | 27 | 0 | 0 | 2 | 0 | 100% |
pysource_codegen/_utils.py | 10 | 0 | 0 | 2 | 0 | 100% |
pysource_codegen/static_type_info.py | 7 | 0 | 0 | 0 | 0 | 100% |
pysource_codegen/types.py | 18 | 0 | 0 | 6 | 0 | 100% |
tests/__init__.py | 0 | 0 | 0 | 0 | 0 | 100% |
tests/conftest.py | 24 | 12 | 0 | 14 | 1 | 39% |
tests/test_fix_nonlocal.py | 53 | 0 | 1 | 2 | 0 | 100% |
tests/test_invalid_ast.py | 92 | 44 | 1 | 29 | 1 | 56% |
tests/test_valid_source.py | 103 | 76 | 0 | 30 | 2 | 25% |
Total | 1265 | 360 | 7 | 790 | 63 | 71% |
No items found using the specified filter.