Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.15ms] Passed 4 tests
Server-side resources used by Disable Updates for WordPress Core, Plugins and Themes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.07 ▲0.72 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.97 ▼1.07 |
Posts /wp-admin/edit.php | 3.35 ▼0.01 | 43.23 ▼5.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.75 ▼18.45 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.83 ▼3.22 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Disable Updates for WordPress Core, Plugins and Themes: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,756 ▼5 | 14.21 ▼0.05 | 1.83 ▲0.19 | 48.49 ▲2.99 |
Dashboard /wp-admin | 2,148 ▼29 | 5.49 ▼0.16 | 87.38 ▼0.58 | 35.38 ▼4.74 |
Posts /wp-admin/edit.php | 2,060 ▼40 | 2.12 ▲0.09 | 34.41 ▼6.03 | 34.11 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,496 ▼35 | 23.18 ▲0.05 | 626.28 ▲40.96 | 45.00 ▼9.08 |
Media Library /wp-admin/upload.php | 1,356 ▼41 | 4.21 ▲0.03 | 95.98 ▼0.04 | 39.86 ▼2.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/disable-updates/disable-updates.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (WordPress dashboard before activating the plugin.), #2 (After activating the plugin all update notices are disabled.)
disable-updates/disable-updates.php Passed 13 tests
The main PHP file in "Disable Updates for WordPress Core, Plugins and Themes" ver. 1.3.7 adds more information about the plugin and also serves as the entry point for this plugin
78 characters long description:
A simple plugin that prevents updating the WordPress core, plugins and themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin107 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 20 | 54 |
PO File | 1 | 7 | 7 | 39 |
SVG | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 1.12MB with 0.72MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 553.52KB | 153.03KB | ▼ 72.35% |
assets/icon-256x256.png | 9.18KB | 4.08KB | ▼ 55.54% |
assets/icon-128x128.png | 4.85KB | 2.17KB | ▼ 55.28% |
screenshot-1.png | 584.39KB | 164.42KB | ▼ 71.86% |