Skip to content

Remove debug logging from live chat flow

9443929
Select commit
Loading
Failed to load commit list.
Open

Feature/live chat comments #1481

Remove debug logging from live chat flow
9443929
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 24, 2026 in 54s

Annotations

Check warning on line 54 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeBulletCommentsInfoItemExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check failure on line 442 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

Check warning on line 8 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/WatchDataCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make shouldBeLive a static final constant or non-public and provide accessors if needed.

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

Check warning on line 34 in extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

Check warning on line 6 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/WatchDataCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make streamType a static final constant or non-public and provide accessors if needed.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this call to "replaceAll()" by a call to the "replace()" method.

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

Check warning on line 139 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeBulletCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 1 in extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

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

Check warning on line 89 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make watchDataCache a static final constant or non-public and provide accessors if needed.

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

Check warning on line 249 in extractor/src/main/java/org/schabi/newpipe/extractor/StreamingService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "linkHandler".

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

Check warning on line 12 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/WatchDataCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make lastStartAt a static final constant or non-public and provide accessors if needed.

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

Check warning on line 1 in extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

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

Check warning on line 7 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/WatchDataCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make startAt a static final constant or non-public and provide accessors if needed.

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

Check failure on line 230 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" 7 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 456 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 warning on line 1 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeBulletCommentsLinkHandlerFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

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

Check warning on line 1 in extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsInfoItem.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

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

Check warning on line 9 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/WatchDataCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make currentUrl a static final constant or non-public and provide accessors if needed.

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

Check warning on line 1 in extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsInfoItemsCollector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=TeamNewPipe_NewPipeExtractor&issues=AZ29-Fha7cCKCwTge_7V&open=AZ29-Fha7cCKCwTge_7V&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 warning on line 16 in extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsExtractor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change the visibility of this constructor to "protected".

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 14 in extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/WatchDataCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make lastCurrentUrl a static final constant or non-public and provide accessors if needed.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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