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

Installing static analysis tool Plato #65

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

Conversation

zanzoonh
Copy link

@zanzoonh zanzoonh commented Oct 27, 2024

I installed Plato, a static analysis tool that helps analyse the complexity of code.
To install it, i simply ran 'npm install plato'. The following are screenshots of when I installed the tool.
Screenshot 2024-10-27 at 11 15 00 PM
Screenshot 2024-10-27 at 10 47 48 PM

I then ran the tool by typing 'plato -r -d report src', which created a folder called report that had the complexity analysis of each file in src.

I then edited the .eslintignore file to ignore the report folder created by the tool to streamline testing.

So all files changed:

  • .eslintignore
  • node_modules/nodebb-plugin-composer-default/static/lib/composer.js

Copy link

@AlAnoud2003 AlAnoud2003 left a comment

Choose a reason for hiding this comment

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

The installation looks great!

Copy link

@Hakaabi Hakaabi left a comment

Choose a reason for hiding this comment

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

The installation looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants