Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲5.32MB] [CPU: ▲23.47ms] 75% from 4 tests
This is a short check of server-side resources used by AnimateGL Animations for WordPress - Elementor & Gutenberg Blocks Animations
Please fix the following
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.32MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.16 ▲5.70 | 65.43 ▲23.37 |
Dashboard /wp-admin | 9.18 ▲5.87 | 72.13 ▲17.65 |
Posts /wp-admin/edit.php | 9.18 ▲5.82 | 81.96 ▲36.68 |
Add New Post /wp-admin/post-new.php | 9.77 ▲3.89 | 130.40 ▲26.65 |
Media Library /wp-admin/upload.php | 9.18 ▲5.95 | 65.11 ▲26.21 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.18 | 58.99 |
Server storage [IO: ▲3.94MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 202 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
fs_accounts |
fs_debug_mode |
fs_active_plugins |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
AnimateGL Animations for WordPress - Elementor & Gutenberg Blocks Animations: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲76 | 14.13 ▼0.25 | 68.39 ▲66.61 | 28.16 ▼14.25 |
Dashboard /wp-admin | 2,231 ▲51 | 5.61 ▼0.11 | 92.75 ▼2.50 | 45.51 ▲4.69 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.01 ▼0.00 | 41.84 ▲3.50 | 36.49 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,561 ▲16 | 23.79 ▲0.65 | 650.12 ▲11.93 | 56.53 ▼11.03 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.17 ▼0.06 | 100.73 ▼11.13 | 44.32 ▼1.96 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,085 | 1.84 | 24.15 | 27.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/animategl/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- fs_active_plugins
- fs_debug_mode
- db_upgraded
- theysaidso_admin_options
- fs_accounts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/animategl/includes/agl_admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/animategl/includes/agl_addons.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #7 in animategl/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
animategl/animate-gl.php 92% from 13 tests
The main PHP script in "AnimateGL Animations for WordPress - Elementor & Gutenberg Blocks Animations" version 1.4.23 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("animategl.php" instead of "animate-gl.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin34,411 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 8,080 | 17,229 | 33,467 |
JavaScript | 11 | 133 | 84 | 531 |
Markdown | 1 | 68 | 0 | 214 |
CSS | 16 | 37 | 3 | 188 |
SVG | 1 | 0 | 0 | 11 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 89.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 2 | 4.00% |
▷ Concrete classes | 48 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,273 | |
▷ Static methods | 199 | 15.63% |
▷ Public methods | 882 | 69.29% |
▷ Protected methods | 19 | 1.49% |
▷ Private methods | 372 | 29.22% |
Functions | 102 | |
▷ Named functions | 99 | 97.06% |
▷ Anonymous functions | 3 | 2.94% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.16MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) freemius/assets/img/plugin-icon.png | 16.63KB | 0.00KB | ▼ 100.00% |
(invalid) freemius/assets/img/theme-icon.png | 20.19KB | 0.00KB | ▼ 100.00% |
img/logo.png | 64.87KB | 14.31KB | ▼ 77.94% |
img/logo_small.png | 59.28KB | 12.84KB | ▼ 78.33% |