Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/email-suscripcion/emailing-lista.php+231
Methods with the same name as their class will not be constructors in a future version of PHP; pagination_mailing has a deprecated constructor
Server metrics [RAM: ▼1.73MB] [CPU: ▼183.56ms] Passed 4 tests
Analyzing server-side resources used by Emailing Subscription
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.90 ▼0.82 | 6.36 ▼18.26 |
Dashboard /wp-admin | 1.92 ▼1.14 | 6.27 ▼37.88 |
Posts /wp-admin/edit.php | 1.92 ▼1.19 | 6.92 ▼32.39 |
Add New Post /wp-admin/post-new.php | 1.92 ▼3.51 | 5.80 ▼641.80 |
Media Library /wp-admin/upload.php | 1.92 ▼1.08 | 5.81 ▼22.15 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_emailinglist |
New WordPress options |
---|
emailing_db_version |
widget_mailing_list14_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Emailing Subscription
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲127 | 15.78 ▲0.22 | 7.81 ▼2.00 | 46.16 ▼9.65 |
Dashboard /wp-admin | 3,012 ▲78 | 6.16 ▲0.19 | 145.74 ▼3.27 | 110.98 ▼7.73 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.70 ▲0.01 | 67.80 ▼4.04 | 93.19 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,685 ▲187 | 18.90 ▲0.09 | 388.10 ▲26.29 | 109.42 ▼3.12 |
Media Library /wp-admin/upload.php | 1,827 ▲76 | 5.10 ▲0.10 | 184.93 ▲32.36 | 147.67 ▲23.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/email-suscripcion/emailing-lista.php+231
Methods with the same name as their class will not be constructors in a future version of PHP; pagination_mailing has a deprecated constructor
- Zombie tables were found after uninstall: 1 table
- wp_emailinglist
- Zombie WordPress options were found after uninstall: 2 options
- emailing_db_version
- widget_mailing_list14_widget
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/email-suscripcion/emailing-lista.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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: users, mail, subscription, e-mailing, emailing...
email-suscripcion/emailing-lista.php 85% from 13 tests
This is the main PHP file of "Emailing Subscription" version 1.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("email-suscripcion.php" instead of "emailing-lista.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected459 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 93 | 77 | 404 |
PO File | 1 | 18 | 42 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
There were not PNG files found in your plugin