Skip to content
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

Go Call Graph #206

Merged
merged 21 commits into from
Apr 4, 2024
Merged

Go Call Graph #206

merged 21 commits into from
Apr 4, 2024

Conversation

emilwareus
Copy link
Contributor

No description provided.

@emilwareus emilwareus marked this pull request as draft March 1, 2024 16:16
@emilwareus emilwareus self-assigned this Mar 11, 2024
@emilwareus emilwareus marked this pull request as ready for review March 11, 2024 15:26
@emilwareus emilwareus requested a review from ProgHaj March 11, 2024 15:26
Copy link
Collaborator

@filip-debricked filip-debricked left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks great, really nice refactoring as well! Some small naming things I think we should fix before merge but great work!

internal/callgraph/finder/golangfinder/finder.go Outdated Show resolved Hide resolved
internal/callgraph/language/golang/stategy.go Outdated Show resolved Hide resolved
internal/callgraph/model/model.go Outdated Show resolved Hide resolved
internal/callgraph/model/model.go Outdated Show resolved Hide resolved
internal/callgraph/language/golang/callgraph.go Outdated Show resolved Hide resolved
@filip-debricked filip-debricked force-pushed the additional-cg branch 2 times, most recently from a8cd5c1 to 4d6a800 Compare April 4, 2024 13:17
Copy link

github-actions bot commented Apr 4, 2024

CodeScene PR Check

Code Health Quality Gates: OK

  • Declining Code Health: 10 findings(s) 🚩
  • Improving Code Health: 5 findings(s) ✅

View detailed results in CodeScene

🚩 Declining Code Health (highest to lowest):

  • Code Duplication job_test.go
  • Complex Method finder.go: FindFiles
  • Complex Conditional finder.go: FindFiles
  • Complex Method finder.go: FindFiles
  • Complex Conditional callgraph.go: mainPackages
  • Excess Number of Function Arguments callgraph.go: NewCallgraphBuilder
  • Excess Number of Function Arguments job.go: NewJob
  • Excess Number of Function Arguments strategy.go: NewStrategy
  • Excess Number of Function Arguments model.go: AddNode
  • Bumpy Road Ahead callgraph.go: setLineStartEnd

✅ Improving Code Health:

  • Excess Number of Function Arguments strategy.go: NewStrategy
  • Complex Method finder.go: FindFiles
  • Excess Number of Function Arguments strategy_factory.go: Make
  • Excess Number of Function Arguments strategy_mock_factory.go: Make
  • Excess Number of Function Arguments strategy_mock_factory.go: Make

@filip-debricked filip-debricked self-requested a review April 4, 2024 13:23
@sweoggy sweoggy merged commit 1c93113 into main Apr 4, 2024
19 checks passed
@sweoggy sweoggy deleted the additional-cg branch April 4, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants