Benchmarks
Plugin footprint 65% 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.12MB] [CPU: ▼4.32ms] Passed 4 tests
An overview of server-side resources used by Update Notification
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 40.17 ▼10.80 |
Dashboard /wp-admin | 3.42 ▲0.12 | 44.20 ▼5.12 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 47.13 ▼2.05 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 107.15 ▲16.86 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 35.71 ▲0.70 |
更新通知設定 /wp-admin/options-general.php?page=update-notification/inx-update-notification.php | 3.31 | 32.55 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_inx_notification |
New WordPress options |
---|
db_upgraded |
inx_notification_version |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Update Notification
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.34 ▼0.96 | 1.98 ▲0.20 | 41.53 ▼6.99 |
Dashboard /wp-admin | 2,210 ▲25 | 4.79 ▼1.08 | 108.55 ▲6.12 | 49.98 ▲8.16 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.07 | 39.65 ▲1.17 | 40.79 ▲6.48 |
Add New Post /wp-admin/post-new.php | 1,545 ▲16 | 18.31 ▼0.24 | 602.71 ▼7.45 | 51.93 ▼11.10 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.25 ▲0.03 | 96.60 ▼1.91 | 46.27 ▲4.47 |
更新通知設定 /wp-admin/options-general.php?page=update-notification/inx-update-notification.php | 1,099 | 2.04 | 23.79 | 89.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_inx_notification
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- inx_notification_version
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
8 plugin tags: notification, update, guilded, google, slack...
update-notification/inx-update-notification.php 77% from 13 tests
The main PHP script in "Update Notification" version 1.2.3 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("update-notification.php" instead of "inx-update-notification.php")
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
Success! There were no dangerous files found in this plugin916 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 113 | 60 | 916 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 75.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 15.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin