Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▲284.59ms] 75% from 4 tests
Server-side resources used by Acumbamail
The following require your attention
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 284.59ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.22 ▼4.13 |
Dashboard /wp-admin | 3.47 ▲0.17 | 432.30 ▲384.17 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 425.89 ▲380.66 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 487.98 ▲399.65 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 412.63 ▲377.65 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_acumbamail |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Acumbamail: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.55 ▲0.19 | 1.91 ▲0.16 | 46.00 ▼2.98 |
Dashboard /wp-admin | 2,213 ▲36 | 5.57 ▼0.10 | 89.03 ▼2.17 | 82.25 ▲39.13 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.93 ▼0.07 | 33.87 ▼6.59 | 31.33 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 18.09 ▼4.85 | 707.47 ▲95.83 | 75.02 ▲31.19 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.15 ▼0.02 | 110.59 ▲12.96 | 65.99 ▲23.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_acumbamail
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/acumbamail-signup-forms/acumbamail_widget.php
- > /wp-content/plugins/acumbamail-signup-forms/acumbamail.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/acumbamail-signup-forms/inc/frontend.php:62
- > PHP Notice
Undefined variable: double_optin in wp-content/plugins/acumbamail-signup-forms/inc/frontend.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/acumbamail-signup-forms/inc/admin_page.php:5
- > PHP Notice
Undefined variable: welcome_email in wp-content/plugins/acumbamail-signup-forms/inc/frontend.php on line 38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== acumbamail-signup-forms ===
)
acumbamail-signup-forms/acumbamail.php 92% from 13 tests
Analyzing the main PHP file in "Acumbamail" version 2.0.15
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("acumbamail-signup-forms.php" instead of "acumbamail.php")
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
No dangerous file extensions were detected812 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 135 | 182 | 698 |
PO File | 1 | 42 | 45 | 114 |
PHP code Passed 2 tests
An short overview of 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.21 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 0.40KB | 0.29KB | ▼ 27.59% |