Coverage report: 83%

Files Functions Classes

coverage.py v7.6.3, created at 2024-10-15 07:29 +0000

File function statements missing excluded coverage
src/audioio/__init__.py (no function) 29 0 0 100%
src/audioio/audioconverter.py add_arguments 15 0 0 100%
src/audioio/audioconverter.py parse_channels 10 0 0 100%
src/audioio/audioconverter.py check_format 7 0 0 100%
src/audioio/audioconverter.py list_formats_encodings 9 0 0 100%
src/audioio/audioconverter.py make_outfile 15 0 0 100%
src/audioio/audioconverter.py modify_data 19 0 0 100%
src/audioio/audioconverter.py format_outfile 5 0 0 100%
src/audioio/audioconverter.py main 82 11 0 87%
src/audioio/audioconverter.py (no function) 24 1 0 96%
src/audioio/audioloader.py load_wave 15 0 0 100%
src/audioio/audioloader.py load_ewave 11 0 0 100%
src/audioio/audioloader.py load_wavfile 13 0 0 100%
src/audioio/audioloader.py load_soundfile 8 0 0 100%
src/audioio/audioloader.py load_wavefile 4 0 0 100%
src/audioio/audioloader.py load_audioread 18 2 0 89%
src/audioio/audioloader.py load_audio 31 4 0 87%
src/audioio/audioloader.py metadata 4 0 0 100%
src/audioio/audioloader.py markers 4 0 0 100%
src/audioio/audioloader.py AudioLoader.__init__ 22 0 0 100%
src/audioio/audioloader.py AudioLoader._close 1 0 0 100%
src/audioio/audioloader.py AudioLoader.__del__ 1 0 0 100%
src/audioio/audioloader.py AudioLoader.format_dict 7 0 0 100%
src/audioio/audioloader.py AudioLoader.metadata 5 1 0 80%
src/audioio/audioloader.py AudioLoader.markers 6 2 0 67%
src/audioio/audioloader.py AudioLoader.set_unwrap 14 0 0 100%
src/audioio/audioloader.py AudioLoader._load_buffer_unwrap 8 0 0 100%
src/audioio/audioloader.py AudioLoader.open_wave 38 2 0 95%
src/audioio/audioloader.py AudioLoader._close_wave 3 0 0 100%
src/audioio/audioloader.py AudioLoader._load_buffer_wave 6 1 0 83%
src/audioio/audioloader.py AudioLoader.open_ewave 28 0 0 100%
src/audioio/audioloader.py AudioLoader._close_ewave 3 0 0 100%
src/audioio/audioloader.py AudioLoader._load_buffer_ewave 5 1 0 80%
src/audioio/audioloader.py AudioLoader.open_soundfile 32 0 0 100%
src/audioio/audioloader.py AudioLoader._close_soundfile 3 0 0 100%
src/audioio/audioloader.py AudioLoader._load_buffer_soundfile 2 0 0 100%
src/audioio/audioloader.py AudioLoader.open_wavefile 33 0 0 100%
src/audioio/audioloader.py AudioLoader._close_wavefile 3 0 0 100%
src/audioio/audioloader.py AudioLoader._load_buffer_wavefile 4 0 0 100%
src/audioio/audioloader.py AudioLoader.open_audioread 30 0 0 100%
src/audioio/audioloader.py AudioLoader._close_audioread 3 0 0 100%
src/audioio/audioloader.py AudioLoader._load_buffer_audioread 72 14 0 81%
src/audioio/audioloader.py AudioLoader.open 38 4 0 89%
src/audioio/audioloader.py demo 52 13 0 75%
src/audioio/audioloader.py main 30 4 0 87%
src/audioio/audioloader.py (no function) 51 1 0 98%
src/audioio/audiomarkers.py write_markers 33 0 0 100%
src/audioio/audiomarkers.py print_markers 1 0 0 100%
src/audioio/audiomarkers.py (no function) 3 0 0 100%
src/audioio/audiometadata.py write_metadata_text 13 0 0 100%
src/audioio/audiometadata.py write_metadata_text.write_dict 18 0 0 100%
src/audioio/audiometadata.py print_metadata 1 0 0 100%
src/audioio/audiometadata.py flatten_metadata 2 0 0 100%
src/audioio/audiometadata.py flatten_metadata.flatten 8 0 0 100%
src/audioio/audiometadata.py unflatten_metadata 19 0 0 100%
src/audioio/audiometadata.py parse_number 25 0 0 100%
src/audioio/audiometadata.py change_unit 20 0 0 100%
src/audioio/audiometadata.py find_key 6 0 0 100%
src/audioio/audiometadata.py find_key.find_keys 13 0 0 100%
src/audioio/audiometadata.py get_number_unit 19 0 0 100%
src/audioio/audiometadata.py get_number 4 0 0 100%
src/audioio/audiometadata.py get_int 13 0 0 100%
src/audioio/audiometadata.py get_bool 28 0 0 100%
src/audioio/audiometadata.py get_datetime 38 0 0 100%
src/audioio/audiometadata.py get_str 12 0 0 100%
src/audioio/audiometadata.py add_sections 13 0 0 100%
src/audioio/audiometadata.py strlist_to_dict 13 0 0 100%
src/audioio/audiometadata.py set_metadata 7 0 0 100%
src/audioio/audiometadata.py add_metadata 7 0 0 100%
src/audioio/audiometadata.py move_metadata 11 0 0 100%
src/audioio/audiometadata.py remove_metadata 8 0 0 100%
src/audioio/audiometadata.py cleanup_metadata 7 0 0 100%
src/audioio/audiometadata.py get_gain 4 0 0 100%
src/audioio/audiometadata.py update_gain 17 0 0 100%
src/audioio/audiometadata.py update_starttime 47 0 0 100%
src/audioio/audiometadata.py bext_history_str 20 0 0 100%
src/audioio/audiometadata.py add_history 26 0 0 100%
src/audioio/audiometadata.py add_unwrap 10 0 0 100%
src/audioio/audiometadata.py demo 41 0 0 100%
src/audioio/audiometadata.py main 11 1 0 91%
src/audioio/audiometadata.py (no function) 45 1 0 98%
src/audioio/audiomodules.py installed_modules 5 0 0 100%
src/audioio/audiomodules.py available_modules 5 0 0 100%
src/audioio/audiomodules.py unavailable_modules 5 0 0 100%
src/audioio/audiomodules.py disable_module 5 0 0 100%
src/audioio/audiomodules.py enable_module 5 0 0 100%
src/audioio/audiomodules.py select_module 5 0 0 100%
src/audioio/audiomodules.py list_modules 18 1 0 94%
src/audioio/audiomodules.py list_modules.print_module 16 1 0 94%
src/audioio/audiomodules.py missing_modules 12 4 0 67%
src/audioio/audiomodules.py missing_modules_instructions 9 6 0 33%
src/audioio/audiomodules.py installation_instruction 67 19 0 72%
src/audioio/audiomodules.py main 35 22 0 37%
src/audioio/audiomodules.py (no function) 201 28 0 86%
src/audioio/audiotools.py despike 14 0 0 100%
src/audioio/audiotools.py despike.despike_trace 5 2 0 60%
src/audioio/audiotools.py despike.despike_traces 2 0 0 100%
src/audioio/audiotools.py unwrap 10 0 0 100%
src/audioio/audiotools.py unwrap.unwrap_trace 13 0 0 100%
src/audioio/audiotools.py unwrap.unwrap_traces 2 0 0 100%
src/audioio/audiotools.py (no function) 14 1 0 93%
src/audioio/audiowriter.py format_from_extension 14 0 0 100%
src/audioio/audiowriter.py formats_wave 3 0 0 100%
src/audioio/audiowriter.py encodings_wave 5 0 0 100%
src/audioio/audiowriter.py write_wave 33 0 0 100%
src/audioio/audiowriter.py formats_ewave 3 0 0 100%
src/audioio/audiowriter.py encodings_ewave 5 0 0 100%
src/audioio/audiowriter.py write_ewave 20 0 0 100%
src/audioio/audiowriter.py formats_wavfile 3 0 0 100%
src/audioio/audiowriter.py encodings_wavfile 5 0 0 100%
src/audioio/audiowriter.py write_wavfile 27 0 0 100%
src/audioio/audiowriter.py formats_soundfile 3 0 0 100%
src/audioio/audiowriter.py encodings_soundfile 3 0 0 100%
src/audioio/audiowriter.py write_soundfile 16 0 0 100%
src/audioio/audiowriter.py formats_wavefile 8 0 0 100%
src/audioio/audiowriter.py encodings_wavefile 10 0 0 100%
src/audioio/audiowriter.py write_wavefile 31 0 0 100%
src/audioio/audiowriter.py formats_pydub 17 0 0 100%
src/audioio/audiowriter.py encodings_pydub 23 0 0 100%
src/audioio/audiowriter.py write_pydub 27 4 0 85%
src/audioio/audiowriter.py available_formats 4 0 0 100%
src/audioio/audiowriter.py available_encodings 5 1 0 80%
src/audioio/audiowriter.py write_audio 27 0 0 100%
src/audioio/audiowriter.py demo 9 0 0 100%
src/audioio/audiowriter.py main 32 0 0 100%
src/audioio/audiowriter.py (no function) 39 1 0 97%
src/audioio/bufferedarray.py blocks 12 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__init__ 12 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__enter__ 1 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__exit__ 2 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__len__ 1 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__iter__ 2 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__next__ 5 0 0 100%
src/audioio/bufferedarray.py BufferedArray.__getitem__ 41 0 0 100%
src/audioio/bufferedarray.py BufferedArray.blocks 1 0 0 100%
src/audioio/bufferedarray.py BufferedArray.init_buffer 11 0 0 100%
src/audioio/bufferedarray.py BufferedArray.allocate_buffer 11 4 0 64%
src/audioio/bufferedarray.py BufferedArray.reload_buffer 5 5 0 0%
src/audioio/bufferedarray.py BufferedArray.update_buffer 2 0 0 100%
src/audioio/bufferedarray.py BufferedArray.update_time 1 1 0 0%
src/audioio/bufferedarray.py BufferedArray.move_buffer 13 2 0 85%
src/audioio/bufferedarray.py BufferedArray.buffer_position 51 24 0 53%
src/audioio/bufferedarray.py BufferedArray.recycle_buffer 25 1 0 96%
src/audioio/bufferedarray.py (no function) 19 0 0 100%
src/audioio/playaudio.py note2freq 35 0 0 100%
src/audioio/playaudio.py fade_in 8 1 0 88%
src/audioio/playaudio.py fade_out 8 1 0 88%
src/audioio/playaudio.py fade 2 0 0 100%
src/audioio/playaudio.py PlayAudio.__init__ 7 0 0 100%
src/audioio/playaudio.py PlayAudio._close 5 0 0 100%
src/audioio/playaudio.py PlayAudio._stop 1 1 0 0%
src/audioio/playaudio.py PlayAudio._play 1 0 0 100%
src/audioio/playaudio.py PlayAudio.play 14 0 0 100%
src/audioio/playaudio.py PlayAudio.beep 6 1 0 83%
src/audioio/playaudio.py PlayAudio._down_sample 31 14 0 55%
src/audioio/playaudio.py PlayAudio.__del__ 1 0 0 100%
src/audioio/playaudio.py PlayAudio.__enter__ 1 1 0 0%
src/audioio/playaudio.py PlayAudio.__exit__ 2 2 0 0%
src/audioio/playaudio.py PlayAudio.open_pyaudio 33 13 0 61%
src/audioio/playaudio.py PlayAudio._callback_pyaudio 16 16 0 0%
src/audioio/playaudio.py PlayAudio._stop_pyaudio 25 25 0 0%
src/audioio/playaudio.py PlayAudio._play_pyaudio 42 42 0 0%
src/audioio/playaudio.py PlayAudio._close_pyaudio 4 4 0 0%
src/audioio/playaudio.py PlayAudio.open_sounddevice 30 17 0 43%
src/audioio/playaudio.py PlayAudio._callback_sounddevice 23 23 0 0%
src/audioio/playaudio.py PlayAudio._stop_sounddevice 19 19 0 0%
src/audioio/playaudio.py PlayAudio._play_sounddevice 39 39 0 0%
src/audioio/playaudio.py PlayAudio._close_sounddevice 2 2 0 0%
src/audioio/playaudio.py PlayAudio.open_simpleaudio 8 1 0 88%
src/audioio/playaudio.py PlayAudio._stop_simpleaudio 2 1 0 50%
src/audioio/playaudio.py PlayAudio._play_simpleaudio 27 9 0 67%
src/audioio/playaudio.py PlayAudio._close_simpleaudio 3 0 0 100%
src/audioio/playaudio.py PlayAudio.open_soundcard 17 17 0 0%
src/audioio/playaudio.py PlayAudio._stop_soundcard 1 1 0 0%
src/audioio/playaudio.py PlayAudio._play_soundcard 26 26 0 0%
src/audioio/playaudio.py PlayAudio._close_soundcard 2 2 0 0%
src/audioio/playaudio.py PlayAudio.open_ossaudiodev 19 7 0 63%
src/audioio/playaudio.py PlayAudio._stop_ossaudiodev 9 9 0 0%
src/audioio/playaudio.py PlayAudio._run_play_ossaudiodev 6 6 0 0%
src/audioio/playaudio.py PlayAudio._play_ossaudiodev 35 35 0 0%
src/audioio/playaudio.py PlayAudio._close_ossaudiodev 2 2 0 0%
src/audioio/playaudio.py PlayAudio.open_winsound 9 9 0 0%
src/audioio/playaudio.py PlayAudio._stop_winsound 4 4 0 0%
src/audioio/playaudio.py PlayAudio._play_winsound 37 37 0 0%
src/audioio/playaudio.py PlayAudio._close_winsound 5 5 0 0%
src/audioio/playaudio.py PlayAudio.open 24 3 0 88%
src/audioio/playaudio.py play 4 0 0 100%
src/audioio/playaudio.py beep 4 0 0 100%
src/audioio/playaudio.py close 3 0 0 100%
src/audioio/playaudio.py speaker_devices_pyaudio 21 7 0 67%
src/audioio/playaudio.py speaker_devices_sounddevice 12 6 0 50%
src/audioio/playaudio.py speaker_devices_soundcard 9 9 0 0%
src/audioio/playaudio.py speaker_devices 17 7 0 59%
src/audioio/playaudio.py demo 23 20 0 13%
src/audioio/playaudio.py main 39 23 0 41%
src/audioio/playaudio.py (no function) 66 2 0 97%
src/audioio/riffmetadata.py read_riff_header 8 0 0 100%
src/audioio/riffmetadata.py skip_chunk 4 0 0 100%
src/audioio/riffmetadata.py read_chunk_tags 23 0 0 100%
src/audioio/riffmetadata.py read_format_chunk 6 1 0 83%
src/audioio/riffmetadata.py read_info_chunks 23 1 0 96%
src/audioio/riffmetadata.py read_bext_chunk 45 0 0 100%
src/audioio/riffmetadata.py read_ixml_chunk 9 0 0 100%
src/audioio/riffmetadata.py read_ixml_chunk.parse_ixml 9 0 0 100%
src/audioio/riffmetadata.py read_guano_chunk 8 0 0 100%
src/audioio/riffmetadata.py read_cue_chunk 9 0 0 100%
src/audioio/riffmetadata.py read_playlist_chunk 8 1 0 88%
src/audioio/riffmetadata.py read_adtl_chunks 36 4 0 89%
src/audioio/riffmetadata.py read_lbl_chunk 21 1 0 95%
src/audioio/riffmetadata.py metadata_riff 31 0 0 100%
src/audioio/riffmetadata.py markers_riff 32 0 0 100%
src/audioio/riffmetadata.py write_riff_chunk 8 0 0 100%
src/audioio/riffmetadata.py write_filesize 7 0 0 100%
src/audioio/riffmetadata.py write_chunk_name 4 0 0 100%
src/audioio/riffmetadata.py write_format_chunk 5 0 0 100%
src/audioio/riffmetadata.py write_data_chunk 5 0 0 100%
src/audioio/riffmetadata.py write_info_chunk 41 4 0 90%
src/audioio/riffmetadata.py write_bext_chunk 31 0 0 100%
src/audioio/riffmetadata.py write_ixml_chunk 24 0 0 100%
src/audioio/riffmetadata.py write_ixml_chunk.check_ixml 7 0 0 100%
src/audioio/riffmetadata.py write_ixml_chunk.build_xml 8 0 0 100%
src/audioio/riffmetadata.py write_guano_chunk 25 1 0 96%
src/audioio/riffmetadata.py write_cue_chunk 7 0 0 100%
src/audioio/riffmetadata.py write_playlist_chunk 11 0 0 100%
src/audioio/riffmetadata.py write_adtl_chunks 43 0 0 100%
src/audioio/riffmetadata.py write_lbl_chunk 30 4 0 87%
src/audioio/riffmetadata.py append_metadata_riff 24 0 0 100%
src/audioio/riffmetadata.py append_markers_riff 34 1 0 97%
src/audioio/riffmetadata.py write_wave 22 0 0 100%
src/audioio/riffmetadata.py append_riff 23 4 0 83%
src/audioio/riffmetadata.py demo 14 1 0 93%
src/audioio/riffmetadata.py demo.print_meta_data 7 0 0 100%
src/audioio/riffmetadata.py main 26 0 0 100%
src/audioio/riffmetadata.py (no function) 49 1 0 98%
src/audioio/version.py (no function) 7 0 0 100%
Total   3944 683 0 83%

No items found using the specified filter.