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

Integrated Plato - static analysis tool #48

Merged
merged 4 commits into from
Oct 23, 2023
Merged

Conversation

Malika1109
Copy link
Contributor

@Malika1109 Malika1109 commented Oct 19, 2023

I installed the plato module using: npm install -g plato.
Then I ran the command plato -r -d report src, which generated an output directory report, analyzing the code in the src directory:
This is a screenshot of the report directory created in the project folder:

Screenshot 2023-10-21 at 6 50 54 AM

This is a screenshot of the display.html file generated by the tool:

Screenshot 2023-10-21 at 6 52 29 AM

This is a screenshot of the index.html file generated by the tool:

Screenshot 2023-10-21 at 6 52 56 AM

I have also pushed the report directory to GitHub, and you can see the directory in the latest commit.
All the checks are passing when I run npm run test after installing and running plato.
But when I run npm run lint, I get an error. This is because, the size and number of files in the report directory is too large.
Once I remove the report directory from my repository, npm run lint passes without any issue. For the purpose of showing evidence that the plato tool was downloaded and run successfully, I am keeping it in the directory even though its size causes npm run lint to fail.

This reverts commit 395019b.

reverting back to solve winston logger issues
@Malika1109 Malika1109 changed the title Plato analysis tool Integrated Plato - static analysis tool Oct 21, 2023
Copy link
Contributor

@ssaloos ssaloos left a comment

Choose a reason for hiding this comment

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

The integration looks good, the checks are passing, and yaml file has the necessary changes!

@ssaloos ssaloos merged commit e5e8bc3 into main Oct 23, 2023
16 checks passed
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.

2 participants