Coverage report:
79%
hide covered
Files
Functions
Classes
coverage.py v7.6.10
, created at 2025-02-05 02:11 -0700
File
function
statements
missing
excluded
coverage
lmcat\__init__.py
(no function)
2
0
0
100%
lmcat\__main__.py
(no function)
3
3
0
0%
lmcat\file_stats.py
TokenizerWrapper.__init__
3
0
0
100%
lmcat\file_stats.py
TokenizerWrapper.n_tokens
4
0
0
100%
lmcat\file_stats.py
FileStats.from_file
6
0
0
100%
lmcat\file_stats.py
(no function)
29
7
0
76%
lmcat\lmcat.py
LMCatConfig.get_tokenizer_obj
1
0
0
100%
lmcat\lmcat.py
LMCatConfig.get_processing_pipeline
2
0
0
100%
lmcat\lmcat.py
LMCatConfig.read
19
19
0
0%
lmcat\lmcat.py
IgnoreHandler.__init__
7
1
0
86%
lmcat\lmcat.py
IgnoreHandler.is_ignored
3
0
0
100%
lmcat\lmcat.py
sorted_entries
3
0
0
100%
lmcat\lmcat.py
walk_dir
18
0
0
100%
lmcat\lmcat.py
format_tree_with_stats
18
0
0
100%
lmcat\lmcat.py
walk_and_collect
10
1
0
90%
lmcat\lmcat.py
assemble_summary
33
0
0
100%
lmcat\lmcat.py
main
28
28
0
0%
lmcat\lmcat.py
(no function)
50
6
0
88%
lmcat\processing_pipeline.py
_compile_glob
2
0
0
100%
lmcat\processing_pipeline.py
load_plugins
11
4
0
64%
lmcat\processing_pipeline.py
ProcessingPipeline.__init__
14
4
0
71%
lmcat\processing_pipeline.py
ProcessingPipeline.get_processors_for_path
8
0
0
100%
lmcat\processing_pipeline.py
ProcessingPipeline.process_file
22
4
0
82%
lmcat\processing_pipeline.py
(no function)
14
0
0
100%
lmcat\processors.py
register_processor
2
0
0
100%
lmcat\processors.py
register_decider
2
0
0
100%
lmcat\processors.py
is_over_10kb
1
1
0
0%
lmcat\processors.py
is_documentation
1
1
0
0%
lmcat\processors.py
remove_comments
3
3
0
0%
lmcat\processors.py
compress_whitespace
1
1
0
0%
lmcat\processors.py
to_relative_path
1
1
0
0%
lmcat\processors.py
ipynb_to_md
11
11
0
0%
lmcat\processors.py
makefile_recipes
24
24
0
0%
lmcat\processors.py
csv_preview_5_lines
9
9
0
0%
lmcat\processors.py
(no function)
27
0
0
100%
tests\_temp\plugins_test\test_plugin.py
custom_processor
1
0
0
100%
tests\_temp\plugins_test\test_plugin.py
custom_decider
1
0
0
100%
tests\_temp\plugins_test\test_plugin.py
(no function)
6
0
0
100%
tests\test_lmcat.py
ensure_clean_dir
3
1
0
67%
tests\test_lmcat.py
test_lmcat_config_defaults
5
0
0
100%
tests\test_lmcat.py
test_lmcat_config_load_partial
6
0
0
100%
tests\test_lmcat.py
test_lmcat_config_load_all
6
0
0
100%
tests\test_lmcat.py
test_ignore_handler_init
6
0
0
100%
tests\test_lmcat.py
test_ignore_handler_basic_ignore
9
0
0
100%
tests\test_lmcat.py
test_ignore_handler_directory_patterns
13
0
0
100%
tests\test_lmcat.py
test_ignore_handler_negation
10
0
0
100%
tests\test_lmcat.py
test_ignore_handler_nested_ignore_files
11
0
0
100%
tests\test_lmcat.py
test_ignore_handler_gitignore_disabled
7
0
0
100%
tests\test_lmcat.py
test_walk_dir_basic
19
0
0
100%
tests\test_lmcat.py
test_walk_dir_with_ignore
18
0
0
100%
tests\test_lmcat.py
test_walk_and_collect_complex
21
0
0
100%
tests\test_lmcat.py
test_cli_output_file
19
5
0
74%
tests\test_lmcat.py
test_cli_tree_only
17
5
0
71%
tests\test_lmcat.py
(no function)
23
0
0
100%
tests\test_lmcat_2.py
test_unicode_file_handling
20
0
0
100%
tests\test_lmcat_2.py
test_large_file_handling
16
0
0
100%
tests\test_lmcat_2.py
test_symlink_handling
19
19
0
0%
tests\test_lmcat_2.py
test_error_handling
22
4
0
82%
tests\test_lmcat_2.py
(no function)
10
0
0
100%
tests\test_lmcat_3.py
test_tokenizer_wrapper_gpt2
8
2
0
75%
tests\test_lmcat_3.py
test_tokenizer_wrapper_fallback
6
0
0
100%
tests\test_lmcat_3.py
test_processing_pipeline_multiple_matches
27
0
0
100%
tests\test_lmcat_3.py
test_processing_pipeline_multiple_matches.processor1
1
0
0
100%
tests\test_lmcat_3.py
test_processing_pipeline_multiple_matches.processor2
1
0
0
100%
tests\test_lmcat_3.py
test_processing_pipeline_multiple_matches.always_true
1
0
0
100%
tests\test_lmcat_3.py
test_filestats_large_file
13
0
0
100%
tests\test_lmcat_3.py
test_config_plugins
11
0
0
100%
tests\test_lmcat_3.py
test_error_files
17
0
0
100%
tests\test_lmcat_3.py
(no function)
14
0
0
100%
Total
779
164
0
79%
No items found using the specified filter.