Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼146.95ms] Passed 4 tests
This is a short check of server-side resources used by Article Status Email Notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 32.38 ▼3.82 |
Dashboard /wp-admin | 3.09 ▲0.03 | 44.22 ▼1.02 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 44.04 ▲1.89 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 82.42 ▼575.90 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.76 ▼7.05 |
Article Status Email Notifications /wp-admin/options-general.php?page=article-status-email-notifications-settings | 3.00 | 29.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Article Status Email Notifications
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲112 | 16.28 ▲0.73 | 11.64 ▲2.11 | 52.34 ▲5.57 |
Dashboard /wp-admin | 2,975 ▲41 | 5.84 ▼0.14 | 136.75 ▼23.46 | 103.27 ▼18.00 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 61.92 ▼5.09 | 92.59 ▲7.03 |
Add New Post /wp-admin/post-new.php | 1,503 ▼1 | 18.41 ▼0.11 | 353.15 ▼9.45 | 103.05 ▼5.18 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.01 ▼0.03 | 146.70 ▼30.60 | 119.24 ▼11.63 |
Article Status Email Notifications /wp-admin/options-general.php?page=article-status-email-notifications-settings | 1,045 | 2.09 | 52.72 | 68.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/article-status-email-notifications/article-status-email-notifications.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: notifications, submit for review, email notification, pending notification, pending submissions
article-status-email-notifications/article-status-email-notifications.php 92% from 13 tests
This is the main PHP file of "Article Status Email Notifications" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected105 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 17 | 105 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin