Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▼0.35ms] Passed 4 tests
Server-side resources used by Official Easymailing
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 47.56 ▲5.50 |
Dashboard /wp-admin | 3.82 ▲0.52 | 49.32 ▼0.28 |
Posts /wp-admin/edit.php | 3.93 ▲0.58 | 53.66 ▲5.16 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 87.30 ▼11.78 |
Media Library /wp-admin/upload.php | 3.74 ▲0.52 | 43.73 ▲11.30 |
Configuración /wp-admin/admin.php?page=easymailing_configuration | 3.75 | 39.26 |
Formularios Popup /wp-admin/admin.php?page=easymailing_forms_popup | 3.75 | 34.56 |
Formularios /wp-admin/admin.php?page=easymailing_forms | 3.75 | 32.26 |
Formularios Incrustado /wp-admin/admin.php?page=easymailing_forms_embedded | 3.75 | 35.01 |
Server storage [IO: ▲1.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 210 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Official Easymailing: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲160 | 13.57 ▼0.79 | 1.80 ▲0.02 | 42.63 ▼5.87 |
Dashboard /wp-admin | 2,299 ▲120 | 5.28 ▲0.22 | 126.22 ▲11.20 | 42.30 ▼5.51 |
Posts /wp-admin/edit.php | 2,189 ▲97 | 2.38 ▲0.37 | 39.47 ▲1.26 | 33.86 ▼0.95 |
Add New Post /wp-admin/post-new.php | 6,444 ▲4,910 | 31.00 ▲7.68 | 969.01 ▲311.55 | 40.33 ▼18.04 |
Media Library /wp-admin/upload.php | 1,484 ▲96 | 4.55 ▲0.37 | 110.64 ▲9.60 | 47.97 ▲4.31 |
Configuración /wp-admin/admin.php?page=easymailing_configuration | 810 | 1.50 | 9.79 | 25.30 |
Formularios Popup /wp-admin/admin.php?page=easymailing_forms_popup | 810 | 1.50 | 10.48 | 20.80 |
Formularios /wp-admin/admin.php?page=easymailing_forms | 810 | 1.68 | 8.21 | 21.13 |
Formularios Incrustado /wp-admin/admin.php?page=easymailing_forms_embedded | 810 | 1.50 | 8.84 | 15.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/official-easymailing/easymailing-official.php
- 127× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/official-easymailing/templates/Admin/Form/index.php:2
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php:26
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Easymailing\\App\\Core\\Provider\\ProviderInterface' not found in wp-content/plugins/official-easymailing/src/Core/Provider/EnqueueProvider.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/official-easymailing/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% 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
6 plugin tags: easymailing, suscribe, webform, newsletter, form...
official-easymailing/easymailing-official.php 85% from 13 tests
"Official Easymailing" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 ("official-easymailing.php" instead of "easymailing-official.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin5,596 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 184 | 1,282 | 1,451 | 4,818 |
PO File | 3 | 159 | 198 | 462 |
JSON | 6 | 0 | 0 | 312 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 3.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 155 | |
▷ Abstract classes | 1 | 0.65% |
▷ Concrete classes | 154 | 99.35% |
▷ Final classes | 2 | 1.30% |
Methods | 322 | |
▷ Static methods | 30 | 9.32% |
▷ Public methods | 271 | 84.16% |
▷ Protected methods | 32 | 9.94% |
▷ Private methods | 19 | 5.90% |
Functions | 25 | |
▷ Named functions | 5 | 20.00% |
▷ Anonymous functions | 20 | 80.00% |
Constants | 19 | |
▷ Global constants | 1 | 5.26% |
▷ Class constants | 18 | 94.74% |
▷ Public constants | 15 | 83.33% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/build/plugin/img/embedded.png | 9.88KB | 2.49KB | ▼ 74.84% |
assets/build/plugin/img/popup.png | 9.88KB | 2.50KB | ▼ 74.64% |