84% fix-another-update-in-progress

Code Review | Fix Another Update In Progress

WordPress plugin Fix Another Update In Progress scored84%from 54 tests.

About plugin

  • Plugin page: fix-another-updat...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.2
  • WordPress version: 6.3.1
  • First release: Jun 27, 2017
  • Latest release: May 13, 2023
  • Number of updates: 9
  • Update frequency: every 239.0 days
  • Top authors: raviry (100%)

Code review

54 tests

User reviews

43 reviews

Install metrics

9,000+ active /77,623 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.88ms] Passed 4 tests

Server-side resources used by Fix Another Update In Progress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.53 ▼0.59
Dashboard /wp-admin3.33 ▼0.0251.42 ▼12.27
Posts /wp-admin/edit.php3.38 ▲0.0249.37 ▼1.03
Add New Post /wp-admin/post-new.php5.91 ▲0.0294.38 ▼9.55
Media Library /wp-admin/upload.php3.25 ▲0.0234.04 ▼0.65

Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] 67% from 3 tests

A short overview of filesystem and database impact
It is recommended to fix the following issues
  • You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/fix-another-update-in-progress/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Fix Another Update In Progress
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7313.21 ▼1.101.77 ▲0.2244.71 ▲0.70
Dashboard /wp-admin2,228 ▲285.83 ▲0.0498.11 ▼6.7038.16 ▼6.09
Posts /wp-admin/edit.php2,104 ▲42.00 ▼0.0238.88 ▲0.7334.74 ▼4.59
Add New Post /wp-admin/post-new.php1,548 ▲1723.07 ▼0.20596.70 ▼76.8453.27 ▲0.72
Media Library /wp-admin/upload.php1,404 ▲14.20 ▲0.0199.45 ▼2.8243.91 ▼3.03
Fix Another Update In Progress /wp-admin/fix-another-update-in-progress.php260.440.0816.34

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

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)
Everything seems fine, however this is by no means an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
    • > GET request to /wp-admin/fix-another-update-in-progress.php
    • > Network (severe)
    wp-admin/fix-another-update-in-progress.php - Failed to load resource: the server responded with a status of 404 (Not Found)

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
2 plugin tags: wordpress another update is already in progress, fix another update

fix-another-update-in-progress/fix-another-update-in-progress.php Passed 13 tests

The entry point to "Fix Another Update In Progress" version 2.0 is a PHP file that has certain tags in its header comment area
62 characters long description:
A quick fix to WordPress another update is already in progress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected183 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13533183

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity3.25
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.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

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.30MB with 0.21MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
wp-clean-admin-menu.png307.84KB87.99KB▼ 71.42%