90% plu-redux

Code Review | PLU Redux

WordPress plugin PLU Redux scored 90% from 54 tests.

About plugin

  • Plugin page: plu-redux
  • Plugin version: 2.2.3
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.3
  • WordPress version: 6.3.1
  • First release: Jun 18, 2023
  • Latest release: Jul 26, 2023
  • Number of updates: 6
  • Update frequency: every 6.8 days
  • Top authors: boogah (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 127 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by PLU Redux
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.79 ▲0.70
Dashboard /wp-admin3.31 ▲0.0144.40 ▼8.28
Posts /wp-admin/edit.php3.36 ▲0.0047.22 ▼0.26
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.62 ▼14.14
Media Library /wp-admin/upload.php3.23 ▲0.0038.39 ▲8.16

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by PLU Redux
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.24 ▼1.121.89 ▼0.1144.50 ▼1.25
Dashboard /wp-admin2,203 ▲295.79 ▼0.0799.48 ▼9.3738.84 ▼15.14
Posts /wp-admin/edit.php2,089 ▼02.03 ▲0.0336.39 ▼2.1034.11 ▼4.79
Add New Post /wp-admin/post-new.php1,514 ▼517.76 ▼5.63675.02 ▲31.1454.56 ▲3.21
Media Library /wp-admin/upload.php1,391 ▲34.31 ▲0.0197.31 ▼2.2541.58 ▼1.63

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: plugins, site health, security

plu-redux/plu-redux.php Passed 13 tests

The main file in "PLU Redux" v. 2.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
76 characters long description:
Display the last updated date for plugins in the WordPress Plugin Directory.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected131 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12948131

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 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