Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.79ms] Passed 4 tests
An overview of server-side resources used by Go Animate
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.26 ▼0.67 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.11 ▼6.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.29 ▼2.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.45 ▼5.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.40 ▲3.07 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_da_ga_settings |
wp_da_ga_effects |
wp_da_goanimate |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
jal_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Go Animate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 13.76 ▼0.62 | 12.46 ▲10.42 | 35.56 ▼8.49 |
Dashboard /wp-admin | 2,226 ▲41 | 4.98 ▼0.91 | 95.93 ▼16.93 | 75.53 ▲28.64 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.03 ▲0.03 | 35.12 ▼0.73 | 33.01 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,535 ▲18 | 23.06 ▲5.45 | 744.21 ▲91.74 | 51.62 ▼7.83 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.24 ▼0.06 | 108.67 ▲10.02 | 76.95 ▲33.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Zombie tables detected upon uninstall: 3 tables
- wp_da_ga_effects
- wp_da_goanimate
- wp_da_ga_settings
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- jal_db_version
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
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 fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/goanimate/main.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/goanimate/goanimate.php:4
- > 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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: css animate, elements animator, html animate, css3 animation, animations...
goanimate/main.php 92% from 13 tests
The primary PHP file in "Go Animate" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("goanimate.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin647 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 89 | 17 | 334 |
CSS | 2 | 49 | 17 | 291 |
JavaScript | 1 | 12 | 1 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 6 | |
▷ Named functions | 6 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
q2.png | 0.79KB | 0.80KB | 0.00% |
icon.png | 1.88KB | 1.07KB | ▼ 43.18% |
screenshot-1.png | 73.94KB | 23.35KB | ▼ 68.42% |