Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.01ms] Passed 4 tests
Analyzing server-side resources used by WWD Mailer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.05 ▼11.38 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.71 ▼6.07 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.01 ▼0.83 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.79 ▼1.75 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.66 ▲4.77 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WWD Mailer: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲145 | 13.65 ▼0.49 | 4.96 ▲2.90 | 40.34 ▼4.93 |
Dashboard /wp-admin | 2,222 ▲40 | 5.86 ▼0.04 | 95.97 ▼7.03 | 81.60 ▲33.17 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.03 ▼0.02 | 35.90 ▼6.88 | 33.23 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 23.28 ▲5.71 | 609.86 ▼52.70 | 64.01 ▲10.51 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.20 ▼0.01 | 99.08 ▼2.74 | 82.87 ▲40.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wwd-mailer/public/partials/wwd-mailer-public-display.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wwd-mailer/admin/partials/wwd-mailer-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wwd-mailer/admin/partials/wwd-mailer-admin-side-bar.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== wwd-mailer ===
)
wwd-mailer/wwd-mailer.php 92% from 13 tests
Analyzing the main PHP file in "WWD Mailer" version 1.0.0
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,395 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 170 | 4 | 947 |
PHP | 14 | 223 | 642 | 386 |
JavaScript | 2 | 30 | 27 | 62 |
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.14 |
Average class complexity | 3.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.17MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon-big.png | 2.28KB | 2.20KB | ▼ 3.72% |
admin/img/icon-large.png | 1.62KB | 1.40KB | ▼ 13.85% |
assets/banner-772x250.png | 15.64KB | 5.43KB | ▼ 65.27% |
admin/img/icon.png | 1.45KB | 0.83KB | ▼ 43.25% |
assets/screenshot-1.png | 148.53KB | 60.48KB | ▼ 59.29% |