Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▲0.10ms] Passed 4 tests
An overview of server-side resources used by Auto AnimateImage
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.33 ▲3.18 |
Dashboard /wp-admin | 3.46 ▲0.16 | 47.46 ▲1.86 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 54.12 ▲3.02 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 87.72 ▼7.66 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.85 ▲5.77 |
Auto AnimateImage /wp-admin/options-general.php?page=auto-animateimage | 3.33 | 31.24 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Auto AnimateImage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲97 | 13.21 ▼1.10 | 2.37 ▼0.14 | 39.96 ▼9.06 |
Dashboard /wp-admin | 2,213 ▲24 | 4.85 ▼1.08 | 104.24 ▼14.74 | 39.43 ▼6.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.06 | 40.56 ▲2.61 | 34.24 ▼5.14 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.30 ▲5.70 | 670.31 ▼13.12 | 55.61 ▼10.51 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.22 ▲0.01 | 97.21 ▼4.22 | 40.41 ▼4.75 |
Auto AnimateImage /wp-admin/options-general.php?page=auto-animateimage | 2,017 | 2.49 | 58.34 | 64.52 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=auto-animateimage
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=auto-animateimage
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-animateimage/animateimage.php:271
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Auto AnimateImage Settings screen) image required
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
auto-animateimage/animateimage.php 77% from 13 tests
The main PHP file in "Auto AnimateImage" ver. 0.6 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("auto-animateimage.php" instead of "animateimage.php")
- Description: Keep the plugin description shorter than 140 characters (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin793 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 71 | 58 | 552 |
PO File | 1 | 53 | 59 | 122 |
CSS | 1 | 8 | 7 | 61 |
JavaScript | 2 | 5 | 7 | 58 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 104.06KB | 28.72KB | ▼ 72.40% |
images/donate.png | 2.37KB | 1.65KB | ▼ 30.33% |
images/wp.png | 3.58KB | 2.55KB | ▼ 28.70% |
images/contact.png | 1.26KB | 0.82KB | ▼ 34.98% |
images/star.png | 1.60KB | 1.53KB | ▼ 4.15% |