Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▲3.00ms] Passed 4 tests
Analyzing server-side resources used by Saola Animate Helper
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.69 ▲1.42 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.60 ▲4.55 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.71 ▲6.33 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 99.89 ▲14.55 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.93 ▼0.29 |
All Saola Animations /wp-admin/edit.php?post_type=saola-animation | 3.31 | 35.08 |
Add Saola Animation /wp-admin/post-new.php?post_type=saola-animation | 3.30 | 40.58 |
Server storage [IO: ▲5.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_saola_animate_helper |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Saola Animate Helper
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.27 ▼1.11 | 5.73 ▲4.10 | 43.18 ▼1.86 |
Dashboard /wp-admin | 2,236 ▲57 | 4.84 ▼0.09 | 104.95 ▼13.77 | 41.13 ▼6.75 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.04 ▲0.04 | 34.77 ▼5.56 | 32.27 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,565 ▲30 | 18.42 ▼4.63 | 600.16 ▲15.37 | 53.38 ▲10.08 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.18 ▼0.03 | 93.47 ▼10.50 | 41.75 ▼4.28 |
All Saola Animations /wp-admin/edit.php?post_type=saola-animation | 1,085 | 2.00 | 29.63 | 29.30 |
Add Saola Animation /wp-admin/post-new.php?post_type=saola-animation | 1,646 | 2.55 | 47.88 | 76.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_saola_animate_helper
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 2× 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/saola-animate-helper/class/class.widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/saola-animate-helper/saola-animate-helper.php:14
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: saola, animate
saola-animate-helper/saola-animate-helper.php 92% from 13 tests
The principal PHP file in "Saola Animate Helper" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin572 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 87 | 125 | 424 |
PO File | 1 | 57 | 76 | 148 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected