Skip to content

Add tests for live chat functionality in YouTube extractors

2430540
Select commit
Loading
Failed to load commit list.
Draft

Feature/live chat comments #1481

Add tests for live chat functionality in YouTube extractors
2430540
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 28, 2026 in 50s

Annotations

Check failure on line 229 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "continuation" 6 times.

See more on https://sonarcloud.io/project/issues?id=TeamNewPipe_NewPipeExtractor&issues=AZ29-Ffp7cCKCwTge_69&open=AZ29-Ffp7cCKCwTge_69&pullRequest=1481

Check failure on line 79 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeLiveChatInfoItemExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=TeamNewPipe_NewPipeExtractor&issues=AZ29-Ff77cCKCwTge_7E&open=AZ29-Ff77cCKCwTge_7E&pullRequest=1481

Check failure on line 440 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "addChatItemAction" 3 times.

See more on https://sonarcloud.io/project/issues?id=TeamNewPipe_NewPipeExtractor&issues=AZ29-Ffp7cCKCwTge_68&open=AZ29-Ffp7cCKCwTge_68&pullRequest=1481

Check failure on line 426 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=TeamNewPipe_NewPipeExtractor&issues=AZ29-Ffp7cCKCwTge_6-&open=AZ29-Ffp7cCKCwTge_6-&pullRequest=1481