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.05MB] [CPU: ▼0.52ms] Passed 4 tests
An overview of server-side resources used by WP Avoid Update
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.05 ▲6.53 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.73 ▲0.43 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 47.64 ▼5.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.54 ▼0.59 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.58 ▲3.24 |
WP Avoid Update /wp-admin/plugins.php?page=wpau_admin_settings | 3.25 | 30.06 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Avoid Update
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.16 ▼0.20 | 1.74 ▲0.07 | 44.19 ▲4.35 |
Dashboard /wp-admin | 2,202 ▲28 | 5.60 ▲0.05 | 90.15 ▲0.85 | 36.92 ▼1.10 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.00 ▲0.02 | 34.50 ▼9.94 | 32.22 ▼4.86 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.64 ▲0.12 | 679.16 ▲47.42 | 56.17 ▼0.42 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▲0.03 | 100.25 ▼7.53 | 45.36 ▲1.73 |
WP Avoid Update /wp-admin/plugins.php?page=wpau_admin_settings | 974 | 2.42 | 46.86 | 35.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/plugins.php?page=wpau_admin_settings
- > Network (severe)
wp-content/plugins/wp-avoid-update//images/sort_both.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/plugins.php?page=wpau_admin_settings
- > Network (severe)
wp-content/plugins/wp-avoid-update//images/sort_asc.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: wp avoid update, remove update link, woocommerce, hide plugin update link, hide update link...
wp-avoid-update/wp-avoid-update.php 85% from 13 tests
The main PHP file in "WP Avoid Update" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
- Domain Path: The domain path folder does not exist ("/i18n/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected471 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 60 | 142 | 251 |
JavaScript | 2 | 4 | 4 | 188 |
CSS | 2 | 5 | 0 | 32 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 3 | 15.00% |
▷ Public methods | 15 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin