The Free Software Media System - Server Backend & API
This report presents the forensic synthetic code analysis of jellyfin/jellyfin, a C# project with 54,257 GitHub stars. SynthScan v2.0 examined 370,371 lines of code across 2400 source files, recording 1431 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 4.0 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 1431 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/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 | MediaBrowser.Providers/Plugins/MusicBrainz/Plugin.cs | 61 | public override string Name => "MusicBrainz"; | COMMENT |
| LOW | MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs | 121 | /// <summary>Gets data about an episode.</summary> | COMMENT |
| LOW | …diaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 581 | return GetUrl(Plugin.Instance.Configuration.PosterSize, posterPath); | COMMENT |
| LOW | …diaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 601 | => ConvertToRemoteImageInfo(images, Plugin.Instance.Configuration.PosterSize, ImageType.Primary, requestLang | COMMENT |
| LOW | …diaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 621 | /// <summary> | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 21 | /// <summary> | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 41 | /// <summary> | COMMENT |
| LOW | …ders/Plugins/Tmdb/Configuration/PluginConfiguration.cs | 61 | /// <summary> | 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/MetadataService.cs | 601 | return updateType; | 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 | …rver.Implementations/FullSystemBackup/BackupService.cs | 581 | /// <summary> | COMMENT |
| LOW | Jellyfin.Server.Implementations/Item/BaseItemMapper.cs | 21 | using BaseItemDto = MediaBrowser.Controller.Entities.BaseItem; | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 181 | .ToArray()!; | COMMENT |
| LOW | …yfin.Server.Implementations/Item/BaseItemRepository.cs | 81 | return BaseItemMapper.Map(entity, dto, appHost); | 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 |
| LOW | Emby.Naming/Common/MediaType.cs | 1 | namespace Emby.Naming.Common | COMMENT |
| LOW | Emby.Naming/Common/NamingOptions.cs | 781 | } | COMMENT |
| LOW | Emby.Naming/Common/NamingOptions.cs | 801 | public string[] MediaForcedFlags { get; set; } | COMMENT |
| LOW | Emby.Naming/Common/NamingOptions.cs | 821 | public string[] ArtistSubfolders { get; set; } | COMMENT |
| LOW | Emby.Naming/Common/NamingOptions.cs | 841 | public string[] VideoFileExtensions { get; set; } | COMMENT |
| LOW | Emby.Naming/Common/NamingOptions.cs | 861 | public StubTypeRule[] StubTypes { get; set; } | COMMENT |
| LOW | Emby.Naming/Common/NamingOptions.cs | 881 | public string[] CleanDateTimes { get; set; } | COMMENT |
| LOW | Emby.Naming/Book/BookFileNameParserResult.cs | 21 | /// Gets or sets the name of the book. | COMMENT |
| LOW | MediaBrowser.Model/Dto/DisplayPreferencesDto.cs | 21 | } | COMMENT |
| LOW | MediaBrowser.Model/Dto/DisplayPreferencesDto.cs | 41 | /// <summary> | COMMENT |
| LOW | MediaBrowser.Model/Dto/DisplayPreferencesDto.cs | 61 | /// </summary> | COMMENT |
| LOW | MediaBrowser.Model/Dto/DisplayPreferencesDto.cs | 81 | public bool ShowBackdrop { get; set; } | COMMENT |
| 1329 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 | 115 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 354 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 530 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 697 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 868 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 1038 | /// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param> | COMMENT |
| MEDIUM | Jellyfin.Api/Controllers/DynamicHlsController.cs | 1222 | /// <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 | 213 | // Step 1: Find the top N series with recently added content, ordered by most recent addition | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 265 | // Step 3: Analyze each series to identify recent additions within the time window | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 306 | // Step 4: Batch fetch counts - episodes per season and seasons per series | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 328 | // Step 5: Apply the container selection logic for each series. | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 384 | // Step 6: Fetch the Season/Series entities we decided to return | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 393 | // 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 | 213 | // Step 1: Find the top N series with recently added content, ordered by most recent addition | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 265 | // Step 3: Analyze each series to identify recent additions within the time window | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 306 | // Step 4: Batch fetch counts - episodes per season and seasons per series | COMMENT |
| LOW | …er.Implementations/Item/BaseItemRepository.Querying.cs | 328 | // Step 5: Apply the container selection logic for each series. | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 384 | // Step 6: Fetch the Season/Series entities we decided to return | COMMENT |
| LOW⚡ | …er.Implementations/Item/BaseItemRepository.Querying.cs | 393 | // 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 |