Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼291.51ms] Passed 4 tests
Analyzing server-side resources used by Gravity Forms integration - AcyMailing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 55.13 ▲2.40 |
Dashboard /wp-admin | 3.42 ▲0.01 | 36.44 ▲2.75 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 36.18 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.08 | 90.97 ▼1,169.54 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 28.54 ▲4.23 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Forms integration - AcyMailing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.89 ▲0.14 | 5.85 ▼0.26 | 2.39 ▼0.27 |
Dashboard /wp-admin | 2,895 ▲41 | 6.16 ▼0.05 | 115.36 ▼17.14 | 158.37 ▲2.23 |
Posts /wp-admin/edit.php | 2,691 ▲6 | 3.24 ▲0.01 | 62.93 ▼1.68 | 139.10 ▼7.50 |
Add New Post /wp-admin/post-new.php | 1,711 ▼0 | 20.75 ▲0.11 | 421.29 ▼29.29 | 157.31 ▼0.86 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▲0.02 | 148.85 ▲11.70 | 194.62 ▲10.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 50% 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 0% 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
The following issues need your attention
- 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
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 1
- > 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 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'GF_Field' not found in wp-content/plugins/acymailing-integration-for-gravity-forms/customFieldGF.php:6
- > 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 2
- > 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: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-integration-for-gravity-forms/acymailing-gravityforms.php:13
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/acymailing-integration-for-gravity-forms/views/select_multiple.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: newsletter form, form, subscription, acymailing, newsletter...
acymailing-integration-for-gravity-forms/acymailing-gravityforms.php 92% from 13 tests
The entry point to "Gravity Forms integration - AcyMailing" version 1.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file 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 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin226 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 45 | 226 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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% |