89% disable-any-plugin-updates

Code Review | Disable Any Plugin Updates

WordPress plugin Disable Any Plugin Updates scored89%from 54 tests.

About plugin

  • Plugin page: disable-any-plugi...
  • Plugin version: 8.8.8
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 15, 2020
  • Latest release: Jul 16, 2020
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: easycodesolutions (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /410 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.63ms] Passed 4 tests

Server-side resources used by Disable Any Plugin Updates
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.57 ▼4.43
Dashboard /wp-admin3.32 ▲0.0252.03 ▼0.93
Posts /wp-admin/edit.php3.37 ▲0.0152.42 ▲4.11
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.95 ▼13.00
Media Library /wp-admin/upload.php3.24 ▲0.0137.10 ▲3.85

Server storage [IO: ▲0.03MB] [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: 1 new table, 7 new options
New tables
wp_dapu_plugin_list
New WordPress options
widget_recent-posts
Activated_Plugin
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Disable Any Plugin Updates
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲4014.34 ▼0.221.78 ▲0.0646.55 ▲0.45
Dashboard /wp-admin2,207 ▲335.60 ▼0.0796.01 ▲6.6040.94 ▼2.12
Posts /wp-admin/edit.php2,112 ▲121.99 ▼0.0834.56 ▼5.2534.19 ▼3.16
Add New Post /wp-admin/post-new.php1,538 ▲1023.23 ▲0.24668.88 ▲14.2050.81 ▲3.74
Media Library /wp-admin/upload.php1,415 ▲184.22 ▼0.05102.58 ▲2.2448.12 ▲2.20

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • Activated_Plugin
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
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
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #1, #2 in disable-any-plugin-updates/assets to your readme.txt
  • Contributors: Plugin contributors field is missing
You can take inspiration from this readme.txt

disable-any-plugin-updates/disable-any-plugin-updates.php 92% from 13 tests

"Disable Any Plugin Updates" version 8.8.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin232 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP42423203
CSS11323
JavaScript11176

PHP code Passed 2 tests

This is a very shot review of 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 code0.33
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin