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

Integrate Plato for Static Code Analysis #43

Open
wants to merge 2 commits into
base: f24
Choose a base branch
from

Conversation

minghanm
Copy link

@minghanm minghanm commented Oct 24, 2024

This PR integrates plato, a static code analysis tool, into the project to provide insights into the maintainability and complexity of the codebase.

Installation:

  • Plato was install with npm install -g plato
    Execution:
  • The command plato -r -d report src/posts was successfully executed to generate a static analysis report for the src/posts directory
    Artifacts:
  • The new directory "report" was generated and contains the analysis results in HTML format
  • This report provides maintainability, lines of code, estimated errors in implementation, and lint errors.
  • And for each specific file, it provides detailed analysis of complexity
Screenshot 2024-10-24 at 11 03 14 Screenshot 2024-10-24 at 17 36 22

@minghanm
Copy link
Author

The Lint&Test failure might be caused by the config.json setup which happened before.

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.

1 participant