84% wp-pluginsthemes-auto-update

Code Review | WP Plugins&Themes Auto Update

WordPress plugin WP Plugins&Themes Auto Update scored84%from 54 tests.

About plugin

  • Plugin page: wp-pluginsthemes-...
  • Plugin version: 0.2.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.1
  • WordPress version: 6.3.1
  • First release: Jan 3, 2015
  • Latest release: Nov 5, 2022
  • Number of updates: 44
  • Update frequency: every 65.1 days
  • Top authors: davide.airaghi (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

600+ active /8,323 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.03MB] [CPU: ▼9.74ms] Passed 4 tests

Analyzing server-side resources used by WP Plugins&Themes Auto Update
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0241.62 ▲1.55
Dashboard /wp-admin3.33 ▲0.0350.21 ▼1.09
Posts /wp-admin/edit.php3.38 ▲0.0348.10 ▼13.52
Add New Post /wp-admin/post-new.php5.91 ▲0.0384.61 ▼20.27
Media Library /wp-admin/upload.php3.26 ▲0.0338.03 ▼4.07
Plugins/Themes Auto Update /wp-admin/options-general.php?page=wp-pluginsthemes-auto-update-page3.2232.94

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options
wpptau_plugins_auto_update
theysaidso_admin_options
widget_recent-comments
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
wpptau_themes_auto_update

Browser metrics Passed 4 tests

A check of browser resources used by WP Plugins&Themes Auto Update
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5814.83 ▲0.442.02 ▲0.0645.44 ▼0.95
Dashboard /wp-admin2,207 ▲195.83 ▼0.0598.68 ▼7.8940.23 ▲0.59
Posts /wp-admin/edit.php2,093 ▲42.06 ▲0.0634.18 ▼4.9436.60 ▼3.11
Add New Post /wp-admin/post-new.php1,517 ▼2517.38 ▼0.66690.42 ▲30.6759.33 ▲1.18
Media Library /wp-admin/upload.php1,389 ▲14.20 ▼0.0797.29 ▼18.4345.74 ▼5.12
Plugins/Themes Auto Update /wp-admin/options-general.php?page=wp-pluginsthemes-auto-update-page8312.0325.4330.67

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • wpptau_themes_auto_update
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • wpptau_plugins_auto_update

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/wp-pluginsthemes-auto-update/wp-pluginsthemes-auto-update.php

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

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: auto update, theme, plugin

wp-pluginsthemes-auto-update/wp-pluginsthemes-auto-update.php Passed 13 tests

The main PHP file in "WP Plugins&Themes Auto Update" ver. 0.2.5 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Plugin to enable auto update for themes and plugins

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin141 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP21511141

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.55
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%
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 images were found in this plugin