90% update-logger

Code Review | Update Logger

WordPress plugin Update Logger scored90%from 54 tests.

About plugin

  • Plugin page: update-logger
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Jun 15, 2023
  • Latest release: Jun 15, 2023
  • Number of updates: 2
  • Update frequency: every 4.5 days
  • Top authors: polyplugins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /316 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
Installer ran successfully

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

An overview of server-side resources used by Update Logger
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.85 ▼5.72
Dashboard /wp-admin3.31 ▲0.0148.66 ▼3.03
Posts /wp-admin/edit.php3.36 ▲0.0051.14 ▼3.92
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.17 ▲1.60
Media Library /wp-admin/upload.php3.23 ▲0.0036.77 ▼2.36

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

Filesystem and database footprint
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
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Update Logger
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲3714.23 ▼0.421.86 ▲0.2543.52 ▲1.33
Dashboard /wp-admin2,207 ▲335.61 ▼0.0292.21 ▼2.9043.30 ▼1.31
Posts /wp-admin/edit.php2,110 ▲102.03 ▲0.0440.24 ▼3.9038.97 ▲0.29
Add New Post /wp-admin/post-new.php1,544 ▲1818.40 ▼4.98617.03 ▲0.0366.08 ▼0.62
Media Library /wp-admin/upload.php1,409 ▲94.13 ▲0.00105.61 ▼0.3646.54 ▼3.73

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output 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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: Please add an image for screenshot #1 (Log)
The official readme.txt might help

update-logger/update-logger.php Passed 13 tests

The main file in "Update Logger" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
75 characters long description:
Log WordPress updates, so you can exclude 3rd party plugins from your repo.

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
Good job! No executable or dangerous file extensions detected44 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1177144

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.17
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods583.33%
▷ Protected methods00.00%
▷ Private methods116.67%
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 files were detected