Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.36ms] Passed 4 tests
This is a short check of server-side resources used by Pending Submission Notifications
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.41 ▼2.35 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.46 ▼17.95 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.24 ▼6.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.87 ▲1.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.03 ▲2.91 |
Pending Submission Notifications /wp-admin/options-general.php?page=pending-submissions-notifications-settings | 3.22 | 34.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Pending Submission Notifications
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.21 | 1.77 ▲0.21 | 44.25 ▲0.69 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.06 | 87.32 ▼12.32 | 43.20 ▼2.58 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▼0.02 | 39.03 ▲1.88 | 33.47 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.07 ▼0.05 | 652.27 ▼30.34 | 61.84 ▼1.55 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.18 ▲0.03 | 96.32 ▼7.33 | 41.94 ▼5.49 |
Pending Submission Notifications /wp-admin/options-general.php?page=pending-submissions-notifications-settings | 799 | 2.00 | 24.55 | 27.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: pending submissions, submit for review, pending notification, email notification, notifications
pending-submission-notifications/pending-submission-notifications.php Passed 13 tests
The primary PHP file in "Pending Submission Notifications" version 1.2 is used by WordPress to initiate all plugin functionality
101 characters long description:
Send email notifications to the admin whenever a new article is submitted for review by a contributor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin68 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 35 | 68 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 8 | |
▷ Named functions | 8 | 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
There were not PNG files found in your plugin