99% wp-auto-update-plugins

Code Review | WP Auto Update Plugins

WordPress plugin WP Auto Update Plugins scored 99% from 54 tests.

About plugin

  • Plugin page: wp-auto-update-pl...
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.1
  • WordPress version: 5.8.1
  • First release: Jan 15, 2018
  • Latest release: Dec 8, 2018
  • Number of updates: 8
  • Update frequency: every 41.8 days
  • Top authors: hawpmedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 435 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼139.30ms] Passed 4 tests

This is a short check of server-side resources used by WP Auto Update Plugins
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1248.29 ▲23.16
Dashboard /wp-admin3.07 ▲0.0146.19 ▼2.93
Posts /wp-admin/edit.php3.12 ▲0.0153.66 ▲11.61
Add New Post /wp-admin/post-new.php5.42 ▼0.01100.37 ▼570.81
Media Library /wp-admin/upload.php3.01 ▲0.0039.06 ▲4.95

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for WP Auto Update Plugins
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8316.35 ▲0.407.54 ▼1.0447.14 ▼8.43
Dashboard /wp-admin2,973 ▲425.94 ▼0.13144.46 ▼4.46121.60 ▼3.07
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0066.31 ▼2.08100.05 ▲4.05
Add New Post /wp-admin/post-new.php1,683 ▼018.76 ▲0.26395.35 ▲8.65115.82 ▲2.34
Media Library /wp-admin/upload.php1,810 ▲35.01 ▼0.01154.33 ▼12.86131.40 ▲8.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Everything seems fine, however this is by no means an exhaustive test

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 93% 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 to be fixed:
  • Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
You can take inspiration from this readme.txt

wp-auto-update-plugins/wp-auto-update-plugins.php 92% from 13 tests

The main file in "WP Auto Update Plugins" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin9 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP24119

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods00.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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