Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.96ms] Passed 4 tests
A check of server-side resources used by Gravity Forms integration - AcyMailing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 33.76 ▼5.86 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.62 ▼4.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.78 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.72 ▼4.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.89 ▲5.40 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Gravity Forms integration - AcyMailing: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.35 ▼0.00 | 1.65 ▼0.28 | 40.03 ▼4.38 |
Dashboard /wp-admin | 2,195 ▲18 | 5.57 ▼0.07 | 83.74 ▼22.96 | 38.09 ▼6.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.04 | 33.40 ▼3.41 | 34.32 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.54 ▼0.05 | 659.37 ▼8.43 | 59.36 ▲4.59 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.18 ▼0.02 | 91.12 ▼26.50 | 43.57 ▼1.26 |
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 detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php
- 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 5
- > PHP Notice
Undefined variable: data in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 2
- > PHP Notice
Undefined variable: data in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 5
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-integration-for-gravity-forms/acymailing-gravityforms.php:13
- > PHP Fatal error
Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-integration-for-gravity-forms/plugin.php:6
- > PHP Fatal error
Uncaught Error: Class 'GF_Field' not found in wp-content/plugins/acymailing-integration-for-gravity-forms/customFieldGF.php:6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: newsletter form, subscription, newsletter, form, gravity forms...
acymailing-integration-for-gravity-forms/acymailing-gravityforms.php 92% from 13 tests
Analyzing the main PHP file in "Gravity Forms integration - AcyMailing" version 2.5
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acymailing-integration-for-gravity-forms.php" instead of "acymailing-gravityforms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin229 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 45 | 229 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 3 | |
▷ Named functions | 3 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner.png | 17.79KB | 4.76KB | ▼ 73.25% |