Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.65ms] Passed 4 tests
A check of server-side resources used by Minutemailer Subscribe
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.01 ▲1.92 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.58 ▼5.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.44 ▼5.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.54 ▼0.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.97 ▼3.01 |
Minutemailer /wp-admin/options-general.php?page=minutemailer_plugin | 3.21 | 29.56 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_minutemailer |
Browser metrics Passed 4 tests
An overview of browser requirements for Minutemailer Subscribe
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲139 | 13.69 ▼0.86 | 5.61 ▲3.64 | 43.66 ▲3.69 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.96 | 101.58 ▲0.21 | 41.76 ▼3.82 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.03 | 33.77 ▼1.69 | 34.38 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 18.50 ▼4.60 | 620.26 ▼62.43 | 50.43 ▼3.29 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.04 | 93.51 ▼9.90 | 42.33 ▼2.76 |
Minutemailer /wp-admin/options-general.php?page=minutemailer_plugin | 798 | 1.98 | 22.67 | 24.62 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_minutemailer
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
minutemailer-subscribe/minutemailer-subscribe.php 92% from 13 tests
The main PHP script in "Minutemailer Subscribe" version 1.2.0 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 276 characters long)
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
Everything looks great! No dangerous files found in this plugin396 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 38 | 244 |
PO File | 2 | 29 | 39 | 109 |
JavaScript | 1 | 7 | 6 | 39 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ 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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 1.29KB | 0.67KB | ▼ 48.26% |
assets/icon-256x256.png | 2.34KB | 1.25KB | ▼ 46.70% |