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

[Feature] VCL analayzer/optimizer #314

Open
1 task done
ysugimoto opened this issue May 22, 2024 · 0 comments
Open
1 task done

[Feature] VCL analayzer/optimizer #314

ysugimoto opened this issue May 22, 2024 · 0 comments
Assignees
Labels
feature request The issue could be reproduced

Comments

@ysugimoto
Copy link
Owner

Kind of proposals

You can turn on multiple checkboxes.

  • [] Parser
  • [] Linter
  • [] Simulator
  • [] Testing
  • etc

Describe the feature

Some projects in the real world have huge steps of VCL and then it makes developers hard to maintain.
To improve and help them, we want to provide a feature that VCL code analyzer/optimizer to be useful for refactoring their VCLs.

I'm thinking provide some indexes so far:

  • Cyclomatic Complexity
  • Code Duplication
  • Lines of Code
  • Unit test Coverage (probably this should be done in unit testing)

It should be the same like lizard - python code complexity analyzer, and should be run as:

falco analyze [vcl file]

Needs to consider how output should be (CLI table, JSON, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request The issue could be reproduced
Projects
None yet
Development

No branches or pull requests

1 participant