Skip to content

IDE-109: Implement collapseable scripts and composite bricks#5196

Draft
harshsomankar123-tech wants to merge 2 commits into
Catrobat:developfrom
harshsomankar123-tech:feature/IDE-109-collapseable-scripts
Draft

IDE-109: Implement collapseable scripts and composite bricks#5196
harshsomankar123-tech wants to merge 2 commits into
Catrobat:developfrom
harshsomankar123-tech:feature/IDE-109-collapseable-scripts

IDE-109: Implement collapseable scripts and composite bricks

103fa2a
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / detekt succeeded Apr 15, 2026 in 6s

6 new alerts

New alerts in code changed by this pull request

  • 6 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 35 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/BrickAdapter.kt

See this annotation in the file changed.

Code scanning / detekt

Detects unused imports Warning

Unused import

Check warning on line 35 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/BrickAdapter.kt

See this annotation in the file changed.

Code scanning / detekt

Unused Imports are dead code and should be removed. Warning

The import 'android.widget.LinearLayout' is unused.

Check warning on line 132 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/BrickAdapter.kt

See this annotation in the file changed.

Code scanning / detekt

Excessive nesting leads to hidden complexity. Prefer extracting code to make it easier to understand. Warning

Function filterCollapsedCompositeBricks is nested too deeply.

Check warning on line 253 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/BrickAdapter.kt

See this annotation in the file changed.

Code scanning / detekt

Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning

This expression contains a magic number. Consider defining it to a well named constant.

Check warning on line 254 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/BrickAdapter.kt

See this annotation in the file changed.

Code scanning / detekt

Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning

This expression contains a magic number. Consider defining it to a well named constant.

Check warning on line 490 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/BrickAdapter.kt

See this annotation in the file changed.

Code scanning / detekt

Private function is unused and should be removed. Warning

Private function handleCheckBoxModeCollapseExpand is unused.