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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.40ms] Passed 4 tests
A check of server-side resources used by Zedna pending post indicator and notifier
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.45 ▲2.38 |
Dashboard /wp-admin | 3.36 ▲0.01 | 54.06 ▼9.39 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 56.69 ▲3.86 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 104.70 ▲6.34 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.24 ▲4.75 |
Pending post indicator and notifier /wp-admin/options-general.php?page=status_notifier | 3.25 | 38.53 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
notificationemails |
widget_recent-comments |
declinednotification |
db_upgraded |
widget_recent-posts |
approvednotification |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Zedna pending post indicator and notifier: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.19 ▼0.08 | 1.66 ▼0.23 | 46.83 ▲4.91 |
Dashboard /wp-admin | 2,211 ▲37 | 5.64 ▲0.05 | 84.68 ▼8.28 | 36.09 ▼4.72 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.98 ▼0.05 | 34.63 ▼4.78 | 37.29 ▲5.33 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.64 ▲0.51 | 715.44 ▲50.90 | 74.70 ▲25.43 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.18 ▼0.01 | 95.54 ▼26.01 | 41.79 ▼8.81 |
Pending post indicator and notifier /wp-admin/options-general.php?page=status_notifier | 875 | 1.97 | 24.79 | 34.60 |
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 were found after uninstall: 9 options
- widget_recent-posts
- declinednotification
- widget_theysaidso_widget
- notificationemails
- approvednotification
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: pending, status, notification, approval, notify...
zedna-pending-post-indicator-and-notifier/zedna-pending-post-inidicator-and-notifier.php 77% from 13 tests
"Zedna pending post indicator and notifier" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 177 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("zedna-pending-post-indicator-and-notifier.php" instead of "zedna-pending-post-inidicator-and-notifier.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
Success! There were no dangerous files found in this plugin217 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 24 | 131 |
PO File | 1 | 26 | 28 | 86 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected