Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.36ms] Passed 4 tests
An overview of server-side resources used by Contact Form 7 integration - AcyMailing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.91 ▼2.64 |
Dashboard /wp-admin | 3.32 ▼0.03 | 41.75 ▼14.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.38 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.85 ▼18.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.32 ▲1.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form 7 integration - AcyMailing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 14.53 ▲0.16 | 1.88 ▲0.17 | 40.44 ▲0.88 |
Dashboard /wp-admin | 2,198 ▲24 | 5.59 ▲0.01 | 91.69 ▲4.79 | 37.97 ▼3.36 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.00 | 40.53 ▲7.92 | 34.77 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.63 ▼0.11 | 675.12 ▼13.73 | 57.46 ▼1.57 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.18 ▼0.01 | 96.91 ▲3.86 | 41.19 ▼2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_html_class() in wp-content/plugins/acymailing-integration-for-contact-form-7/views/acymsubDisplay.php:1
- > PHP Fatal error
Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-integration-for-contact-form-7/plugin.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function acym_translation() in wp-content/plugins/acymailing-integration-for-contact-form-7/views/acymsubParameters.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-integration-for-contact-form-7/acymailing-contactform7.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: subscription, newsletter form, form, newsletter, acymailing
acymailing-integration-for-contact-form-7/acymailing-contactform7.php 92% from 13 tests
The primary PHP file in "Contact Form 7 integration - AcyMailing" version 2.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acymailing-integration-for-contact-form-7.php" instead of "acymailing-contactform7.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
There were no executable files found in this plugin354 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 51 | 14 | 291 |
JavaScript | 1 | 11 | 1 | 60 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 1 | 11.11% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in 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.32KB | 5.66KB | ▼ 67.29% |