89% disable-wp-theme-updates-advance

Code Review | Disable WP Theme Updates Advance

WordPress plugin Disable WP Theme Updates Advance scored89%from 54 tests.

About plugin

  • Plugin page: disable-wp-theme-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.7.2
  • WordPress version: 6.3.1
  • First release: Jun 15, 2016
  • Latest release: Jul 9, 2021
  • Number of updates: 9
  • Update frequency: every 205.7 days
  • Top authors: gr8nilay (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /11,559 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▲341.18ms] 75% from 4 tests

Server-side resources used by Disable WP Theme Updates Advance
The following require your attention
  • Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 341.18ms on /wp-admin/upload.php)
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.73 ▲0.09
Dashboard /wp-admin3.42 ▲0.11506.12 ▲450.72
Posts /wp-admin/edit.php3.47 ▲0.11508.00 ▲454.84
Add New Post /wp-admin/post-new.php5.94 ▲0.05562.58 ▲459.08
Media Library /wp-admin/upload.php3.28 ▲0.05502.75 ▲464.52

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
DWTUA_activated_on
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Disable WP Theme Updates Advance
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,778 ▲1714.69 ▲0.041.69 ▼0.0840.76 ▼2.35
Dashboard /wp-admin2,192 ▲155.68 ▲0.0789.49 ▼0.3140.59 ▲1.02
Posts /wp-admin/edit.php2,100 ▼32.01 ▼0.0438.78 ▲0.3935.37 ▼0.86
Add New Post /wp-admin/post-new.php1,528 ▲223.13 ▲0.38656.75 ▼5.0059.73 ▲6.18
Media Library /wp-admin/upload.php1,397 ▼34.19 ▼0.04102.51 ▼16.4545.04 ▼2.61

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% 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
Attributes that need to be fixed:
  • Plugin Name: You should set the name of your plugin on the first line ( === disable-wp-theme-updates-advance === )
You can look at the official readme.txt

disable-wp-theme-updates-advance/disable-wp-theme-updates-advance.php Passed 13 tests

The main PHP file in "Disable WP Theme Updates Advance" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
This plugin disable your all WordPress theme updates on activation

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin24 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3133324

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin