Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.04ms] Passed 4 tests
Server-side resources used by Disable Automatic Updates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.43 ▼0.72 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.09 ▼14.68 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.29 ▼0.62 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 101.13 ▲0.49 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.69 ▼8.14 |
Disable Auto Updates /wp-admin/tools.php?page=disable-auto-updates | 3.27 | 33.50 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable Automatic Updates
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.56 ▼0.74 | 4.96 ▲3.09 | 43.38 ▼2.48 |
Dashboard /wp-admin | 2,220 ▲14 | 5.81 ▲0.94 | 99.67 ▼7.02 | 39.68 ▼5.01 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▲0.03 | 39.95 ▲2.49 | 35.85 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.96 ▲5.52 | 621.75 ▼91.42 | 60.68 ▲2.27 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.29 ▲0.10 | 101.52 ▼5.77 | 43.67 ▼0.45 |
Disable Auto Updates /wp-admin/tools.php?page=disable-auto-updates | 846 | 2.01 | 22.61 | 61.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/disable-auto-updates/uninstall.php+13
unlink(wp-content/uploads/disable-auto-updates): Is a directory
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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 | 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/disable-auto-updates/view/view.php
- > /wp-content/plugins/disable-auto-updates/disable-auto-updates.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: disable auto update, disable plugin update, disable update, disable theme updates, disable wordpress update...
disable-auto-updates/disable-auto-updates.php Passed 13 tests
The main PHP script in "Disable Automatic Updates" version 1.3 is automatically included on every request by WordPress
66 characters long description:
A simple plugin to disable plugin, theme or core automatic updates
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
Good job! No executable or dangerous file extensions detected447 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 76 | 22 | 245 |
JavaScript | 2 | 12 | 0 | 81 |
CSS | 2 | 0 | 1 | 61 |
LESS | 1 | 11 | 0 | 60 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin