Coverage report: 90%

Files Functions Classes

coverage.py v7.17.0, created at 2026-11-16 16:04 +0000

File   statements missing excluded   coverage
src/rejuvenation/__init__.py   0 0 0   100%
src/rejuvenation/cli.py   29 29 0   0%
src/rejuvenation/cpp_clang_lst_example.py   6 6 0   0%
src/rejuvenation/descendant_search.py   6 0 0   100%
src/rejuvenation/refactor_examples_different_styles.py   71 9 0   87%
src/rejuvenation/refactor_with_nested_compositions.py   49 3 0   94%
src/rejuvenation/remove_unused_variable.py   34 13 0   62%
src/rejuvenation/replace_if_with_ternary.py   16 2 0   88%
src/rejuvenation/walk_compilation_database.py   16 16 0   0%
src/renaissance/__init__.py   0 0 0   100%
src/renaissance/common/__init__.py   2 0 0   100%
src/renaissance/common/rewriter.py   24 0 0   100%
src/renaissance/integrations/__init__.py   2 0 0   100%
src/renaissance/integrations/clang/__init__.py   4 0 0   100%
src/renaissance/integrations/clang/c_pattern_factory.py   131 33 0   75%
src/renaissance/integrations/clang/clang_adapter.py   31 4 0   87%
src/renaissance/integrations/clang/clang_ast_node.py   339 55 0   84%
src/renaissance/integrations/clang/clang_compilation_database.py   19 10 0   47%
src/renaissance/integrations/clang/clang_json_ast_node.py   420 48 0   89%
src/renaissance/integrations/clang/cpp_utils.py   6 3 0   50%
src/renaissance/integrations/clang/kinds.py   2 0 0   100%
src/renaissance/integrations/clang/predicates.py   21 0 0   100%
src/renaissance/integrations/python/__init__.py   0 0 0   100%
src/renaissance/integrations/python/ast/__init__.py   0 0 0   100%
src/renaissance/integrations/python/ast/ast_node.py   35 0 0   100%
src/renaissance/integrations/python/ast/cst_node.py   133 4 0   97%
src/renaissance/integrations/python/ast/extractor.py   32 5 0   84%
src/renaissance/integrations/python/ast/factory.py   116 2 0   98%
src/renaissance/integrations/python/ast/kinds.py   3 0 0   100%
src/renaissance/integrations/python/ast/rst_node.py   332 13 0   96%
src/renaissance/integrations/python/ast/util.py   14 1 0   93%
src/renaissance/integrations/tree_sitter/__init__.py   0 0 0   100%
src/renaissance/integrations/tree_sitter/adapter.py   24 0 0   100%
src/renaissance/integrations/tree_sitter/extractor.py   88 0 0   100%
src/renaissance/integrations/tree_sitter/factory.py   20 1 0   95%
src/renaissance/integrations/tree_sitter/kinds.py   2 0 0   100%
src/renaissance/integrations/tree_sitter/lst.py   62 3 0   95%
src/renaissance/integrations/tree_sitter/visualizer.py   24 0 0   100%
src/renaissance/project/__init__.py   0 0 0   100%
src/renaissance/project/project_scanner.py   57 0 0   100%
src/renaissance/recipes/__init__.py   2 0 0   100%
src/renaissance/recipes/cleanup_refactoring.py   13 0 0   100%
src/renaissance/recipes/python_refactoring.py   74 1 0   99%
src/renaissance/recipes/unit_to_pytest.py   178 5 0   97%
src/renaissance/syntax_tree/__init__.py   13 0 0   100%
src/renaissance/syntax_tree/ast_factory.py   16 0 0   100%
src/renaissance/syntax_tree/ast_finder.py   45 14 0   69%
src/renaissance/syntax_tree/ast_node.py   155 9 0   94%
src/renaissance/syntax_tree/ast_processor.py   63 1 0   98%
src/renaissance/syntax_tree/ast_refactor_actions.py   60 7 2   88%
src/renaissance/syntax_tree/ast_rewriter.py   302 24 13   92%
src/renaissance/syntax_tree/ast_shower.py   41 2 0   95%
src/renaissance/syntax_tree/batch_ast_processor.py   55 1 0   98%
src/renaissance/syntax_tree/match_finder.py   222 5 0   98%
src/renaissance/syntax_tree/node_protocol.py   19 0 14   100%
src/renaissance/syntax_tree/pattern_kind.py   4 0 0   100%
src/renaissance/syntax_tree/recipe_ast_processor.py   82 0 0   100%
src/renaissance/syntax_tree/semantic_kind.py   26 0 0   100%
src/renaissance/syntax_tree/siblings.py   12 12 6   0%
src/renaissance/syntax_tree/syntax_node.py   15 0 10   100%
src/renaissance/syntax_tree/text_segment.py   21 0 18   100%
src/renaissance/utils/__init__.py   0 0 0   100%
src/renaissance/utils/ast_utils.py   73 4 3   95%
src/renaissance/utils/cst_utils.py   34 0 0   100%
src/renaissance/utils/ruff_utils.py   12 0 0   100%
src/renaissance/utils/text_utils.py   74 26 0   65%
Total   3781 371 66   90%

No items found using the specified filter.