Coverage report: 87%

Files Functions Classes

coverage.py v7.6.5, created at 2024-11-14 22:07 +0100

File function statements missing excluded coverage
src/bob/bio/spear/__init__.py (no function) 6 0 0 100%
src/bob/bio/spear/annotator/__init__.py __appropriate__ 2 0 0 100%
src/bob/bio/spear/annotator/__init__.py (no function) 6 0 0 100%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss.__init__ 7 0 0 100%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss._voice_activity_detection 17 2 0 88%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss._compute_energy 5 0 0 100%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss.transform_one 5 0 0 100%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss.transform 5 0 0 100%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss.fit 1 1 0 0%
src/bob/bio/spear/annotator/energy_2gauss.py Energy_2Gauss._more_tags 1 0 0 100%
src/bob/bio/spear/annotator/energy_2gauss.py (no function) 16 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py Energy_Thr.__init__ 5 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py Energy_Thr._voice_activity_detection 10 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py Energy_Thr._compute_energy 5 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py Energy_Thr.transform_one 5 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py Energy_Thr.transform 4 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py Energy_Thr._more_tags 1 0 0 100%
src/bob/bio/spear/annotator/energy_thr.py (no function) 13 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.__init__ 12 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz._voice_activity_detection 22 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.averaging 11 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.bandpass_firwin 2 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.pass_band_filtering 6 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.modulation_4hz 18 2 0 89%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.mod_4hz 9 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.transform_one 5 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz.transform 4 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py Mod_4Hz._more_tags 1 0 0 100%
src/bob/bio/spear/annotator/mod_4hz.py (no function) 18 0 0 100%
src/bob/bio/spear/audio_processing.py fft 4 1 0 75%
src/bob/bio/spear/audio_processing.py init_hamming_kernel 5 0 0 100%
src/bob/bio/spear/audio_processing.py init_freqfilter 14 4 0 71%
src/bob/bio/spear/audio_processing.py init_dct_kernel 13 0 0 100%
src/bob/bio/spear/audio_processing.py resample 9 1 0 89%
src/bob/bio/spear/audio_processing.py read 10 0 0 100%
src/bob/bio/spear/audio_processing.py audio_info 1 1 0 0%
src/bob/bio/spear/audio_processing.py compare 1 1 0 0%
src/bob/bio/spear/audio_processing.py mel_python 1 0 0 100%
src/bob/bio/spear/audio_processing.py mel_inv_python 1 0 0 100%
src/bob/bio/spear/audio_processing.py sig_norm 11 2 0 82%
src/bob/bio/spear/audio_processing.py pre_emphasis 5 2 0 60%
src/bob/bio/spear/audio_processing.py hamming_window 3 0 0 100%
src/bob/bio/spear/audio_processing.py log_filter_bank 9 0 0 100%
src/bob/bio/spear/audio_processing.py log_triangular_bank 13 0 0 100%
src/bob/bio/spear/audio_processing.py dct_transform 5 0 0 100%
src/bob/bio/spear/audio_processing.py energy 16 0 0 100%
src/bob/bio/spear/audio_processing.py spectrogram 22 0 0 100%
src/bob/bio/spear/audio_processing.py cepstral 103 1 0 99%
src/bob/bio/spear/audio_processing.py (no function) 27 0 0 100%
src/bob/bio/spear/config/__init__.py (no function) 0 0 0 100%
src/bob/bio/spear/config/annotator/__init__.py (no function) 0 0 0 100%
src/bob/bio/spear/config/annotator/energy_2gauss.py (no function) 2 0 0 100%
src/bob/bio/spear/config/annotator/energy_thr.py (no function) 2 0 0 100%
src/bob/bio/spear/config/annotator/mod_4hz.py (no function) 2 0 0 100%
src/bob/bio/spear/config/database/__init__.py (no function) 0 0 0 100%
src/bob/bio/spear/config/database/asvspoof.py (no function) 4 0 0 100%
src/bob/bio/spear/config/database/avspoof.py (no function) 4 0 0 100%
src/bob/bio/spear/config/database/mini_voxforge.py (no function) 2 2 0 0%
src/bob/bio/spear/config/database/mobio_audio_female.py (no function) 2 0 0 100%
src/bob/bio/spear/config/database/mobio_audio_male.py (no function) 2 0 0 100%
src/bob/bio/spear/config/database/nist_sre04to16.py (no function) 4 0 0 100%
src/bob/bio/spear/config/database/timit.py (no function) 5 0 0 100%
src/bob/bio/spear/config/database/voicepa.py (no function) 4 0 0 100%
src/bob/bio/spear/config/database/voxceleb.py (no function) 2 0 0 100%
src/bob/bio/spear/config/database/voxforge.py (no function) 5 0 0 100%
src/bob/bio/spear/config/extractor/__init__.py (no function) 0 0 0 100%
src/bob/bio/spear/config/extractor/mfcc60.py (no function) 2 2 0 0%
src/bob/bio/spear/config/pipeline/__init__.py (no function) 0 0 0 100%
src/bob/bio/spear/config/pipeline/mfcc60_gmm_default.py (no function) 12 0 0 100%
src/bob/bio/spear/config/pipeline/mfcc60_gmm_mini.py (no function) 12 12 0 0%
src/bob/bio/spear/config/pipeline/mfcc60_gmm_mobio.py (no function) 12 0 0 100%
src/bob/bio/spear/config/pipeline/mfcc60_isv_default.py (no function) 14 0 0 100%
src/bob/bio/spear/config/pipeline/mfcc60_isv_mini.py (no function) 14 14 0 0%
src/bob/bio/spear/config/pipeline/mfcc60_ivector.py LenghtNorm.transform 1 1 0 0%
src/bob/bio/spear/config/pipeline/mfcc60_ivector.py LenghtNorm._more_tags 1 1 0 0%
src/bob/bio/spear/config/pipeline/mfcc60_ivector.py (no function) 18 0 0 100%
src/bob/bio/spear/config/pipeline/mfcc60_ivector_postprocess.py LengthNorm.transform 1 1 0 0%
src/bob/bio/spear/config/pipeline/mfcc60_ivector_postprocess.py LengthNorm._more_tags 1 1 0 0%
src/bob/bio/spear/config/pipeline/mfcc60_ivector_postprocess.py (no function) 20 20 0 0%
src/bob/bio/spear/config/pipeline/speechbrain_ecapa_voxceleb.py (no function) 7 7 0 0%
src/bob/bio/spear/database/__init__.py __appropriate__ 2 0 0 100%
src/bob/bio/spear/database/__init__.py (no function) 11 0 0 100%
src/bob/bio/spear/database/asvspoof.py AsvspoofDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/asvspoof.py (no function) 9 0 0 100%
src/bob/bio/spear/database/asvspoof2017.py (no function) 0 0 0 100%
src/bob/bio/spear/database/avspoof.py AvspoofDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/avspoof.py (no function) 9 0 0 100%
src/bob/bio/spear/database/mobio.py MobioDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/mobio.py (no function) 9 0 0 100%
src/bob/bio/spear/database/nist_sre04to16.py NistSRE04To16Database.__init__ 1 0 0 100%
src/bob/bio/spear/database/nist_sre04to16.py (no function) 9 0 0 100%
src/bob/bio/spear/database/timit.py TimitDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/timit.py (no function) 9 0 0 100%
src/bob/bio/spear/database/utils.py get_rc 1 0 0 100%
src/bob/bio/spear/database/utils.py path_loader 2 0 0 100%
src/bob/bio/spear/database/utils.py create_sample_loader 7 2 0 71%
src/bob/bio/spear/database/utils.py (no function) 11 0 0 100%
src/bob/bio/spear/database/voicepa.py VoicepaDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/voicepa.py (no function) 9 0 0 100%
src/bob/bio/spear/database/voxceleb.py VoxcelebDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/voxceleb.py (no function) 9 0 0 100%
src/bob/bio/spear/database/voxforge.py VoxforgeDatabase.__init__ 1 0 0 100%
src/bob/bio/spear/database/voxforge.py download_voxforge 19 19 0 0%
src/bob/bio/spear/database/voxforge.py (no function) 23 0 0 100%
src/bob/bio/spear/extractor/Cepstral.py Cepstral.__init__ 16 0 0 100%
src/bob/bio/spear/extractor/Cepstral.py Cepstral.normalize_features 4 1 0 75%
src/bob/bio/spear/extractor/Cepstral.py Cepstral.transform_one 16 6 0 62%
src/bob/bio/spear/extractor/Cepstral.py Cepstral.transform 4 0 0 100%
src/bob/bio/spear/extractor/Cepstral.py Cepstral.fit 1 1 0 0%
src/bob/bio/spear/extractor/Cepstral.py Cepstral._more_tags 1 0 0 100%
src/bob/bio/spear/extractor/Cepstral.py (no function) 12 0 0 100%
src/bob/bio/spear/extractor/__init__.py __appropriate__ 2 0 0 100%
src/bob/bio/spear/extractor/__init__.py (no function) 5 0 0 100%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings.__init__ 4 4 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings.load_model 4 4 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings.fit 1 1 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings.transform_one 1 1 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings.transform 3 3 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings.__getstate__ 3 3 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py SpeechbrainEmbeddings._more_tags 1 1 0 0%
src/bob/bio/spear/extractor/speechbrain_embeddings.py (no function) 11 0 0 100%
src/bob/bio/spear/transformer/__init__.py __appropriate__ 2 0 0 100%
src/bob/bio/spear/transformer/__init__.py (no function) 6 0 0 100%
src/bob/bio/spear/transformer/path_to_audio.py get_audio_sample_rate 1 0 0 100%
src/bob/bio/spear/transformer/path_to_audio.py get_audio_data 1 0 0 100%
src/bob/bio/spear/transformer/path_to_audio.py PathToAudio.__init__ 3 0 0 100%
src/bob/bio/spear/transformer/path_to_audio.py PathToAudio.transform 8 0 0 100%
src/bob/bio/spear/transformer/path_to_audio.py PathToAudio.fit 1 1 0 0%
src/bob/bio/spear/transformer/path_to_audio.py PathToAudio._more_tags 1 1 0 0%
src/bob/bio/spear/transformer/path_to_audio.py (no function) 15 0 0 100%
src/bob/bio/spear/transformer/preprocessing.py ReferenceIdEncoder.__init__ 1 0 0 100%
src/bob/bio/spear/transformer/preprocessing.py ReferenceIdEncoder.fit 2 0 0 100%
src/bob/bio/spear/transformer/preprocessing.py ReferenceIdEncoder.transform 2 0 0 100%
src/bob/bio/spear/transformer/preprocessing.py ReferenceIdEncoder._more_tags 1 0 0 100%
src/bob/bio/spear/transformer/preprocessing.py (no function) 7 0 0 100%
src/bob/bio/spear/transformer/resample.py Resample.__init__ 2 0 0 100%
src/bob/bio/spear/transformer/resample.py Resample.transform 4 0 0 100%
src/bob/bio/spear/transformer/resample.py Resample.fit 1 1 0 0%
src/bob/bio/spear/transformer/resample.py Resample._more_tags 1 0 0 100%
src/bob/bio/spear/transformer/resample.py (no function) 11 0 0 100%
src/bob/bio/spear/utils.py normalize_std_array 1 0 0 100%
src/bob/bio/spear/utils.py smoothing 46 0 0 100%
src/bob/bio/spear/utils.py (no function) 4 0 0 100%
Total   1007 128 0 87%

No items found using the specified filter.