90% auto-update-plugins

Code Review | Auto Update Plugins

WordPress plugin Auto Update Plugins scored90%from 54 tests.

About plugin

  • Plugin page: auto-update-plugins
  • Plugin version: 0.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-4.6
  • WordPress version: 6.3.1
  • First release: Mar 27, 2015
  • Latest release: Aug 17, 2016
  • Number of updates: 31
  • Update frequency: every 16.5 days
  • Top authors: Geenyous (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

1,000+ active /9,584 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Auto Update Plugins
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.04 ▲2.81
Dashboard /wp-admin3.31 ▲0.0146.32 ▼1.07
Posts /wp-admin/edit.php3.36 ▲0.0046.35 ▼2.66
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.59 ▼16.97
Media Library /wp-admin/upload.php3.23 ▲0.0034.61 ▲1.39

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Auto Update Plugins
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2914.39 ▲0.191.73 ▼0.0943.35 ▲1.41
Dashboard /wp-admin2,209 ▲184.85 ▼0.0296.92 ▼5.5838.75 ▼3.50
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0540.52 ▲0.1435.88 ▼2.88
Add New Post /wp-admin/post-new.php1,533 ▼923.20 ▲4.99672.42 ▲56.5053.62 ▼6.94
Media Library /wp-admin/upload.php1,388 ▼34.26 ▲0.0297.50 ▼2.8242.17 ▼3.86

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

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 Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: plugin, automatically, update, automatic, auto

auto-update-plugins/auto-update-plugins.php Passed 13 tests

The main PHP file in "Auto Update Plugins" ver. 0.1.4 adds more information about the plugin and also serves as the entry point for this plugin
45 characters long description:
This plugin turns on auto update for plugins.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin10 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1362210

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
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
No PNG files were detected