Repository Analysis

beetbox/beets

music library manager and MusicBrainz tagger

20.2 Moderate AI signal View on GitHub
20.2
Adjusted Score
20.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
15,198
Stars
Python
Language
111,825
Lines of Code
352
Files
1715
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 24MEDIUM 216LOW 1475

Pattern Findings

1715 matches across 14 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers971 hits · 996 pts
SeverityFileLineSnippet
LOWtest/test_m3ufile.py32 def test_playlist_write_empty(self):
LOWtest/test_m3ufile.py56 def test_playlist_write_unicode(self):
LOWtest/test_m3ufile.py72 def test_playlist_write_and_read_unicode_windows(self):
LOWtest/test_m3ufile.py110 def test_playlist_load_unicode(self):
LOWtest/test_m3ufile.py120 def test_playlist_load_unicode_windows(self):
LOWtest/test_library.py50 def test_load_restores_data_from_db(self):
LOWtest/test_library.py56 def test_load_clears_dirty_flags(self):
LOWtest/test_library.py64 def test_store_changes_database_value(self):
LOWtest/test_library.py71 def test_store_only_writes_dirty_fields(self):
LOWtest/test_library.py78 def test_store_clears_dirty_flags(self):
LOWtest/test_library.py83 def test_store_album_cascades_flex_deletes(self):
LOWtest/test_library.py198 def test_directory_works_with_trailing_slash(self):
LOWtest/test_library.py203 def test_directory_works_without_trailing_slash(self):
LOWtest/test_library.py208 def test_destination_substitutes_metadata_values(self):
LOWtest/test_library.py216 def test_destination_preserves_extension(self):
LOWtest/test_library.py222 def test_lower_case_extension(self):
LOWtest/test_library.py228 def test_destination_pads_some_indices(self):
LOWtest/test_library.py240 def test_destination_pads_date_values(self):
LOWtest/test_library.py248 def test_destination_escapes_slashes(self):
LOWtest/test_library.py256 def test_destination_escapes_leading_dot(self):
LOWtest/test_library.py263 def test_destination_preserves_legitimate_slashes(self):
LOWtest/test_library.py270 def test_destination_long_names_truncated(self):
LOWtest/test_library.py276 def test_destination_long_names_keep_extension(self):
LOWtest/test_library.py282 def test_distination_windows_removes_both_separators(self):
LOWtest/test_library.py339 def test_multi_value_string_query_path(self):
LOWtest/test_library.py348 def test_multi_value_match_query_path(self):
LOWtest/test_library.py357 def test_multi_value_string_query_path_no_substring_match(self):
LOWtest/test_library.py366 def test_albumtype_query_path(self):
LOWtest/test_library.py390 def test_get_formatted_does_not_replace_separators(self):
LOWtest/test_library.py397 def test_get_formatted_pads_with_zero(self):
LOWtest/test_library.py403 def test_get_formatted_uses_kbps_bitrate(self):
LOWtest/test_library.py409 def test_get_formatted_uses_khz_samplerate(self):
LOWtest/test_library.py415 def test_get_formatted_datetime(self):
LOWtest/test_library.py427 def test_artist_falls_back_to_albumartist(self):
LOWtest/test_library.py434 def test_albumartist_falls_back_to_artist(self):
LOWtest/test_library.py441 def test_artist_overrides_albumartist(self):
LOWtest/test_library.py448 def test_albumartist_overrides_artist(self):
LOWtest/test_library.py455 def test_unicode_normalized_nfd_on_mac(self):
LOWtest/test_library.py462 def test_unicode_normalized_nfc_on_linux(self):
LOWtest/test_library.py469 def test_unicode_extension_in_fragment(self):
LOWtest/test_library.py484 def test_asciify_character_expanding_to_slash(self):
LOWtest/test_library.py491 def test_destination_with_replacements(self):
LOWtest/test_library.py500 def test_destination_with_empty_component(self):
LOWtest/test_library.py529 def test_album_field_in_template(self):
LOWtest/test_library.py539 def test_formatted_item_value(self):
LOWtest/test_library.py548 def test_get_method_with_default(self):
LOWtest/test_library.py552 def test_get_method_with_specified_default(self):
LOWtest/test_library.py580 def test_artist_falls_back_to_albumartist(self):
LOWtest/test_library.py585 def test_albumartist_falls_back_to_artist(self):
LOWtest/test_library.py590 def test_both_artist_and_albumartist_empty(self):
LOWtest/test_library.py685 def test_nonexistent_function(self):
LOWtest/test_library.py689 def test_if_def_field_return_self(self):
LOWtest/test_library.py694 def test_if_def_field_not_defined(self):
LOWtest/test_library.py746 def test_unique_expands_to_disambiguating_year(self):
LOWtest/test_library.py749 def test_unique_with_default_arguments_uses_albumtype(self):
LOWtest/test_library.py756 def test_unique_expands_to_nothing_for_distinct_albums(self):
LOWtest/test_library.py763 def test_use_fallback_numbers_when_identical(self):
LOWtest/test_library.py771 def test_unique_falls_back_to_second_distinguishing_field(self):
LOWtest/test_library.py830 def test_sunique_expands_to_disambiguating_year(self):
LOWtest/test_library.py833 def test_sunique_with_default_arguments_uses_trackdisambig(self):
911 more matches not shown…
Self-Referential Comments204 hits · 608 pts
SeverityFileLineSnippet
MEDIUMtest/test_m3ufile.py1# This file is part of beets.
MEDIUMtest/test_library.py1# This file is part of beets.
MEDIUMtest/test_plugins.py1# This file is part of beets.
MEDIUMtest/testall.py3# This file is part of beets.
MEDIUMtest/test_importer.py1# This file is part of beets.
MEDIUMtest/test_art_resize.py1# This file is part of beets.
MEDIUMtest/test_util.py1# This file is part of beets.
MEDIUMtest/test_dbcore.py1# This file is part of beets.
MEDIUMtest/test_metasync.py1# This file is part of beets.
MEDIUMtest/test_files.py1# This file is part of beets.
MEDIUMtest/test_datequery.py1# This file is part of beets.
MEDIUMtest/test_query.py1# This file is part of beets.
MEDIUMtest/test_hidden.py1# This file is part of beets.
MEDIUMtest/test_pipeline.py1# This file is part of beets.
MEDIUMtest/test_template.py1# This file is part of beets.
MEDIUMtest/ui/test_ui_importer.py1# This file is part of beets.
MEDIUMtest/ui/test_ui.py1# This file is part of beets.
MEDIUMtest/ui/test_ui_init.py1# This file is part of beets.
MEDIUMtest/plugins/test_discogs.py1# This file is part of beets.
MEDIUMtest/plugins/test_albumtypes.py1# This file is part of beets.
MEDIUMtest/plugins/test_fetchart.py1# This file is part of beets.
MEDIUMtest/plugins/test_parentwork.py1# This file is part of beets.
MEDIUMtest/plugins/test_importsource.py1# This file is part of beets.
MEDIUMtest/plugins/test_mpdstats.py1# This file is part of beets.
MEDIUMtest/plugins/test_musicbrainz.py1# This file is part of beets.
MEDIUMtest/plugins/test_filefilter.py1# This file is part of beets.
MEDIUMtest/plugins/test_thumbnails.py1# This file is part of beets.
MEDIUMtest/plugins/test_keyfinder.py1# This file is part of beets.
MEDIUMtest/plugins/test_play.py1# This file is part of beets.
MEDIUMtest/plugins/test_chroma.py1# This file is part of beets.
MEDIUMtest/plugins/test_hook.py1# This file is part of beets.
MEDIUMtest/plugins/test_edit.py1# This file is part of beets.
MEDIUMtest/plugins/test_web.py315 # Create a temporary item
MEDIUMtest/plugins/test_web.py340 # Create an item with a file
MEDIUMtest/plugins/test_web.py368 # Create an item with a file
MEDIUMtest/plugins/test_web.py395 # Create a temporary item
MEDIUMtest/plugins/test_web.py432 # Create a temporary item
MEDIUMtest/plugins/test_web.py459 # Create a temporary item
MEDIUMtest/plugins/test_web.py486 # Create a temporary album
MEDIUMtest/plugins/test_web.py511 # Create a temporary album
MEDIUMtest/plugins/test_web.py548 # Create a temporary album
MEDIUMtest/plugins/test_web.py575 # Create a temporary album
MEDIUMtest/plugins/test_web.py606 # Create a temporary item
MEDIUMtest/plugins/test_web.py648 # Create a temporary item
MEDIUMtest/plugins/test_convert.py1# This file is part of beets.
MEDIUMtest/plugins/test_inline.py1# This file is part of beets.
MEDIUMtest/plugins/test_ipfs.py1# This file is part of beets.
MEDIUMtest/plugins/test_bpd.py1# This file is part of beets.
MEDIUMtest/plugins/test_bpd.py281 # Create a config file:
MEDIUMtest/plugins/test_acousticbrainz.py1# This file is part of beets.
MEDIUMtest/plugins/test_embedart.py1# This file is part of beets.
MEDIUMtest/plugins/test_titlecase.py1# This file is part of beets.
MEDIUMtest/plugins/test_advancedrewrite.py1# This file is part of beets.
MEDIUMtest/plugins/test_beatport.py1# This file is part of beets.
MEDIUMtest/plugins/test_fuzzy.py1# This file is part of beets.
MEDIUMtest/plugins/test_bareasc.py1# This file is part of beets.
MEDIUMtest/plugins/test_bucket.py1# This file is part of beets.
MEDIUMtest/plugins/test_fromfilename.py1# This file is part of beets.
MEDIUMtest/plugins/test_duplicates.py1# This file is part of beets.
MEDIUMtest/plugins/test_replaygain.py1# This file is part of beets.
144 more matches not shown…
Over-Commented Block191 hits · 185 pts
SeverityFileLineSnippet
LOWtest/test_m3ufile.py1# This file is part of beets.
LOWtest/test_library.py1# This file is part of beets.
LOWtest/test_plugins.py1# This file is part of beets.
LOWtest/testall.py1#!/usr/bin/env python3
LOWtest/test_importer.py1# This file is part of beets.
LOWtest/test_art_resize.py1# This file is part of beets.
LOWtest/test_util.py1# This file is part of beets.
LOWtest/test_dbcore.py1# This file is part of beets.
LOWtest/test_metasync.py1# This file is part of beets.
LOWtest/test_files.py1# This file is part of beets.
LOWtest/test_datequery.py1# This file is part of beets.
LOWtest/test_query.py1# This file is part of beets.
LOWtest/test_hidden.py1# This file is part of beets.
LOWtest/test_pipeline.py1# This file is part of beets.
LOWtest/test_template.py1# This file is part of beets.
LOWtest/ui/test_ui_importer.py1# This file is part of beets.
LOWtest/ui/test_ui.py1# This file is part of beets.
LOWtest/ui/test_ui.py221 with open(self.cli_config_path, "w") as file:
LOWtest/ui/test_ui.py241 #
LOWtest/ui/test_ui_init.py1# This file is part of beets.
LOWtest/plugins/test_discogs.py1# This file is part of beets.
LOWtest/plugins/test_albumtypes.py1# This file is part of beets.
LOWtest/plugins/test_fetchart.py1# This file is part of beets.
LOWtest/plugins/test_parentwork.py1# This file is part of beets.
LOWtest/plugins/test_importsource.py1# This file is part of beets.
LOWtest/plugins/test_mpdstats.py1# This file is part of beets.
LOWtest/plugins/test_musicbrainz.py1# This file is part of beets.
LOWtest/plugins/test_filefilter.py1# This file is part of beets.
LOWtest/plugins/test_thumbnails.py1# This file is part of beets.
LOWtest/plugins/test_keyfinder.py1# This file is part of beets.
LOWtest/plugins/test_play.py1# This file is part of beets.
LOWtest/plugins/test_chroma.py1# This file is part of beets.
LOWtest/plugins/test_hook.py1# This file is part of beets.
LOWtest/plugins/test_edit.py1# This file is part of beets.
LOWtest/plugins/test_convert.py1# This file is part of beets.
LOWtest/plugins/test_inline.py1# This file is part of beets.
LOWtest/plugins/test_ipfs.py1# This file is part of beets.
LOWtest/plugins/test_bpd.py1# This file is part of beets.
LOWtest/plugins/test_acousticbrainz.py1# This file is part of beets.
LOWtest/plugins/test_embedart.py1# This file is part of beets.
LOWtest/plugins/test_titlecase.py1# This file is part of beets.
LOWtest/plugins/test_advancedrewrite.py1# This file is part of beets.
LOWtest/plugins/test_beatport.py1# This file is part of beets.
LOWtest/plugins/test_fuzzy.py1# This file is part of beets.
LOWtest/plugins/test_bucket.py1# This file is part of beets.
LOWtest/plugins/test_fromfilename.py1# This file is part of beets.
LOWtest/plugins/test_duplicates.py1# This file is part of beets.
LOWtest/plugins/test_replaygain.py1# This file is part of beets.
LOWtest/plugins/test_mbsubmit.py1# This file is part of beets.
LOWtest/plugins/test_types_plugin.py1# This file is part of beets.
LOWtest/plugins/test_smartplaylist.py1# This file is part of beets.
LOWtest/plugins/test_ftintitle.py1# This file is part of beets.
LOWtest/plugins/test_lyrics.py1# This file is part of beets.
LOWtest/plugins/test_importadded.py1# This file is part of beets.
LOWtest/plugins/test_playlist.py1# This file is part of beets.
LOWtest/plugins/test_info.py1# This file is part of beets.
LOWtest/plugins/test_substitute.py1# This file is part of beets.
LOWtest/plugins/test_mbsync.py1# This file is part of beets.
LOWtest/plugins/test_lastgenre.py1# This file is part of beets.
LOWtest/plugins/test_export.py1# This file is part of beets.
131 more matches not shown…
Unused Imports143 hits · 141 pts
SeverityFileLineSnippet
LOWtest/test_importer.py18
LOWtest/plugins/test_albumtypes.py17
LOWtest/plugins/conftest.py1
LOWtest/plugins/test_musicbrainz.py17
LOWtest/plugins/test_hook.py16
LOWtest/plugins/test_convert.py14
LOWtest/plugins/test_mbpseudo.py1
LOWtest/plugins/test_tidal.py3
LOWtest/plugins/test_embedart.py15
LOWtest/plugins/lyrics_pages.py1
LOWtest/plugins/test_aura.py1
LOWtest/plugins/test_ftintitle.py17
LOWtest/plugins/test_lyrics.py17
LOWtest/plugins/test_art.py17
LOWbeetsplug/replaygain.py16
LOWbeetsplug/missing.py18
LOWbeetsplug/titlecase.py19
LOWbeetsplug/_typing.py1
LOWbeetsplug/autobpm.py16
LOWbeetsplug/fetchart.py17
LOWbeetsplug/mbcollection.py16
LOWbeetsplug/convert.py17
LOWbeetsplug/musicbrainz.py17
LOWbeetsplug/hook.py17
LOWbeetsplug/lyrics.py17
LOWbeetsplug/ftintitle.py17
LOWbeetsplug/random.py16
LOWbeetsplug/lastimport.py15
LOWbeetsplug/aura.py17
LOWbeetsplug/deezer.py17
LOWbeetsplug/listenbrainz.py3
LOWbeetsplug/playlist.py13
LOWbeetsplug/parentwork.py19
LOWbeetsplug/mbpseudo.py17
LOWbeetsplug/albumtypes.py17
LOWbeetsplug/beatport.py17
LOWbeetsplug/chroma.py19
LOWbeetsplug/spotify.py21
LOWbeetsplug/smartplaylist.py17
LOWbeetsplug/replace.py1
LOWbeetsplug/_utils/musicbrainz.py11
LOWbeetsplug/_utils/__init__.py1
LOWbeetsplug/_utils/__init__.py1
LOWbeetsplug/_utils/playcount.py1
LOWbeetsplug/_utils/vfs.py19
LOWbeetsplug/_utils/requests.py1
LOWbeetsplug/lastgenre/client.py19
LOWbeetsplug/lastgenre/__init__.py25
LOWbeetsplug/lastgenre/utils.py18
LOWbeetsplug/metasync/__init__.py17
LOWbeetsplug/discogs/__init__.py19
LOWbeetsplug/discogs/types.py15
LOWbeetsplug/discogs/states.py17
LOWbeetsplug/tidal/api_types.py1
LOWbeetsplug/tidal/session.py1
LOWbeetsplug/tidal/__init__.py1
LOWbeetsplug/tidal/api.py1
LOWbeets/plugins.py17
LOWbeets/logging.py23
LOWbeets/logging.py28
83 more matches not shown…
Cross-File Repetition23 hits · 115 pts
SeverityFileLineSnippet
HIGHtest/util/test_lyrics.py0[00:00.00] some synced lyrics / quelques paroles synchronisées [00:00.50] [00:01.00] some more synced lyrics / quelques
HIGHtest/plugins/test_lyrics.py0[00:00.00] some synced lyrics / quelques paroles synchronisées [00:00.50] [00:01.00] some more synced lyrics / quelques
HIGHtest/library/test_migrations.py0[00:00.00] some synced lyrics / quelques paroles synchronisées [00:00.50] [00:01.00] some more synced lyrics / quelques
HIGHbeetsplug/replaygain.py0computes the track gain for the tracks belonging to `task`, and sets the `track_gains` attribute on the task. returns `t
HIGHbeetsplug/replaygain.py0computes the track gain for the tracks belonging to `task`, and sets the `track_gains` attribute on the task. returns `t
HIGHbeetsplug/replaygain.py0computes the track gain for the tracks belonging to `task`, and sets the `track_gains` attribute on the task. returns `t
HIGHbeetsplug/replaygain.py0computes the track gain for the tracks belonging to `task`, and sets the `track_gains` attribute on the task. returns `t
HIGHbeetsplug/replaygain.py0computes the track gain for the tracks belonging to `task`, and sets the `track_gains` attribute on the task. returns `t
HIGHbeetsplug/replaygain.py0computes the album gain for the album belonging to `task`, and sets the `album_gain` attribute on the task. returns `tas
HIGHbeetsplug/replaygain.py0computes the album gain for the album belonging to `task`, and sets the `album_gain` attribute on the task. returns `tas
HIGHbeetsplug/replaygain.py0computes the album gain for the album belonging to `task`, and sets the `album_gain` attribute on the task. returns `tas
HIGHbeetsplug/replaygain.py0computes the album gain for the album belonging to `task`, and sets the `album_gain` attribute on the task. returns `tas
HIGHbeetsplug/replaygain.py0computes the album gain for the album belonging to `task`, and sets the `album_gain` attribute on the task. returns `tas
HIGHbeetsplug/beatport.py0get the path to the json file for storing the oauth token.
HIGHbeetsplug/spotify.py0get the path to the json file for storing the oauth token.
HIGHbeetsplug/discogs/__init__.py0get the path to the json file for storing the oauth token.
HIGHbeetsplug/bpd/__init__.py0create a new connection for the accepted socket `client`.
HIGHbeetsplug/bpd/__init__.py0create a new connection for the accepted socket `client`.
HIGHbeetsplug/bpd/__init__.py0create a new connection for the accepted socket `client`.
HIGHbeets/dbcore/query.py0return a set with field names that this query operates on.
HIGHbeets/dbcore/query.py0return a set with field names that this query operates on.
HIGHbeets/dbcore/query.py0return a set with field names that this query operates on.
HIGHbeets/dbcore/query.py0return a set with field names that this query operates on.
Deep Nesting103 hits · 102 pts
SeverityFileLineSnippet
LOWtest/test_template.py22
LOWtest/plugins/test_ipfs.py28
LOWtest/plugins/test_bpd.py139
LOWtest/plugins/test_bpd.py270
LOWtest/plugins/test_lastgenre.py781
LOWbeetsplug/duplicates.py347
LOWbeetsplug/replaygain.py860
LOWbeetsplug/replaygain.py863
LOWbeetsplug/titlecase.py184
LOWbeetsplug/advancedrewrite.py65
LOWbeetsplug/acousticbrainz.py163
LOWbeetsplug/acousticbrainz.py264
LOWbeetsplug/fetchart.py105
LOWbeetsplug/fetchart.py266
LOWbeetsplug/fetchart.py433
LOWbeetsplug/fetchart.py534
LOWbeetsplug/fetchart.py920
LOWbeetsplug/fetchart.py1057
LOWbeetsplug/fetchart.py1161
LOWbeetsplug/fetchart.py1326
LOWbeetsplug/fetchart.py1564
LOWbeetsplug/fetchart.py1608
LOWbeetsplug/fetchart.py545
LOWbeetsplug/convert.py404
LOWbeetsplug/convert.py529
LOWbeetsplug/musicbrainz.py728
LOWbeetsplug/lyrics.py1095
LOWbeetsplug/mbsync.py100
LOWbeetsplug/edit.py224
LOWbeetsplug/types.py31
LOWbeetsplug/zero.py33
LOWbeetsplug/zero.py96
LOWbeetsplug/lastimport.py113
LOWbeetsplug/bpsync.py133
LOWbeetsplug/aura.py256
LOWbeetsplug/listenbrainz.py191
LOWbeetsplug/playlist.py159
LOWbeetsplug/subsonicplaylist.py32
LOWbeetsplug/subsonicplaylist.py108
LOWbeetsplug/subsonicplaylist.py109
LOWbeetsplug/ipfs.py277
LOWbeetsplug/badfiles.py171
LOWbeetsplug/importsource.py57
LOWbeetsplug/mbpseudo.py210
LOWbeetsplug/chroma.py439
LOWbeetsplug/embedart.py90
LOWbeetsplug/embedart.py115
LOWbeetsplug/spotify.py232
LOWbeetsplug/spotify.py824
LOWbeetsplug/the.py33
LOWbeetsplug/web/__init__.py122
LOWbeetsplug/web/__init__.py125
LOWbeetsplug/web/__init__.py126
LOWbeetsplug/bpd/gstplayer.py229
LOWbeetsplug/bpd/__init__.py387
LOWbeetsplug/bpd/__init__.py839
LOWbeetsplug/bpd/__init__.py1389
LOWbeetsplug/lastgenre/__init__.py397
LOWbeetsplug/discogs/__init__.py484
LOWbeetsplug/discogs/__init__.py564
43 more matches not shown…
Excessive Try-Catch Wrapping39 hits · 44 pts
SeverityFileLineSnippet
LOWtest/test_logging.py267 except Exception as e:
LOWtest/test_logging.py277 except Exception as e:
LOWtest/test_logging.py322 except Exception:
MEDIUMtest/test_logging.py260def listener1(self):
MEDIUMtest/test_logging.py270def listener2(self):
LOWtest/plugins/test_smartplaylist.py196 except Exception:
LOWtest/plugins/test_smartplaylist.py239 except Exception:
LOWtest/plugins/test_smartplaylist.py288 except Exception:
LOWbeetsplug/duplicates.py242 except Exception:
LOWbeetsplug/titlecase.py257 except Exception as e:
LOWbeetsplug/autobpm.py111 except Exception as exc:
LOWbeetsplug/autobpm.py118 except Exception as exc:
LOWbeetsplug/deezer.py271 except Exception as e:
LOWbeetsplug/scrub.py90 except Exception:
LOWbeetsplug/subsonicupdate.py154 except Exception as error:
LOWbeetsplug/beatport.py207 except Exception as e:
LOWbeetsplug/embedart.py156 except Exception as e:
LOWbeetsplug/thumbnails.py187 except Exception:
LOWbeetsplug/inline.py117 except Exception as exc:
LOWbeetsplug/inline.py129 except Exception as exc:
LOWbeetsplug/replace.py113 except Exception as e:
LOWbeetsplug/replace.py122 except Exception as e:
MEDIUMbeetsplug/bpd/gstplayer.py119 print(f"Error: {err}")
LOWbeetsplug/bpd/__init__.py935 except Exception:
LOWbeetsplug/bpd/__init__.py1058 except Exception:
LOWbeetsplug/lastgenre/client.py92 except Exception as exc:
LOWbeetsplug/metasync/itunes.py86 except Exception:
LOWbeetsplug/discogs/__init__.py490 except Exception as exc:
LOWbeets/plugins.py455 except Exception as exc:
LOWbeets/plugins.py473 except Exception:
LOWbeets/metadata_plugins.py69 except Exception as e:
LOWbeets/metadata_plugins.py420 except Exception as e:
MEDIUMbeets/metadata_plugins.py190def data_source_mismatch_penalty(self) -> float:
LOWbeets/importer/tasks.py1126 except Exception as exc:
LOWbeets/importer/state.py83 except Exception as exc:
MEDIUMbeets/importer/state.py76def _open(self):
LOWbeets/util/__init__.py637 except Exception as exc:
LOWbeets/util/functemplate.py173 except Exception as exc:
LOWbeets/util/functemplate.py542 except Exception: # Handle any exceptions thrown by compiled version.
AI Slop Vocabulary10 hits · 18 pts
SeverityFileLineSnippet
MEDIUMbeetsplug/web/static/jquery.js9255// AMD modules. A named AMD is safest and most robust way to register.
LOWbeetsplug/tidal/__init__.py122 # We just return early here as a lookup via isrc should
LOWbeetsplug/tidal/__init__.py145 # We just return early here as a lookup via isrc should
MEDIUMbeets/exceptions.py2 """UI exception. Commands should throw this in order to display
MEDIUMbeets/ui/__init__.py88 # test harness, it doesn't have an `encoding` attribute. Just use
LOWbeets/importer/tasks.py1205 # and add the current directory. If so, just add the directory
MEDIUMbeets/test/helper.py401# A test harness for all beets tests.
LOWbeets/util/__init__.py1090 # Therefore, we just use `Any` here, which is not ideal, but works.
LOWbeets/util/functemplate.py363 # Start of a group has no meaning hear; just pass
MEDIUMbeets/util/pipeline.py15"""Simple but robust implementation of generator/coroutine-based
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippet
LOWtest/plugins/test_replaygain.py107 # Check if required plugins can be loaded by instantiating a
LOWbeetsplug/titlecase.py226 # Check if A-Z is all uppercase or all lowercase
LOWbeetsplug/play.py168 # Check if the selection exceeds configured threshold. If True,
LOWbeetsplug/ipfs.py161 # Check if query is a hash
LOWbeetsplug/absubmit.py173 # Close the file, so the extractor can overwrite it.
LOWbeetsplug/spotify.py287 # Check if this is the audio features endpoint
LOWbeetsplug/embyupdate.py173 # Check if at least a apikey or password is given.
LOWbeets/importer/tasks.py1142 # Check if the file has an extension,
LOWbeets/util/artresizer.py674 # Check if a local backend is available, and store an instance of the
LOWbeets/util/lyrics.py47 # Set seed to 0 for deterministic results
LOWbeets/library/models.py924 # Open the file.
LOWbeets/autotag/match.py87 # Assign items to tracks
Overly Generic Function Names15 hits · 15 pts
SeverityFileLineSnippet
LOWtest/test_query.py57def helper():
LOWtest/plugins/test_missing.py15def helper(request):
LOWtest/plugins/test_mbcollection.py28 def helper(self):
LOWtest/plugins/test_fuzzy.py22def helper(request):
LOWtest/plugins/test_aura.py17def helper():
LOWtest/plugins/test_lyrics.py49def helper():
LOWtest/plugins/test_random.py27def helper():
LOWtest/plugins/utils/test_playcount.py16def helper(request):
LOWtest/library/test_migrations.py16 def helper(self, monkeypatch):
LOWtest/library/test_migrations.py85 def helper(self, monkeypatch):
LOWtest/library/test_migrations.py164 def helper(self, monkeypatch):
LOWtest/library/test_migrations.py231 def helper(self, monkeypatch):
LOWbeetsplug/lyrics.py224 def handle_request(self) -> Iterator[None]:
LOWbeets/plugins.py377 def helper(func: TFunc[str]) -> TFunc[str]:
LOWbeets/plugins.py391 def helper(func: TFunc[Item]) -> TFunc[Item]:
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippet
HIGHbeets/dbcore/db.py572 setattr(self, key, self._type(key).null)
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMbeets/ui/commands/completion_base.sh18# =================================
Dead Code1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMtest/test_importer.py1740
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOWtest/rsrc/lyrics/examplecom/beetssong.txt353cf_page_artist = 'John Doe';