Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.86ms] Passed 4 tests
This is a short check of server-side resources used by Xoo Disable Updates
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.08 ▲0.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.43 ▼1.89 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.54 ▼1.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 98.11 ▼5.28 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.13 ▲1.43 |
Xoo Disable Updates /wp-admin/admin.php?page=xoo_disable_updates | 3.22 | 37.02 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Xoo Disable Updates: 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,818 ▲72 | 13.21 ▼1.35 | 1.64 ▼0.14 | 41.90 ▲2.60 |
Dashboard /wp-admin | 2,227 ▲39 | 5.85 ▲0.90 | 100.11 ▼3.76 | 70.17 ▲25.89 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 1.99 ▼0.02 | 37.59 ▼4.37 | 33.60 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 18.17 ▼5.15 | 703.72 ▲9.05 | 62.05 ▼4.74 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.23 ▲0.03 | 97.31 ▼11.10 | 74.52 ▲27.66 |
Xoo Disable Updates /wp-admin/admin.php?page=xoo_disable_updates | 938 | 1.69 | 24.22 | 31.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=xoo_disable_updates
- > Warning in wp-content/plugins/xoo-disable-update-notifications/xoo-disable-updates.php+46
Invalid argument supplied for foreach()
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Disable update reminders.), #2 (Update reminders are now removed.)
xoo-disable-update-notifications/xoo-disable-updates.php 85% from 13 tests
"Xoo Disable Updates" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("xoo-disable-update-notifications.php" instead of "xoo-disable-updates.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected425 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 48 | 211 |
CSS | 1 | 12 | 3 | 164 |
JavaScript | 1 | 1 | 0 | 50 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/xoocode.favicon.menu.png | 0.43KB | 0.33KB | ▼ 21.87% |