Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.15ms] Passed 4 tests
Analyzing server-side resources used by E2U AJAX Subscribe Newsletter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 42.68 ▼2.00 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.53 ▲5.52 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 53.92 ▲5.51 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 95.60 ▲0.54 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.42 ▲4.54 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_e2u_subscribe_field_design |
wp_e2u_subscribe_newsletter_list |
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
A check of browser resources used by E2U AJAX Subscribe Newsletter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲155 | 13.74 ▼0.63 | 5.38 ▲3.05 | 38.31 ▼5.79 |
Dashboard /wp-admin | 2,224 ▲33 | 4.89 ▲0.02 | 111.04 ▼3.88 | 41.86 ▼5.37 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.03 ▲0.03 | 40.74 ▲0.73 | 34.65 ▼2.99 |
Add New Post /wp-admin/post-new.php | 1,542 ▲5 | 18.22 ▼4.90 | 632.04 ▼20.34 | 54.35 ▼5.09 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.24 ▲0.00 | 100.07 ▼2.58 | 43.89 ▼0.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Zombie tables detected upon uninstall: 2 tables
- wp_e2u_subscribe_newsletter_list
- wp_e2u_subscribe_field_design
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% 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 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 fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/e2u-ajax-subscribe-newsletter/index.php
- > /wp-content/plugins/e2u-ajax-subscribe-newsletter/subscribe.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3 in e2u-ajax-subscribe-newsletter/assets to your readme.txt
- Requires php: Invalid plugin version format
e2u-ajax-subscribe-newsletter/subscribe.php 69% from 13 tests
Analyzing the main PHP file in "E2U AJAX Subscribe Newsletter" version 1.0.0
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 250 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("e2u-ajax-subscribe-newsletter.php" instead of "subscribe.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("/subscribe_newsletter")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin341 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 22 | 202 |
CSS | 2 | 1 | 0 | 136 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin