Skip to content

removing the line that was causing the issue #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Conversation

rangeetpan
Copy link
Collaborator

@rangeetpan rangeetpan commented Feb 20, 2025

We hit maximum recursion depth because of a spurious recursive call in __raw_call_graph_using_symbol_table()

How Has This Been Tested?

The following test case should now run—

class_name = 'org.apache.commons.codec.language.bm.Rule'
signature = 'parseRules(Scanner, String)'
analysis = CLDK(language="java").analysis(
 project_path='commons-codec',
 analysis_backend="codeanalyzer",
 analysis_backend_path=None,
 analysis_level=AnalysisLevel.call_graph,
 analysis_json_path='./'
)
callee_info = analysis.get_class_call_graph(class_name, signature, True)
self.assertIsNotNone(callee_info)

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the Codellm-Devkit Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

N/A

@rangeetpan rangeetpan requested a review from rahlk February 20, 2025 17:22
@rahlk rahlk merged commit 77618eb into main Feb 20, 2025
@rahlk rahlk deleted the issue-109-recursion-error branch February 20, 2025 19:50
@rahlk rahlk added the fix Bug fixes label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants