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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.75ms] Passed 4 tests
Analyzing server-side resources used by URL Emailer - Send emails by URL parameters
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 41.32 ▼0.78 |
Dashboard /wp-admin | 3.40 ▲0.10 | 55.53 ▲4.16 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.24 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 90.74 ▼19.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.82 ▲2.81 |
URL Emailer /wp-admin/options-general.php?page=url-emailer-settings-page | 3.30 | 36.03 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
URL Emailer - Send emails by URL parameters: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.22 ▼0.91 | 1.72 ▼0.59 | 44.65 ▲0.93 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▲0.01 | 109.65 ▼10.05 | 42.49 ▼2.52 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.02 | 41.08 ▲2.91 | 35.46 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.23 ▼0.07 | 650.57 ▲3.61 | 53.66 ▼10.50 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.22 ▼0.01 | 100.48 ▼3.63 | 44.12 ▲0.11 |
URL Emailer /wp-admin/options-general.php?page=url-emailer-settings-page | 946 | 2.02 | 26.76 | 43.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: A description for screenshot #2 is required in url-emailer/assets to your readme.txt
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
url-emailer/url-emailer.php 85% from 13 tests
The main PHP file in "URL Emailer - Send emails by URL parameters" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin445 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 54 | 19 | 243 |
PO File | 1 | 29 | 34 | 109 |
CSS | 3 | 3 | 3 | 93 |
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.30 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.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
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/five-stars.png | 12.07KB | 7.87KB | ▼ 34.81% |
public/images/cross.png | 2.05KB | 1.66KB | ▼ 19.31% |
public/images/tick.png | 1.48KB | 1.32KB | ▼ 10.63% |