The Free Software Media System - Server Backend & API
This report presents the forensic synthetic code analysis of jellyfin/jellyfin, a C# project with 56,296 GitHub stars. SynthScan v2.0 examined 395,507 lines of code across 2463 source files, recording 1461 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 3.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1461 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MediaBrowser.Providers/MediaInfo/ProbeProvider.cs | 61 | /// <param name="blurayExaminer">Instance of the <see cref="IBlurayExaminer"/> interface.</param> | COMMENT |
| LOW | MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs | 41 | /// <summary> | COMMENT |
| LOW | MediaBrowser.Providers/MediaInfo/AudioFileProber.cs | 41 | private readonly IMediaStreamRepository _mediaStreamRepository; | COMMENT |
| LOW | MediaBrowser.Providers/Music/AlbumMetadataService.cs | 21 | /// <summary> | COMMENT |
| LOW | …ders/Plugins/MusicBrainz/MusicBrainzQueryExtensions.cs | 41 | /// <summary> | COMMENT |
| LOW | …ders/Plugins/MusicBrainz/MusicBrainzQueryExtensions.cs | 61 | /// <param name="releaseGroupId">The release group identifier.</param> | COMMENT |
| LOW | …ders/Plugins/MusicBrainz/MusicBrainzQueryExtensions.cs | 81 | /// <returns>The artist, or <see langword="null"/> if MusicBrainz does not have it.</returns> | COMMENT |
| LOW | MediaBrowser.Providers/Plugins/MusicBrainz/Plugin.cs | 61 | public override string Name => "MusicBrainz"; | COMMENT |
| LOW | MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs | 121 | ParseAdditionalMetadata(itemResult, result, isEnglishRequested); | COMMENT |
| LOW | MediaBrowser.Providers/Plugins/Tmdb/TmdbUtils.cs | 21 | /// <summary> | COMMENT |
| LOW | MediaBrowser.Providers/Plugins/Tmdb/TmdbUtils.cs | 81 | COMMENT | |
| LOW | …diaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 601 | return GetUrl(Plugin.Instance.Configuration.StillSize, stillPath); | COMMENT |
| LOW | …diaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 621 | COMMENT | |
| LOW | …diaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 641 | /// Converts still <see cref="ImageData"/>s into <see cref="RemoteImageInfo"/>s. | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 1 | #pragma warning disable CA1819 // Properties should not return arrays | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 21 | public bool IncludeAdult { get; set; } | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 41 | /// Enabling this will increase scan times. | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 61 | /// libraries for which the unaired/missing episode provider is enabled. Whether episodes are | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 81 | public int UpcomingEpisodeGracePeriodDays { get; set; } = 7; | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 101 | public bool HideMissingCrewMembers { get; set; } | COMMENT |
| LOW | …roviders/Plugins/Tmdb/TV/TmdbMissingEpisodeProvider.cs | 481 | /// Determines whether a TMDb episode should be imported as a virtual item, based on its air date | COMMENT |
| LOW | …roviders/Plugins/Tmdb/TV/TmdbMissingEpisodeProvider.cs | 501 | if (isSpecial && !importSpecials) | COMMENT |
| LOW | …gins/ListenBrainz/Configuration/SimilarityAlgorithm.cs | 1 | namespace MediaBrowser.Providers.Plugins.ListenBrainz.Configuration; | COMMENT |
| LOW | MediaBrowser.Providers/Books/IComicProvider.cs | 21 | COMMENT | |
| LOW | …rs/Books/ComicBookInfo/Models/ComicBookInfoMetadata.cs | 61 | /// Gets or sets the number of volumes. | COMMENT |
| LOW | MediaBrowser.Providers/TV/SeriesMetadataService.cs | 21 | COMMENT | |
| LOW | MediaBrowser.Providers/Manager/ItemImageProvider.cs | 261 | COMMENT | |
| LOW | MediaBrowser.Providers/Manager/ImageSaver.cs | 341 | if (!saveLocally || (_config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy)) | COMMENT |
| LOW | MediaBrowser.Providers/Manager/ImageSaver.cs | 361 | private ItemImageInfo GetCurrentImage(BaseItem item, ImageType type, int imageIndex) | COMMENT |
| LOW | MediaBrowser.Providers/Manager/ImageSaver.cs | 381 | COMMENT | |
| LOW | …n.Server.Implementations/Trickplay/TrickplayManager.cs | 41 | private readonly IApplicationPaths _appPaths; | COMMENT |
| LOW | …ver.Implementations/Extensions/ExpressionExtensions.cs | 41 | COMMENT | |
| LOW | …rver.Implementations/FullSystemBackup/BackupService.cs | 601 | COMMENT | |
| LOW | …lementations/Item/BaseItemRepository.TranslateQuery.cs | 101 | if (filter.Is4K.HasValue && filter.Is4K.Value) | COMMENT |
| LOW | Jellyfin.Server.Implementations/Item/BaseItemMapper.cs | 21 | using BaseItemDto = MediaBrowser.Controller.Entities.BaseItem; | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 261 | /// <remarks> | COMMENT |
| LOW | Jellyfin.Server.Implementations/Item/OrderMapper.cs | 21 | public static class OrderMapper | COMMENT |
| LOW | Emby.Naming/Video/ExtraResult.cs | 1 | using MediaBrowser.Model.Entities; | COMMENT |
| LOW | Emby.Naming/Video/CleanDateTimeResult.cs | 21 | /// <summary> | COMMENT |
| LOW | Emby.Naming/Video/ExtraRuleType.cs | 1 | namespace Emby.Naming.Video | COMMENT |
| LOW | Emby.Naming/Video/VideoFileInfo.cs | 1 | using System; | COMMENT |
| LOW | Emby.Naming/Video/VideoFileInfo.cs | 41 | /// Gets or sets the path. | COMMENT |
| LOW | Emby.Naming/Video/VideoFileInfo.cs | 61 | /// <value>The year.</value> | COMMENT |
| LOW | Emby.Naming/Video/VideoFileInfo.cs | 81 | COMMENT | |
| LOW | Emby.Naming/Video/VideoInfo.cs | 21 | AlternateVersions = []; | COMMENT |
| LOW | Emby.Naming/AudioBook/AudioBookInfo.cs | 1 | using System.Collections.Generic; | COMMENT |
| LOW | Emby.Naming/AudioBook/AudioBookInfo.cs | 41 | /// <value>The files.</value> | COMMENT |
| LOW | Emby.Naming/AudioBook/AudioBookFileInfo.cs | 21 | PartNumber = partNumber; | COMMENT |
| LOW | Emby.Naming/TV/EpisodeInfo.cs | 1 | namespace Emby.Naming.TV | COMMENT |
| LOW | Emby.Naming/TV/EpisodeInfo.cs | 21 | public string Path { get; set; } | COMMENT |
| LOW | Emby.Naming/TV/EpisodeInfo.cs | 41 | /// <summary> | COMMENT |
| LOW | Emby.Naming/TV/EpisodeInfo.cs | 61 | /// </summary> | COMMENT |
| LOW | Emby.Naming/TV/SeasonPathParserResult.cs | 1 | namespace Emby.Naming.TV | COMMENT |
| LOW | Emby.Naming/TV/EpisodePathParserResult.cs | 1 | namespace Emby.Naming.TV | COMMENT |
| LOW | Emby.Naming/TV/EpisodePathParserResult.cs | 21 | public int? EndingEpisodeNumber { get; set; } | COMMENT |
| LOW | Emby.Naming/TV/SeriesInfo.cs | 1 | namespace Emby.Naming.TV | COMMENT |
| LOW | Emby.Naming/ExternalFiles/ExternalPathParserResult.cs | 21 | } | COMMENT |
| LOW | Emby.Naming/ExternalFiles/ExternalPathParserResult.cs | 41 | /// <summary> | COMMENT |
| LOW | Emby.Naming/ExternalFiles/ExternalPathParser.cs | 21 | /// Initializes a new instance of the <see cref="ExternalPathParser"/> class. | COMMENT |
| LOW | Emby.Naming/Common/EpisodeExpression.cs | 41 | /// Gets or sets a value indicating whether gets or sets property indicating if date can be find in expression. | COMMENT |
| 1359 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Jellyfin.Api/Controllers/AudioController.cs | 42 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/AudioController.cs | 206 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 114 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 353 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 529 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 696 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 867 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 1037 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 1221 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/VideosController.cs | 266 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/VideosController.cs | 504 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 287 | // Step 1: Find the top N series with recently added content, ordered by most recent addition | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 339 | // Step 3: Analyze each series to identify recent additions within the time window | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 380 | // Step 4: Batch fetch counts - episodes per season and seasons per series | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 402 | // Step 5: Apply the container selection logic for each series. | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 492 | // Step 6: Fetch the Season/Series entities we decided to return | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 501 | // Step 7: Build final results, preferring Season > Series > Episode. | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 55 | // Step 1: Find and remove duplicate database entries (same Path, different IDs) | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 58 | // Step 2: Clear incorrect OwnerId for video/movie items that are children of other video/movie items | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 61 | // Step 3: Reassign orphaned extras to correct parents | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 64 | // Step 4: Populate PrimaryVersionId for alternate version children | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 287 | // Step 1: Find the top N series with recently added content, ordered by most recent addition | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 339 | // Step 3: Analyze each series to identify recent additions within the time window | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 380 | // Step 4: Batch fetch counts - episodes per season and seasons per series | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 402 | // Step 5: Apply the container selection logic for each series. | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 492 | // Step 6: Fetch the Season/Series entities we decided to return | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 501 | // Step 7: Build final results, preferring Season > Series > Episode. | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 55 | // Step 1: Find and remove duplicate database entries (same Path, different IDs) | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 58 | // Step 2: Clear incorrect OwnerId for video/movie items that are children of other video/movie items | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 61 | // Step 3: Reassign orphaned extras to correct parents | COMMENT |
| LOW⚡ | …nes/20260115120000_FixIncorrectOwnerIdRelationships.cs | 64 | // Step 4: Populate PrimaryVersionId for alternate version children | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …fin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs | 138 | authorizationInfo.Token = "fake-token"; | CODE |
| LOW⚡ | tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs | 89 | "Lorem ipsum dolor sit amet: consect 2018_12_06_21_06_00", | CODE |
| LOW⚡ | tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs | 89 | "Lorem ipsum dolor sit amet: consect 2018_12_06_21_06_00", | CODE |
| LOW⚡ | tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs | 92 | Name = "Lorem ipsum dolor sit amet: consect", | CODE |
| LOW⚡ | tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs | 92 | Name = "Lorem ipsum dolor sit amet: consect", | CODE |
| LOW⚡ | tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs | 96 | EpisodeTitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi | CODE |
| LOW⚡ | tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs | 96 | EpisodeTitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs | 51 | requestMessage.Headers.Range = System.Net.Http.Headers.RangeHeaderValue.Parse(rangeString); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ….Server.Implementations/Library/ExternalDataManager.cs | 17 | public class ExternalDataManager : IExternalDataManager | CODE |
| LOW | Emby.Server.Implementations/Library/UserDataManager.cs | 26 | public class UserDataManager : IUserDataManager | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …Server.Implementations/AppBase/BaseApplicationPaths.cs | 118 | + "# This file is a cache directory tag created by Jellyfin.\n" | CODE |