LeakScope: Android Lifecycle & Memory Leak Violations
About this report: This issue was automatically generated by LeakScope, a static analysis tool for Android lifecycle violations and memory leaks built on the Soot framework. This is part of an ongoing academic research study targeting ICSE 2027. No immediate action is required — we would greatly appreciate your feedback on whether these findings are accurate.
Summary
LeakScope detected 9 potential issue(s) across 2 detector type(s):
| Severity |
Count |
| 🔴 High |
0 |
| 🟡 Medium |
1 |
| 🟢 Low (improvement opportunity) |
8 |
| Detector |
Count |
Severity |
Description |
ServiceResourceManagementIssueDetector |
1 |
🟡 Medium |
Service may never stop — missing stopSelf() call |
ViewBindingOpportunity |
8 |
🟢 Low |
Manual findViewById() calls — ViewBinding migration opportunity |
Detailed Findings
🟡 ServiceResourceManagementIssueDetector
Service may never stop — missing stopSelf() call
Finding #1 — CustomTabs
⚠� Service may never stop. Consider calling stopSelf() when work is complete.
Class: com.trianguloy.urlchecker.services.CustomTabs
Method: onStartCommand
🟢 ViewBindingOpportunity
Manual findViewById() calls — ViewBinding migration opportunity
Finding #2 — MainDialog
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.dialogs.MainDialog
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in initializeModule
• findViewById in initializeModule
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #3 — BackupActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.BackupActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #4 — AutomationActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.AutomationActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #5 — ModulesActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.ModulesActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in initModule
• findViewById in initModule
• findViewById in initModule
• findViewById in initModule
• findViewById in initModule
• findViewById in initModule
• findViewById in initModule
• findViewById in toggleAllDecorations
• findViewById in updateMovableButtons
• findViewById in updateMovableButtons
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #6 — JsonEditorActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.JsonEditorActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #7 — TutorialActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.TutorialActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in configureBrowserButtons
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #8 — AboutActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.AboutActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
Finding #9 — SettingsActivity
View Binding Migration Opportunity
Class: com.trianguloy.urlchecker.activities.SettingsActivity
Type: Activity
Current Pattern: Manual view lookup
findViewById() Calls:
• findViewById in configureBrowserButtons
• findViewById in configureLocale
• findViewById in configureTheme
• findViewById in configureTheme
• findViewById in configureTheme
• findViewById in onCreate
• findViewById in onCreate
• findViewById in onCreate
Benefits of View Binding:
- Eliminates boilerplate findViewById() calls
- Compile-time type safety for view references
- Reduced null pointer exceptions
- Cleaner, more maintainable code
Note: This is a code modernization suggestion, not a memory leak
How to respond to this issue:
- If a finding is a true positive: consider applying the recommended fix and closing this issue.
- If a finding is a false positive: please leave a comment explaining why — your feedback directly improves our research.
- If you have questions: reply here or open a discussion.
This report was generated by LeakScope as part of the ICSE 2027 research artifact. Tool analyzes compiled APKs using Soot static analysis on URLCheck.
LeakScope: Android Lifecycle & Memory Leak Violations
Summary
LeakScope detected 9 potential issue(s) across 2 detector type(s):
ServiceResourceManagementIssueDetectorViewBindingOpportunityDetailed Findings
🟡
ServiceResourceManagementIssueDetectorService may never stop — missing stopSelf() call
Finding #1 —
CustomTabs🟢
ViewBindingOpportunityManual findViewById() calls — ViewBinding migration opportunity
Finding #2 —
MainDialogFinding #3 —
BackupActivityFinding #4 —
AutomationActivityFinding #5 —
ModulesActivityFinding #6 —
JsonEditorActivityFinding #7 —
TutorialActivityFinding #8 —
AboutActivityFinding #9 —
SettingsActivityHow to respond to this issue:
This report was generated by LeakScope as part of the ICSE 2027 research artifact. Tool analyzes compiled APKs using Soot static analysis on URLCheck.