84% forced-auto-updates

Code Review | Forced Auto Updates

WordPress plugin Forced Auto Updates scored 84% from 54 tests.

About plugin

  • Plugin page: forced-auto-updates
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.0-4.9.2
  • WordPress version: 6.3.1
  • First release: Jan 30, 2018
  • Latest release: Jan 30, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: lelandf (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 528 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Forced Auto Updates
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0135.93 ▼8.80
Dashboard /wp-admin3.31 ▲0.0047.99 ▲1.26
Posts /wp-admin/edit.php3.36 ▲0.0045.25 ▼7.23
Add New Post /wp-admin/post-new.php5.89 ▲0.0097.52 ▲5.19
Media Library /wp-admin/upload.php3.23 ▲0.0037.62 ▲4.40

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Forced Auto Updates
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.76 ▼0.051.70 ▼0.6241.27 ▼8.42
Dashboard /wp-admin2,209 ▲215.80 ▼0.2497.37 ▼11.0636.43 ▼3.98
Posts /wp-admin/edit.php2,089 ▼32.02 ▲0.0440.93 ▼3.6036.14 ▼2.50
Add New Post /wp-admin/post-new.php1,533 ▼017.77 ▼5.50661.89 ▲42.5946.53 ▼1.87
Media Library /wp-admin/upload.php1,382 ▼94.26 ▼0.0099.37 ▼2.5841.73 ▼0.48

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forced-auto-updates/forced-auto-updates.php:13

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • License uri: Invalid URI found ("")
The official readme.txt might help

forced-auto-updates/forced-auto-updates.php Passed 13 tests

"Forced Auto Updates" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
93 characters long description:
Make sure WordPress core automatically updates security releases happen even with VCS present

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11102

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin