Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.31MB] [CPU: ▼289.95ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Animation Plugin - Animated Everything
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.17 ▲3.66 | 76.71 ▲23.07 |
Dashboard /wp-admin | 7.19 ▲3.79 | 53.48 ▲17.04 |
Posts /wp-admin/edit.php | 7.19 ▲3.55 | 38.52 ▼1.10 |
Add New Post /wp-admin/post-new.php | 9.21 ▲2.24 | 93.44 ▼1,186.54 |
Media Library /wp-admin/upload.php | 7.19 ▲3.90 | 36.44 ▲10.82 |
Freemius Debug [v.2.0.1] /wp-admin/admin.php?page=freemius | 7.19 | 46.00 |
Server storage [IO: ▲3.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 218 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_accounts |
galoover_ae_loading_page_options |
fs_api_cache |
fs_active_plugins |
fs_debug_mode |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Animation Plugin - Animated Everything
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,999 ▲277 | 16.36 ▲0.72 | 12.55 ▲6.36 | 6.38 ▲4.11 |
Dashboard /wp-admin | 2,941 ▲88 | 6.17 ▼0.00 | 122.44 ▼2.43 | 175.44 ▲14.33 |
Posts /wp-admin/edit.php | 2,722 ▲31 | 3.38 ▲0.02 | 105.06 ▲39.51 | 173.23 ▲28.72 |
Add New Post /wp-admin/post-new.php | 1,799 ▲138 | 22.80 ▲0.42 | 453.97 ▲24.05 | 201.31 ▼7.12 |
Media Library /wp-admin/upload.php | 1,747 ▲46 | 5.52 ▲0.06 | 147.06 ▲0.81 | 214.02 ▲6.55 |
Freemius Debug [v.2.0.1] /wp-admin/admin.php?page=freemius | 1,460 | 2.66 | 55.97 | 132.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 5 options in the database
- fs_accounts
- fs_debug_mode
- fs_active_plugins
- fs_api_cache
- galoover_ae_loading_page_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=freemius
- > Warning in wp-content/plugins/animate-everything/admin/admin-assets.php+27
Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP)
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/animate-everything/freemius/templates/ajax-loader.php
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/animate-everything/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/animate-everything/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/animate-everything/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/animate-everything/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animate-everything/admin/admin-view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animate-everything/admin/admin-assets.php:23
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/animate-everything/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animate-everything/function.php:2
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/animate-everything/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/animate-everything/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
animate-everything/animated.php 92% from 13 tests
This is the main PHP file of "WordPress Animation Plugin - Animated Everything" version 1.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("animate-everything.php" instead of "animated.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin37,728 lines of code in 168 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 102 | 5,803 | 13,452 | 26,412 |
PO File | 7 | 3,422 | 3,858 | 7,476 |
Sass | 23 | 377 | 77 | 2,357 |
CSS | 17 | 195 | 77 | 1,053 |
JavaScript | 12 | 34 | 67 | 206 |
Markdown | 1 | 61 | 0 | 192 |
JSON | 1 | 0 | 0 | 27 |
SVG | 5 | 0 | 0 | 5 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,092)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 69.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,092.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 2 | 4.65% |
▷ Concrete classes | 41 | 95.35% |
▷ Final classes | 0 | 0.00% |
Methods | 973 | |
▷ Static methods | 150 | 15.42% |
▷ Public methods | 682 | 70.09% |
▷ Protected methods | 15 | 1.54% |
▷ Private methods | 276 | 28.37% |
Functions | 123 | |
▷ Named functions | 123 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 109 | |
▷ Global constants | 89 | 81.65% |
▷ Class constants | 20 | 18.35% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon1.png | 4.12KB | 1.61KB | ▼ 60.94% |
assets/img/icon2.png | 4.12KB | 1.61KB | ▼ 60.99% |
freemius/assets/img/animated-anything.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/img/hover-1.png | 10.44KB | 4.54KB | ▼ 56.56% |