Coverage report: 92%

Files Functions Classes

coverage.py v7.17.0, created at 2026-10-23 11:39 +0200

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src/git_dag/cli.py get_cla_parser   100% 28 0 0   100% 0 0   100%
src/git_dag/cli.py get_user_defined_cla   100% 4 0 0   100% 0 0   100%
src/git_dag/cli.py main   100% 13 0 0   100% 4 0   100%
src/git_dag/cli.py (no function)   100% 34 0 2   100% 0 0   100%
src/git_dag/constants.py (no function)   100% 14 0 0   100% 0 0   100%
src/git_dag/dag.py MixinProtocol._is_object_to_include   100% 0 0 1   100% 0 0   100%
src/git_dag/dag.py MixinProtocol._is_tag_to_include   100% 0 0 1   100% 0 0   100%
src/git_dag/dag.py MixinProtocol._add_notes_label_node   100% 0 0 1   100% 0 0   100%
src/git_dag/dag.py CommitHandlerMixin._add_notes_label_node   100% 2 0 0   100% 0 0   100%
src/git_dag/dag.py CommitHandlerMixin._add_commit   100% 21 0 0   93% 14 1   97%
src/git_dag/dag.py CommitHandlerMixin._add_commit.form_tooltip   100% 2 0 0   100% 0 0   100%
src/git_dag/dag.py TreeBlobHandlerMixin._add_tree   93% 15 1 0   70% 10 3   84%
src/git_dag/dag.py TreeBlobHandlerMixin._add_blob   100% 2 0 0   100% 0 0   100%
src/git_dag/dag.py TagHandlerMixin._is_tag_to_include   100% 3 0 0   100% 2 0   100%
src/git_dag/dag.py TagHandlerMixin._add_annotated_tags   100% 9 0 0   83% 6 1   93%
src/git_dag/dag.py TagHandlerMixin._add_annotated_tags.form_tooltip   100% 1 0 0   100% 0 0   100%
src/git_dag/dag.py TagHandlerMixin._add_lightweight_tags   100% 6 0 0   83% 6 1   92%
src/git_dag/dag.py StashHandlerMixin._add_stashes   100% 6 0 0   83% 6 1   92%
src/git_dag/dag.py BranchHandlerMixin._add_local_branches   100% 6 0 0   100% 4 0   100%
src/git_dag/dag.py BranchHandlerMixin._add_remote_branches   33% 6 4 0   25% 4 1   30%
src/git_dag/dag.py HeadHandlerMixin._add_local_head   83% 12 2 0   67% 6 2   78%
src/git_dag/dag.py HeadHandlerMixin._add_remote_heads   33% 3 2 0   50% 2 1   40%
src/git_dag/dag.py HeadHandlerMixin._add_prs_heads   12% 8 7 0   12% 8 1   12%
src/git_dag/dag.py HeadHandlerMixin._add_annotations   94% 18 1 0   80% 10 2   89%
src/git_dag/dag.py DagVisualizer.__post_init__   75% 8 2 0   50% 2 1   70%
src/git_dag/dag.py DagVisualizer._embed_svg_in_html   100% 6 0 0   100% 0 0   100%
src/git_dag/dag.py DagVisualizer.show   100% 8 0 2   100% 4 0   100%
src/git_dag/dag.py DagVisualizer._is_object_to_include   100% 3 0 0   100% 2 0   100%
src/git_dag/dag.py DagVisualizer._build_dag   100% 32 0 0   93% 28 2   97%
src/git_dag/dag.py (no function)   100% 50 0 4   100% 0 0   100%
src/git_dag/exceptions.py CalledProcessCustomError.__init__   100% 1 0 0   100% 0 0   100%
src/git_dag/exceptions.py CalledProcessCustomError.__str__   100% 1 0 0   100% 0 0   100%
src/git_dag/exceptions.py (no function)   100% 4 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandBase.__init__   100% 2 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandBase._run   100% 4 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandBase.run_general   100% 8 0 0   100% 6 0   100%
src/git_dag/git_commands.py GitCommandMutate.__init__   100% 5 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandMutate.init   100% 1 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandMutate.env   100% 14 0 2   50% 2 1   94%
src/git_dag/git_commands.py GitCommandMutate.add   100% 4 0 0   100% 2 0   100%
src/git_dag/git_commands.py GitCommandMutate.cm   100% 11 0 0   100% 10 0   100%
src/git_dag/git_commands.py GitCommandMutate.cm.update_author_info   33% 6 4 0   25% 4 1   30%
src/git_dag/git_commands.py GitCommandMutate.br   100% 8 0 0   100% 6 0   100%
src/git_dag/git_commands.py GitCommandMutate.mg   75% 4 1 0   50% 2 1   67%
src/git_dag/git_commands.py GitCommandMutate.mg_multiple   0% 6 6 0   0% 2 0   0%
src/git_dag/git_commands.py GitCommandMutate.rebase   0% 1 1 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommandMutate.stash   100% 8 0 0   83% 6 1   93%
src/git_dag/git_commands.py GitCommandMutate.tag   100% 7 0 0   100% 4 0   100%
src/git_dag/git_commands.py GitCommandMutate.note   100% 1 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandMutate.config   100% 1 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandMutate.push   0% 1 1 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommandMutate.pull   0% 1 1 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommandMutate.fetch   0% 1 1 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommandMutate.clone_from_local   100% 2 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommandMutate.init_remote_head   0% 1 1 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommand.get_objects_sha_kind   100% 6 0 0   100% 2 0   100%
src/git_dag/git_commands.py GitCommand.read_object_file   100% 1 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommand.get_remotes   100% 4 0 0   100% 2 0   100%
src/git_dag/git_commands.py GitCommand.get_fsck_unreachable_commits   0% 2 2 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommand.get_remote_heads_sym_ref   78% 9 2 0   100% 2 0   82%
src/git_dag/git_commands.py GitCommand.get_prs_heads   0% 11 11 0   0% 4 0   0%
src/git_dag/git_commands.py GitCommand.get_branches   100% 14 0 0   100% 8 0   100%
src/git_dag/git_commands.py GitCommand.get_local_head_commit_sha   100% 1 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommand.rev_parse_descriptors   50% 8 4 0   50% 2 1   50%
src/git_dag/git_commands.py GitCommand.rev_list_range   25% 8 6 0   50% 2 1   30%
src/git_dag/git_commands.py GitCommand.get_local_head_branch   100% 2 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommand.local_branch_is_tracking   100% 5 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommand.get_stash_info   50% 10 5 0   50% 4 0   50%
src/git_dag/git_commands.py GitCommand.rev_list   100% 1 0 0   100% 0 0   100%
src/git_dag/git_commands.py GitCommand.ls_tree   0% 1 1 0   100% 0 0   0%
src/git_dag/git_commands.py GitCommand.get_blobs_and_trees_names   100% 12 0 0   100% 10 0   100%
src/git_dag/git_commands.py GitCommand.get_tags_info_parsed   100% 9 0 0   100% 4 0   100%
src/git_dag/git_commands.py GitCommand.get_notes_dag_root   100% 6 0 0   100% 0 0   100%
src/git_dag/git_commands.py TestGitRepository.create   100% 12 0 0   100% 8 0   100%
src/git_dag/git_commands.py TestGitRepository.tar   100% 2 0 0   100% 0 0   100%
src/git_dag/git_commands.py TestGitRepository.untar   0% 2 2 0   100% 0 0   0%
src/git_dag/git_commands.py TestGitRepository.repository_empty   100% 5 0 0   100% 2 0   100%
src/git_dag/git_commands.py TestGitRepository.repository_default   100% 43 0 0   100% 0 0   100%
src/git_dag/git_commands.py TestGitRepository.repository_default_with_notes   100% 4 0 0   100% 0 0   100%
src/git_dag/git_commands.py create_test_repo_and_reference_dot_file   100% 12 0 0   100% 0 0   100%
src/git_dag/git_commands.py (no function)   100% 73 0 2   100% 0 0   100%
src/git_dag/git_objects.py GitObject.kind   100% 0 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitObject.is_ready   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitObject.is_ready   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTag.anchor   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTag.anchor   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTag.tagger   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTag.tagger_email   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTag.tagger_date   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTag.message   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.tree   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.tree   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.parents   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.parents   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.author   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.author_email   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.author_date   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.committer   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.committer_email   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.committer_date   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitCommit.message   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitTree.children   100% 3 0 0   100% 2 0   100%
src/git_dag/git_objects.py GitTree.children   100% 3 0 0   100% 2 0   100%
src/git_dag/git_objects.py GitHead.is_defined   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitHead.is_detached   100% 1 0 0   100% 0 0   100%
src/git_dag/git_objects.py GitHead.__repr__   0% 6 6 0   0% 4 0   0%
src/git_dag/git_objects.py (no function)   100% 112 0 0   100% 0 0   100%
src/git_dag/git_repository.py time_it   100% 3 0 0   100% 0 0   100%
src/git_dag/git_repository.py time_it.wrap   100% 5 0 0   100% 0 0   100%
src/git_dag/git_repository.py RegexParser.parse_object_descriptor   100% 4 0 1   100% 0 0   100%
src/git_dag/git_repository.py RegexParser.parse_tree_info   100% 11 0 1   83% 6 1   94%
src/git_dag/git_repository.py RegexParser._collect_commit_info   100% 14 0 2   100% 4 0   100%
src/git_dag/git_repository.py RegexParser._collect_commit_info.strip_creator_label   100% 1 0 0   100% 0 0   100%
src/git_dag/git_repository.py RegexParser._collect_commit_info.extract_message   100% 1 0 0   100% 0 0   100%
src/git_dag/git_repository.py RegexParser.parse_commit_info   100% 10 0 0   100% 4 0   100%
src/git_dag/git_repository.py RegexParser.parse_tag_info   100% 15 0 1   100% 2 0   100%
src/git_dag/git_repository.py RegexParser.parse_stash_info   100% 10 0 1   100% 4 0   100%
src/git_dag/git_repository.py GitInspector.__init__   100% 11 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitInspector._get_commits_sha   100% 3 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitInspector._get_commits_info   90% 10 1 1   83% 6 1   88%
src/git_dag/git_repository.py GitInspector._get_trees_info   100% 4 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitInspector._get_objects_info_parsed   89% 19 2 2   88% 8 1   89%
src/git_dag/git_repository.py GitInspector.get_raw_objects   100% 3 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitInspector.get_raw_objects.git_entity_before_validator   100% 1 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitRepository.__init__   100% 4 0 0   100% 2 0   100%
src/git_dag/git_repository.py GitRepository.post_process_inspector_data   100% 11 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitRepository._form_branches   100% 7 0 0   100% 4 0   100%
src/git_dag/git_repository.py GitRepository._form_local_head   83% 12 2 0   50% 4 2   75%
src/git_dag/git_repository.py GitRepository._form_remote_heads   100% 1 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitRepository._form_annotated_tags   100% 6 0 0   100% 4 0   100%
src/git_dag/git_repository.py GitRepository._form_lightweight_tags   100% 4 0 0   100% 2 0   100%
src/git_dag/git_repository.py GitRepository._form_objects   100% 26 0 0   94% 16 1   98%
src/git_dag/git_repository.py GitRepository._form_stashes   100% 1 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitRepository.get_all_reachable_objects   100% 3 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitRepository.get_objects_reachable_from   100% 6 0 0   50% 2 1   88%
src/git_dag/git_repository.py GitRepository.filter_objects   100% 1 0 0   100% 0 0   100%
src/git_dag/git_repository.py GitRepository.show   86% 7 1 0   75% 4 1   82%
src/git_dag/git_repository.py GitRepository.__repr__   100% 11 0 0   83% 6 1   94%
src/git_dag/git_repository.py (no function)   100% 71 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.__init__   100% 7 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.edge   100% 0 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.node   100% 0 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.build   100% 0 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.render   100% 0 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.source   100% 0 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py DagBase.get   100% 0 0 0   100% 0 0   100%
src/git_dag/interfaces/dag_base.py (no function)   100% 17 0 0   100% 0 0   100%
src/git_dag/interfaces/graphviz.py handle_none   100% 1 0 0   100% 0 0   100%
src/git_dag/interfaces/graphviz.py DagGraphviz.edge   100% 3 0 0   100% 2 0   100%
src/git_dag/interfaces/graphviz.py DagGraphviz.node   89% 9 1 0   75% 8 2   82%
src/git_dag/interfaces/graphviz.py DagGraphviz.build   100% 8 0 0   100% 4 0   100%
src/git_dag/interfaces/graphviz.py DagGraphviz.build.form_clulster_of_standalone_trees_and_blobs   100% 15 0 0   100% 8 0   100%
src/git_dag/interfaces/graphviz.py DagGraphviz.render   100% 1 0 0   100% 0 0   100%
src/git_dag/interfaces/graphviz.py DagGraphviz.source   100% 1 0 0   100% 0 0   100%
src/git_dag/interfaces/graphviz.py DagGraphviz.get   100% 1 0 0   100% 0 0   100%
src/git_dag/interfaces/graphviz.py (no function)   100% 13 0 0   100% 0 0   100%
src/git_dag/parameters.py CustomYamlDumper.write_line_break   100% 3 0 0   100% 2 0   100%
src/git_dag/parameters.py ParamsBase.set_ignore_config_file   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsBase.section_in_config   100% 0 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsBase.set_defaults_values   100% 10 0 0   100% 8 0   100%
src/git_dag/parameters.py ParamsLinks.section_in_config   0% 1 1 0   100% 0 0   0%
src/git_dag/parameters.py ParamsStandaloneCluster.section_in_config   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsDagGlobal.section_in_config   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsDagNode.section_in_config   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsDagEdge.section_in_config   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsDagNodeColors.section_in_config   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py ParamsMisc.section_in_config   0% 1 1 0   100% 0 0   0%
src/git_dag/parameters.py ParamsPublic.section_in_config   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py context_ignore_config_file.__enter__   100% 2 0 0   100% 0 0   100%
src/git_dag/parameters.py context_ignore_config_file.__exit__   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py Params.set_ignore_config_file   100% 1 0 0   100% 0 0   100%
src/git_dag/parameters.py Params.create_config   100% 5 0 0   100% 2 0   100%
src/git_dag/parameters.py (no function)   100% 129 0 0   100% 0 0   100%
src/git_dag/utils.py escape_decode   100% 1 0 0   100% 0 0   100%
src/git_dag/utils.py transform_ascii_control_chars   100% 2 0 0   100% 0 0   100%
src/git_dag/utils.py transform_ascii_control_chars.ascii_to_caret_notation   100% 2 0 0   100% 0 0   100%
src/git_dag/utils.py creator_timestamp_format   100% 8 0 0   100% 2 0   100%
src/git_dag/utils.py creator_timestamp_format.formatter   100% 3 0 0   100% 0 0   100%
src/git_dag/utils.py increase_date   0% 2 2 0   100% 0 0   0%
src/git_dag/utils.py (no function)   100% 7 0 0   100% 0 0   100%
Total     94% 1388 85 24   83% 334 34   92%

No items found using the specified filter.