Coverage report:
83.98%
hide covered
Files
Functions
Classes
coverage.py v7.7.1
, created at 2025-03-27 14:35 +0100
File
function
statements
missing
excluded
branches
partial
coverage
src/shellman/cli.py
_DebugInfo.__init__
1
0
0
0
0
100.00%
src/shellman/cli.py
_DebugInfo.__call__
2
0
0
0
0
100.00%
src/shellman/cli.py
_valid_file
9
0
0
8
4
76.47%
src/shellman/cli.py
get_parser
10
0
0
0
0
100.00%
src/shellman/cli.py
_render
10
1
0
4
1
85.71%
src/shellman/cli.py
_write
2
2
0
0
0
0.00%
src/shellman/cli.py
_common_ancestor
14
14
0
6
0
0.00%
src/shellman/cli.py
_is_format_string
1
1
0
0
0
0.00%
src/shellman/cli.py
_guess_filename
5
4
0
4
2
11.11%
src/shellman/cli.py
_output_name_variables
7
6
0
2
2
11.11%
src/shellman/cli.py
_get_vcs_root
10
9
0
6
2
6.25%
src/shellman/cli.py
main
39
4
0
24
7
82.54%
src/shellman/cli.py
(no function)
24
0
3
0
0
100.00%
src/shellman/context.py
_get_cli_context
19
0
0
14
0
100.00%
src/shellman/context.py
_get_env_context
6
0
0
4
0
100.00%
src/shellman/context.py
_get_file_context
2
1
0
0
0
50.00%
src/shellman/context.py
_get_context
8
1
0
2
1
80.00%
src/shellman/context.py
_update
5
0
0
4
0
100.00%
src/shellman/context.py
(no function)
12
0
3
0
0
100.00%
src/shellman/debug.py
_interpreter_name_version
8
1
0
4
1
83.33%
src/shellman/debug.py
get_version
4
2
0
0
0
50.00%
src/shellman/debug.py
get_debug_info
4
0
0
0
0
100.00%
src/shellman/debug.py
print_debug_info
9
0
0
4
0
100.00%
src/shellman/debug.py
(no function)
38
1
0
2
1
95.00%
src/shellman/reader.py
DocLine.__init__
4
0
0
0
0
100.00%
src/shellman/reader.py
DocLine.__str__
9
7
0
6
0
13.33%
src/shellman/reader.py
DocLine.doc_type
7
6
0
6
0
7.69%
src/shellman/reader.py
DocBlock.__init__
3
0
0
2
1
80.00%
src/shellman/reader.py
DocBlock.__bool__
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.__str__
1
1
0
0
0
0.00%
src/shellman/reader.py
DocBlock.append
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.doc_type
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.first_line
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.lines_number
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.path
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.lineno
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.tag
3
0
0
2
1
80.00%
src/shellman/reader.py
DocBlock.value
1
0
0
0
0
100.00%
src/shellman/reader.py
DocBlock.values
1
0
0
0
0
100.00%
src/shellman/reader.py
DocStream.__init__
3
2
0
0
0
33.33%
src/shellman/reader.py
DocFile.__init__
8
2
0
0
0
75.00%
src/shellman/reader.py
_preprocess_stream
5
0
0
4
0
100.00%
src/shellman/reader.py
_preprocess_lines
20
3
0
12
2
78.12%
src/shellman/reader.py
_process_blocks
5
0
0
2
0
100.00%
src/shellman/reader.py
_merge
7
7
0
6
0
0.00%
src/shellman/reader.py
(no function)
53
0
2
0
0
100.00%
src/shellman/tags.py
__getattr__
4
2
0
2
1
50.00%
src/shellman/tags.py
Tag.from_lines
1
1
0
0
0
0.00%
src/shellman/tags.py
TextTag.from_lines
1
0
0
0
0
100.00%
src/shellman/tags.py
ValueDescTag.from_lines
10
0
0
6
1
93.75%
src/shellman/tags.py
ExampleTag.from_lines
23
3
0
20
5
76.74%
src/shellman/tags.py
FunctionTag.from_lines
33
5
0
22
5
74.55%
src/shellman/tags.py
OptionTag.signature
14
2
0
12
5
73.08%
src/shellman/tags.py
OptionTag.from_lines
14
0
0
10
1
95.83%
src/shellman/tags.py
UsageTag.from_lines
8
0
0
4
1
91.67%
src/shellman/tags.py
(no function)
147
0
3
2
0
100.00%
tests/conftest.py
get_fake_script
1
0
0
0
0
100.00%
tests/conftest.py
(no function)
2
0
0
0
0
100.00%
tests/test_cli.py
test_main
3
0
0
0
0
100.00%
tests/test_cli.py
test_show_help
4
0
0
0
0
100.00%
tests/test_cli.py
test_do_groffautoemphasis
2
0
0
0
0
100.00%
tests/test_cli.py
test_do_groffautostrong
2
0
0
0
0
100.00%
tests/test_cli.py
test_do_smartwrap
4
0
0
0
0
100.00%
tests/test_cli.py
test_show_version
4
0
0
0
0
100.00%
tests/test_cli.py
test_show_debug_info
7
0
0
0
0
100.00%
tests/test_cli.py
(no function)
13
0
0
0
0
100.00%
tests/test_context.py
test_get_cli_context
10
0
0
0
0
100.00%
tests/test_context.py
test_get_env_context
3
0
0
0
0
100.00%
tests/test_context.py
test_get_context
2
0
0
0
0
100.00%
tests/test_context.py
test_update
4
0
0
0
0
100.00%
tests/test_context.py
(no function)
8
0
0
0
0
100.00%
tests/test_reader.py
test_preprocess_stream
3
0
0
0
0
100.00%
tests/test_reader.py
test_preprocess_lines
4
0
0
0
0
100.00%
tests/test_reader.py
(no function)
5
0
0
0
0
100.00%
tests/test_tags.py
test_author_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_brief_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_bug_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_caveat_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_copyright_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_date_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_desc_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_env_tag
5
0
0
0
0
100.00%
tests/test_tags.py
test_example_tag
7
0
0
0
0
100.00%
tests/test_tags.py
test_error_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_exit_tag
5
0
0
0
0
100.00%
tests/test_tags.py
test_file_tag
5
0
0
0
0
100.00%
tests/test_tags.py
test_function_tag
8
0
0
0
0
100.00%
tests/test_tags.py
test_history_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_license_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_note_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_option_tag
9
0
0
0
0
100.00%
tests/test_tags.py
test_seealso_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_stderr_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_stdin_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_stdout_tag
4
0
0
0
0
100.00%
tests/test_tags.py
test_usage_tag
5
0
0
0
0
100.00%
tests/test_tags.py
test_version_tag
4
0
0
0
0
100.00%
tests/test_tags.py
(no function)
25
0
0
0
0
100.00%
Total
855
88
11
206
44
83.98%
No items found using the specified filter.