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.10MB] [CPU: ▼6.07ms] Passed 4 tests
This is a short check of server-side resources used by Post Status Notifications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 40.24 ▼4.65 |
Dashboard /wp-admin | 3.41 ▲0.10 | 51.29 ▼5.36 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.05 ▼4.76 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.55 ▼9.51 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.76 ▲3.78 |
Post Status Notifications /wp-admin/options-general.php?page=wpsite-post-status-notification-admin-settings | 3.38 | 35.74 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Post Status Notifications
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.68 ▼0.69 | 1.64 ▼0.46 | 42.16 ▼3.94 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▲0.91 | 99.85 ▼10.75 | 40.98 ▼5.83 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.04 | 37.09 ▲3.14 | 34.31 ▼4.61 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.46 ▲0.12 | 638.50 ▲4.64 | 50.33 ▼13.90 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.05 | 96.12 ▼11.54 | 43.95 ▼1.06 |
Post Status Notifications /wp-admin/options-general.php?page=wpsite-post-status-notification-admin-settings | 1,541 | 2.46 | 44.01 | 80.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wpsite-post-status-notifications/admin/footer.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-post-status-notifications/admin/sidebar.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-post-status-notifications/admin/header.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-post-status-notifications/admin/header.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=wpsite-post-status-notification-admin-settings
- > Network (severe)
http://feeds.feedburner.com/99robots?format=sigpro - Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE.NotSameSite
- > GET request to /wp-admin/options-general.php?page=wpsite-post-status-notification-admin-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).tabs is not a function" "TypeError: $(...).tabs is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=wpsite-post-status-notification-admin-settings:471:15)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wpsite-post-status-notification-admin-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).tabs is not a function
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% 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
Attributes that require attention:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please describe screenshot #2 in wpsite-post-status-notifications/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
wpsite-post-status-notifications/wpsite-post-status-notification.php 85% from 13 tests
The entry point to "Post Status Notifications" version 3.2.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wpsite-post-status-notifications.php" instead of "wpsite-post-status-notification.php")
- Description: Keep the plugin description shorter than 140 characters (currently 184 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,062 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 190 | 194 | 642 |
CSS | 3 | 81 | 18 | 403 |
Markdown | 1 | 10 | 0 | 15 |
JavaScript | 1 | 1 | 9 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.89 |
Average class complexity | 104.00 |
▷ Minimum class complexity | 104.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 7.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.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 | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.58MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/rainbow-strip-hz-wide.png | 3.24KB | 0.57KB | ▼ 82.36% |
img/mask.png | 1.97KB | 4.18KB | 0.00% |
img/marker.png | 0.64KB | 0.71KB | 0.00% |
img/post-published-contributor.png | 166.46KB | 53.24KB | ▼ 68.02% |
img/ad-custom-development.png | 48.82KB | 18.46KB | ▼ 62.20% |