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

initial setup #238

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from
Draft

Conversation

lucamrgs
Copy link
Collaborator

No description provided.

@lucamrgs lucamrgs linked an issue Oct 23, 2024 that may be closed by this pull request
Copy link

Sigrid maintainability feedback

⚠️ Your code did not improve towards your Sigrid objective of 4.0 stars

Sigrid compared your code against the baseline of 2024-10-14.

👍 What went well?

You fixed or improved 0 refactoring candidates.

👎 What could be better?

Unfortunately, 6 refactoring candidates were introduced or got worse.

Risk System property Location
🟠 Unit Size
(Worsened)
internal/executors/action/action.go
Executor.ExecuteActionStep(metadata execution.Metadata, command cacao.Command, authentication cacao.AuthenticationInformation, target cacao.AgentTarget, variables cacao.Variables, agent cacao.AgentTarget)
🟠 Unit Interfacing
(Worsened)
internal/executors/action/action.go
Executor.ExecuteActionStep(metadata execution.Metadata, command cacao.Command, authentication cacao.AuthenticationInformation, target cacao.AgentTarget, variables cacao.Variables, agent cacao.AgentTarget)
🟡 Unit Complexity
(Introduced)
internal/executors/action/action.go
Executor.ExecuteActionStep(metadata execution.Metadata, command cacao.Command, authentication cacao.AuthenticationInformation, target cacao.AgentTarget, variables cacao.Variables, agent cacao.AgentTarget)
🟡 Unit Interfacing
(Introduced)
internal/reporter/downstream_reporter/catalyst/catalyst_reporter.go
CatalystReporter.ReportWorkflowEnd(executionId uuid.UUID, playbook cacao.Playbook, err error)
🟡 Unit Interfacing
(Introduced)
internal/reporter/downstream_reporter/catalyst/catalyst_reporter.go
CatalystReporter.ReportStepEnd(executionId uuid.UUID, step cacao.Step, stepResults cacao.Variables, err error)
🟡 Unit Interfacing
(Introduced)
internal/reporter/downstream_reporter/catalyst/catalyst_reporter.go
CatalystReporter.ReportStepStart(executionId uuid.UUID, step cacao.Step, stepResults cacao.Variables)

📚 Remaining technical debt

2 refactoring candidates didn't get better or worse, but are still present in the code you touched.

Risk System property Location
🟠 Unit Size
(Unchanged)
internal/executors/action/action.go
Executor.Execute(meta execution.Metadata, metadata PlaybookStepMetadata)
🟡 Unit Complexity
(Unchanged)
internal/executors/action/action.go
Executor.Execute(meta execution.Metadata, metadata PlaybookStepMetadata)

Sigrid ratings

System property System on 2024-10-14 Before changes New/changed code
Volume 5.5 N/A N/A
Duplication 4.3 5.5 5.5
Unit Size 2.4 1.1 1.4
Unit Complexity 2.5 1.9 1.2
Unit Interfacing 2.3 0.5 0.5
Module Coupling 3.7 N/A 5.5
Component Independence 5.4 N/A N/A
Component Entanglement 2.4 N/A N/A
Maintainability 3.6 2.4 3.0

View this system in Sigrid


Did you find this feedback helpful?

We would like to know your thoughts to make Sigrid better.
Your username will remain confidential throughout the process.

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.

Catalyst connector
1 participant