Coverage report: 80%

Files Functions Classes

coverage.py v7.6.1, created at 2024-09-30 08:26 +0000

File function statements missing excluded branches partial coverage
src/mkdocs_gallery/__init__.py glr_path_static 1 0 0 0 0 100%
src/mkdocs_gallery/__init__.py (no function) 6 0 4 0 0 100%
src/mkdocs_gallery/_version.py (no function) 11 2 0 2 1 77%
src/mkdocs_gallery/backreferences.py DummyClass.run 1 1 0 0 0 0%
src/mkdocs_gallery/backreferences.py DummyClass.prop 1 1 0 0 0 0%
src/mkdocs_gallery/backreferences.py NameFinder.__init__ 4 0 0 0 0 100%
src/mkdocs_gallery/backreferences.py NameFinder.visit_Import 3 0 0 2 0 100%
src/mkdocs_gallery/backreferences.py NameFinder.visit_ImportFrom 1 0 0 0 0 100%
src/mkdocs_gallery/backreferences.py NameFinder.visit_Name 1 0 0 0 0 100%
src/mkdocs_gallery/backreferences.py NameFinder.visit_Attribute 8 0 0 4 0 100%
src/mkdocs_gallery/backreferences.py NameFinder.get_mapping 52 2 0 32 1 96%
src/mkdocs_gallery/backreferences.py _from_import 5 0 0 0 0 100%
src/mkdocs_gallery/backreferences.py _get_short_module_name 21 0 0 6 0 100%
src/mkdocs_gallery/backreferences.py identify_names 25 0 0 18 0 100%
src/mkdocs_gallery/backreferences.py _thumbnail_div 6 1 0 2 1 75%
src/mkdocs_gallery/backreferences.py _write_backreferences 11 0 0 4 0 100%
src/mkdocs_gallery/backreferences.py _finalize_backreferences 11 5 0 6 2 59%
src/mkdocs_gallery/backreferences.py (no function) 35 0 0 0 0 100%
src/mkdocs_gallery/binder.py gen_binder_url 11 2 0 4 2 73%
src/mkdocs_gallery/binder.py gen_binder_md 7 0 0 2 0 100%
src/mkdocs_gallery/binder.py copy_binder_files 6 1 0 2 1 75%
src/mkdocs_gallery/binder.py _copy_binder_reqs 9 1 0 8 1 88%
src/mkdocs_gallery/binder.py _remove_ipynb_files 8 0 0 6 0 100%
src/mkdocs_gallery/binder.py _copy_binder_notebooks 10 1 0 4 1 86%
src/mkdocs_gallery/binder.py check_binder_conf 30 9 0 26 10 66%
src/mkdocs_gallery/binder.py (no function) 17 0 0 0 0 100%
src/mkdocs_gallery/docs_resolv.py (no function) 0 0 0 0 0 100%
src/mkdocs_gallery/downloads.py python_zip 8 0 0 2 0 100%
src/mkdocs_gallery/downloads.py generate_zipfiles 6 0 0 0 0 100%
src/mkdocs_gallery/downloads.py (no function) 8 0 0 0 0 100%
src/mkdocs_gallery/errors.py (no function) 6 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py _has_readme 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py _get_readme 10 1 0 8 1 89%
src/mkdocs_gallery/gen_data_model.py ImagePathIterator.__init__ 3 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py ImagePathIterator.script 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py ImagePathIterator.__len__ 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py ImagePathIterator.__iter__ 3 1 0 2 1 60%
src/mkdocs_gallery/gen_data_model.py ImagePathIterator.__next__ 3 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py gen_repr 8 2 0 6 2 71%
src/mkdocs_gallery/gen_data_model.py gen_repr.__repr__ 3 3 0 2 0 0%
src/mkdocs_gallery/gen_data_model.py GalleryScriptResults.__init__ 5 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScriptResults.thumb_rel_root_gallery 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py ScriptRunVars.__init__ 6 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.__init__ 7 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.gallery 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.gallery_conf 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.py_file_name 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.src_py_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.src_py_file_rel_project 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.is_executable_example 3 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.py_file_md5 3 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.dwnld_py_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.dwnld_py_file_rel_site_root 1 1 0 0 0 0%
src/mkdocs_gallery/gen_data_model.py GalleryScript.codeobj_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.make_dwnld_py_file 4 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.ipynb_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.ipynb_file_rel_site_root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.md5_file 2 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.write_final_md5_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.has_changed_wrt_persisted_md5 7 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.image_name_template 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.get_image_path 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.init_before_processing 3 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.generate_n_dummy_images 3 3 0 4 0 0%
src/mkdocs_gallery/gen_data_model.py GalleryScript.md_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.md_file_rel_root_gallery 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.md_file_rel_site_root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.save_md_example 6 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryScript.get_thumbnail_source 12 2 0 8 2 80%
src/mkdocs_gallery/gen_data_model.py GalleryScript.get_thumbnail_file 2 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.all_info 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.root 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.subpath 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.conf 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.scripts_dir 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.scripts_dir_rel_project 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.readme_file 5 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.readme_file_rel_project 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.exec_times_md_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.is_ignored_script_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.collect_script_files 7 0 0 8 2 87%
src/mkdocs_gallery/gen_data_model.py GalleryBase.get_all_script_files 1 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.generated_dir 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.generated_dir_rel_project 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.generated_dir_rel_site_root 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.make_generated_dir 2 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.images_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.make_images_dir 3 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.thumb_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.make_thumb_dir 3 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py GalleryBase.has_subsections 0 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.has_subsections 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.__init__ 3 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.all_info 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.conf 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.scripts_dir_rel_project 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.scripts_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.generated_dir_rel_project 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.generated_dir_rel_site_root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.generated_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py GallerySubSection.list_downloadable_sources 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.__init__ 10 1 0 2 1 83%
src/mkdocs_gallery/gen_data_model.py Gallery.has_subsections 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.scripts_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.index_md 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.index_md_rel_site_root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.generated_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.generated_dir_rel_site_root 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.populate_subsections 8 1 0 6 1 86%
src/mkdocs_gallery/gen_data_model.py Gallery.populate_subsections.sortkey 1 1 0 0 0 0%
src/mkdocs_gallery/gen_data_model.py Gallery.collect_script_files 4 0 0 4 1 88%
src/mkdocs_gallery/gen_data_model.py Gallery.get_all_script_files 5 0 0 4 1 89%
src/mkdocs_gallery/gen_data_model.py Gallery._attach 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.all_info 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.conf 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.list_downloadable_sources 5 0 0 4 1 89%
src/mkdocs_gallery/gen_data_model.py Gallery.zipfile_python 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.zipfile_python_rel_index_md 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.zipfile_jupyter 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py Gallery.zipfile_jupyter_rel_index_md 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.__init__ 5 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.mkdocs_docs_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.mkdocs_site_dir 1 1 0 0 0 0%
src/mkdocs_gallery/gen_data_model.py AllInformation.add_gallery 4 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.populate_subsections 2 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.collect_script_files 2 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.get_all_script_files 1 0 0 2 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.backrefs_dir 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.get_backreferences_file 1 0 0 0 0 100%
src/mkdocs_gallery/gen_data_model.py AllInformation.from_cfg 18 3 0 10 4 75%
src/mkdocs_gallery/gen_data_model.py (no function) 197 0 0 0 0 100%
src/mkdocs_gallery/gen_gallery.py DefaultResetArgv.__repr__ 1 1 0 0 0 0%
src/mkdocs_gallery/gen_gallery.py DefaultResetArgv.__call__ 1 0 0 0 0 100%
src/mkdocs_gallery/gen_gallery.py _bool_eval 6 4 0 2 1 38%
src/mkdocs_gallery/gen_gallery.py parse_config 9 1 0 6 1 87%
src/mkdocs_gallery/gen_gallery.py load_base_conf 12 4 0 2 0 71%
src/mkdocs_gallery/gen_gallery.py _complete_gallery_conf 128 51 3 74 22 59%
src/mkdocs_gallery/gen_gallery.py _complete_gallery_conf.call_memory 1 0 0 0 0 100%
src/mkdocs_gallery/gen_gallery.py generate_gallery_md 59 3 0 28 6 90%
src/mkdocs_gallery/gen_gallery.py dict_to_list_of_dicts 1 0 0 2 0 100%
src/mkdocs_gallery/gen_gallery.py fill_mkdocs_nav 7 0 0 2 0 100%
src/mkdocs_gallery/gen_gallery.py fill_mkdocs_nav.get_gallery_toc 14 4 0 6 3 65%
src/mkdocs_gallery/gen_gallery.py fill_mkdocs_nav._get_replacement_for 6 0 0 4 0 100%
src/mkdocs_gallery/gen_gallery.py fill_mkdocs_nav._replace_element 14 2 0 12 2 85%
src/mkdocs_gallery/gen_gallery.py _sec_to_readable 3 0 0 0 0 100%
src/mkdocs_gallery/gen_gallery.py cost_name_key 1 0 0 0 0 100%
src/mkdocs_gallery/gen_gallery.py _format_for_writing 12 0 0 6 0 100%
src/mkdocs_gallery/gen_gallery.py write_computation_times 17 0 0 12 0 100%
src/mkdocs_gallery/gen_gallery.py write_junit_xml 40 40 0 13 0 0%
src/mkdocs_gallery/gen_gallery.py touch_empty_backreferences 1 1 0 0 0 0%
src/mkdocs_gallery/gen_gallery.py _expected_failing_examples 1 0 0 2 0 100%
src/mkdocs_gallery/gen_gallery.py _parse_failures 7 0 0 2 0 100%
src/mkdocs_gallery/gen_gallery.py summarize_failing_examples 25 10 0 16 4 56%
src/mkdocs_gallery/gen_gallery.py check_duplicate_filenames 8 2 0 6 2 71%
src/mkdocs_gallery/gen_gallery.py check_spaces_in_filenames 4 1 0 4 1 75%
src/mkdocs_gallery/gen_gallery.py get_default_config_value 2 2 0 0 0 0%
src/mkdocs_gallery/gen_gallery.py get_default_config_value.default_getter 1 1 0 0 0 0%
src/mkdocs_gallery/gen_gallery.py (no function) 49 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.__init__ 4 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.set_std_and_reset_position 6 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.restore_std 3 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.write 12 0 0 6 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.flush 4 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.isatty 1 1 0 0 0 0%
src/mkdocs_gallery/gen_single.py _LoggingTee.__enter__ 1 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py _LoggingTee.__exit__ 1 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py codestr2md 4 1 0 2 1 67%
src/mkdocs_gallery/gen_single.py _regroup 2 2 0 0 0 0%
src/mkdocs_gallery/gen_single.py _sanitize_md 8 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py extract_readme_title 6 1 0 2 1 75%
src/mkdocs_gallery/gen_single.py extract_readme_last_subtitle 18 3 0 12 3 80%
src/mkdocs_gallery/gen_single.py extract_paragraphs 3 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py extract_intro_and_title 14 2 0 6 2 80%
src/mkdocs_gallery/gen_single.py create_thumb_from_image 20 1 0 6 2 88%
src/mkdocs_gallery/gen_single.py generate 15 0 0 4 0 100%
src/mkdocs_gallery/gen_single.py is_failing_example 1 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py handle_exception 26 3 0 14 3 85%
src/mkdocs_gallery/gen_single.py _showwarning 9 9 0 4 0 0%
src/mkdocs_gallery/gen_single.py patch_warnings 5 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py _exec_once.__init__ 3 0 0 0 0 100%
src/mkdocs_gallery/gen_single.py _exec_once.__call__ 9 0 0 4 2 85%
src/mkdocs_gallery/gen_single.py _get_memory_base 13 13 0 6 0 0%
src/mkdocs_gallery/gen_single.py _ast_module 4 1 0 2 1 67%
src/mkdocs_gallery/gen_single.py _check_reset_logging_tee 5 1 0 2 1 71%
src/mkdocs_gallery/gen_single.py _exec_and_get_memory 13 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py _get_last_repr 12 0 0 6 2 89%
src/mkdocs_gallery/gen_single.py _get_code_output 22 1 0 12 2 91%
src/mkdocs_gallery/gen_single.py _reset_cwd_syspath 3 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py _parse_code 4 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py _needs_async_handling 9 2 0 0 0 78%
src/mkdocs_gallery/gen_single.py _apply_async_handling 8 0 0 2 0 100%
src/mkdocs_gallery/gen_single.py execute_code_block 40 2 0 10 4 88%
src/mkdocs_gallery/gen_single.py _check_input 1 1 0 0 0 0%
src/mkdocs_gallery/gen_single.py parse_and_execute 27 0 0 4 0 100%
src/mkdocs_gallery/gen_single.py generate_file_md 62 9 0 34 8 78%
src/mkdocs_gallery/gen_single.py generate_md_from_blocks 19 0 0 12 1 97%
src/mkdocs_gallery/gen_single.py get_example_md_wrapper 16 1 0 4 2 85%
src/mkdocs_gallery/gen_single.py (no function) 88 0 0 0 0 100%
src/mkdocs_gallery/mkdocs_compatibility.py red 1 1 0 0 0 0%
src/mkdocs_gallery/mkdocs_compatibility.py getLogger 4 0 0 0 0 100%
src/mkdocs_gallery/mkdocs_compatibility.py (no function) 4 0 0 0 0 100%
src/mkdocs_gallery/notebook.py jupyter_notebook_skeleton 3 0 0 0 0 100%
src/mkdocs_gallery/notebook.py directive_fun 2 2 0 0 0 0%
src/mkdocs_gallery/notebook.py rst2md 21 21 0 8 0 0%
src/mkdocs_gallery/notebook.py generate_image_src 19 19 0 8 0 0%
src/mkdocs_gallery/notebook.py jupyter_notebook 9 1 0 4 2 77%
src/mkdocs_gallery/notebook.py add_code_cell 2 0 0 0 0 100%
src/mkdocs_gallery/notebook.py add_markdown_cell 2 0 0 0 0 100%
src/mkdocs_gallery/notebook.py fill_notebook 5 0 0 4 0 100%
src/mkdocs_gallery/notebook.py save_notebook 2 0 0 0 0 100%
src/mkdocs_gallery/notebook.py python_to_jupyter_cli 11 11 0 2 0 0%
src/mkdocs_gallery/notebook.py (no function) 27 0 0 0 0 100%
src/mkdocs_gallery/plugin.py ConfigList.__init__ 3 0 0 0 0 100%
src/mkdocs_gallery/plugin.py ConfigList.run_validation 12 4 0 6 1 72%
src/mkdocs_gallery/plugin.py Dir.run_validation 1 0 0 0 0 100%
src/mkdocs_gallery/plugin.py File.run_validation 1 0 0 0 0 100%
src/mkdocs_gallery/plugin.py create_binder_config 3 0 0 0 0 100%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_config 19 0 0 12 2 94%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_pre_build 5 0 0 0 0 100%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_files 19 2 0 12 3 84%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_files.exclude 10 0 0 10 1 95%
src/mkdocs_gallery/plugin.py GalleryPlugin._get_dirs_relative_to 3 1 0 4 1 71%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_page_content 12 0 0 2 1 93%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_serve 11 11 0 8 0 0%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_serve.wrap_callback 2 2 0 0 0 0%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_serve.wrap_callback._callback 4 4 0 4 0 0%
src/mkdocs_gallery/plugin.py GalleryPlugin.on_post_build 2 0 0 0 0 100%
src/mkdocs_gallery/plugin.py merge_extra_config 16 4 0 16 4 62%
src/mkdocs_gallery/plugin.py (no function) 63 13 0 6 1 74%
src/mkdocs_gallery/py_source_parser.py parse_source_file 7 0 0 0 0 100%
src/mkdocs_gallery/py_source_parser.py _get_docstring_and_rest 24 6 0 14 4 74%
src/mkdocs_gallery/py_source_parser.py extract_file_config 12 3 0 4 1 75%
src/mkdocs_gallery/py_source_parser.py split_code_and_text_blocks 26 0 0 10 0 100%
src/mkdocs_gallery/py_source_parser.py remove_config_comments 2 2 0 0 0 0%
src/mkdocs_gallery/py_source_parser.py (no function) 20 0 0 0 0 100%
src/mkdocs_gallery/scrapers.py _import_matplotlib 8 1 0 2 1 80%
src/mkdocs_gallery/scrapers.py _matplotlib_fig_titles 12 1 0 8 1 90%
src/mkdocs_gallery/scrapers.py matplotlib_scraper 78 11 2 44 7 82%
src/mkdocs_gallery/scrapers.py _anim_md 18 2 0 8 3 81%
src/mkdocs_gallery/scrapers.py mayavi_scraper 20 7 0 4 1 67%
src/mkdocs_gallery/scrapers.py pyvista_scraper 22 4 0 8 2 80%
src/mkdocs_gallery/scrapers.py ImageNotFoundError.__init__ 1 0 0 0 0 100%
src/mkdocs_gallery/scrapers.py ImageNotFoundError.__str__ 1 1 0 0 0 0%
src/mkdocs_gallery/scrapers.py _find_image_ext 9 2 0 6 1 80%
src/mkdocs_gallery/scrapers.py save_figures 14 2 0 8 2 82%
src/mkdocs_gallery/scrapers.py figure_md_or_html 30 6 0 16 1 80%
src/mkdocs_gallery/scrapers.py _get_srcset_st 11 0 0 6 1 94%
src/mkdocs_gallery/scrapers.py _single_line_sanitize 1 0 0 0 0 100%
src/mkdocs_gallery/scrapers.py _reset_matplotlib 4 0 2 0 0 100%
src/mkdocs_gallery/scrapers.py _reset_seaborn 3 0 0 4 0 100%
src/mkdocs_gallery/scrapers.py clean_modules 2 0 0 2 0 100%
src/mkdocs_gallery/scrapers.py (no function) 37 0 0 0 0 100%
src/mkdocs_gallery/sorting.py _SortKey.__repr__ 1 1 0 0 0 0%
src/mkdocs_gallery/sorting.py ExplicitOrder.__init__ 3 3 0 4 0 0%
src/mkdocs_gallery/sorting.py ExplicitOrder.__call__ 3 3 0 2 0 0%
src/mkdocs_gallery/sorting.py ExplicitOrder.__repr__ 1 1 0 0 0 0%
src/mkdocs_gallery/sorting.py NumberOfCodeLinesSortKey.__call__ 3 3 0 2 0 0%
src/mkdocs_gallery/sorting.py FileSizeSortKey.__call__ 1 1 0 0 0 0%
src/mkdocs_gallery/sorting.py FileNameSortKey.__call__ 1 0 0 0 0 100%
src/mkdocs_gallery/sorting.py ExampleTitleSortKey.__call__ 3 3 0 0 0 0%
src/mkdocs_gallery/sorting.py SortingMethod.__call__ 1 1 0 0 0 0%
src/mkdocs_gallery/sorting.py SortingMethod.all_names 1 1 0 2 0 0%
src/mkdocs_gallery/sorting.py SortingMethod.from_str 4 2 0 0 0 50%
src/mkdocs_gallery/sorting.py str_to_sorting_method 1 0 0 0 0 100%
src/mkdocs_gallery/sorting.py (no function) 35 0 0 0 0 100%
src/mkdocs_gallery/utils.py _get_image 6 3 2 0 0 50%
src/mkdocs_gallery/utils.py rescale_image 20 2 0 4 0 92%
src/mkdocs_gallery/utils.py optipng 7 7 0 2 0 0%
src/mkdocs_gallery/utils.py _has_optipng 5 1 0 0 0 80%
src/mkdocs_gallery/utils.py replace_ext 3 3 0 2 0 0%
src/mkdocs_gallery/utils.py get_md5sum 6 0 0 2 0 100%
src/mkdocs_gallery/utils.py _get_old_file 2 0 0 0 0 100%
src/mkdocs_gallery/utils.py _have_same_md5 1 0 0 0 0 100%
src/mkdocs_gallery/utils.py _smart_move_md5 7 0 0 2 0 100%
src/mkdocs_gallery/utils.py _new_file 1 0 0 0 0 100%
src/mkdocs_gallery/utils.py _replace_by_new_if_needed 1 0 0 0 0 100%
src/mkdocs_gallery/utils.py _smart_copy_md5 11 1 0 6 2 82%
src/mkdocs_gallery/utils.py Bunch.__init__ 2 2 0 0 0 0%
src/mkdocs_gallery/utils.py _has_pypandoc 6 6 0 0 0 0%
src/mkdocs_gallery/utils.py matches_filepath_pattern 3 0 0 0 0 100%
src/mkdocs_gallery/utils.py is_relative_to 7 0 0 2 0 100%
src/mkdocs_gallery/utils.py run_async 7 0 0 2 0 100%
src/mkdocs_gallery/utils.py (no function) 30 0 0 0 0 100%
Total   2555 415 13 865 157 80%

No items found using the specified filter.