Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼264.16ms] Passed 4 tests
This is a short check of server-side resources used by Just Animate - For Classic Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 28.12 ▲6.05 |
Dashboard /wp-admin | 3.06 ▲0.01 | 37.14 ▼5.22 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 44.19 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.66 ▼1,046.04 |
Media Library /wp-admin/upload.php | 3.00 ▼0.00 | 29.54 ▼7.41 |
Server storage [IO: ▲3.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Just Animate - For Classic Editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲180 | 16.18 ▲0.61 | 11.53 ▲3.04 | 48.65 ▼0.45 |
Dashboard /wp-admin | 2,951 ▲98 | 6.09 ▲0.21 | 135.67 ▲5.14 | 110.54 ▲7.13 |
Posts /wp-admin/edit.php | 2,705 ▼1 | 2.71 ▲0.01 | 61.98 ▼9.38 | 97.11 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,857 ▼0 | 18.97 ▼0.14 | 370.88 ▼2.91 | 109.46 ▲1.01 |
Media Library /wp-admin/upload.php | 1,774 ▲2 | 5.02 ▼0.01 | 138.49 ▼4.69 | 104.36 ▼25.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/just-animate/just-animate.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
just-animate/just-animate.php Passed 13 tests
Analyzing the main PHP file in "Just Animate - For Classic Editor" version 1.0
137 characters long description:
Just Animate is a WordPress plugin for Animate blocks and text in your posts or pages, and easily create beautiful posts with animations.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected301 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 13 | 2 | 153 |
CSS | 3 | 21 | 17 | 84 |
PHP | 1 | 10 | 18 | 63 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 1 test
Image compression 0% from 1 test
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 3.22MB with 1.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 16.81KB | 7.11KB | ▼ 57.70% |
assets/icon-128x128.png | 9.40KB | 3.77KB | ▼ 59.92% |
assets/screenshot-3.png | 1,230.48KB | 482.10KB | ▼ 60.82% |
images/icon.png | 44.69KB | 17.23KB | ▼ 61.43% |
assets/icon.png | 72.49KB | 32.80KB | ▼ 54.75% |