83% stops-core-theme-and-plugin-updates

Code Review | Easy Updates Manager

WordPress plugin Easy Updates Manager scored83%from 54 tests.

About plugin

  • Plugin page: stops-core-theme-...
  • Plugin version: 9.0.17
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.4
  • WordPress version: 6.3.1
  • First release: Oct 3, 2013
  • Latest release: Oct 18, 2023
  • Number of updates: 401
  • Update frequency: every 9.2 days
  • Top authors: kidsguide (56.11%)ronalfy (31.67%)DavidAnderson (12.72%)

Code review

54 tests

User reviews

654 reviews

Install metrics

300,000+ active /6,568,528 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼13.71ms] Passed 4 tests

A check of server-side resources used by Easy Updates Manager
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1343.50 ▼3.72
Dashboard /wp-admin3.43 ▲0.0955.04 ▼34.37
Posts /wp-admin/edit.php3.54 ▲0.1853.96 ▼2.65
Add New Post /wp-admin/post-new.php6.01 ▲0.1290.66 ▼14.10
Media Library /wp-admin/upload.php3.35 ▲0.1238.74 ▼0.43
Updates options /wp-admin/index.php?page=mpsum-update-options3.4141.11

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 118 new files
Database: 1 new table, 8 new options
New tables
wp_eum_logs
New WordPress options
mpsum_log_table_version
db_upgraded
MPSUM
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Updates Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,895 ▲13414.25 ▼0.031.95 ▼0.2644.31 ▼1.02
Dashboard /wp-admin2,263 ▲835.59 ▼0.0692.47 ▼7.4266.41 ▲19.68
Posts /wp-admin/edit.php2,130 ▲302.00 ▼0.0139.01 ▼0.7033.08 ▼2.91
Add New Post /wp-admin/post-new.php1,561 ▲3218.22 ▼4.91612.90 ▲6.7759.72 ▲10.51
Media Library /wp-admin/upload.php1,433 ▲334.18 ▼0.14100.31 ▲4.2343.02 ▲1.19
Updates options /wp-admin/index.php?page=mpsum-update-options1,3313.7687.6236.06

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 49× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Admin_Themes.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Send_Email_Notifications.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/templates/advanced-premium.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/templates/admin-tab-logs.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Check_Plugin_Install_Status.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Force_Updates.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/main.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Constant_Checks.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Themes_List_Table.php
    • > /wp-content/plugins/stops-core-theme-and-plugin-updates/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
Please take inspiration from this readme.txt

stops-core-theme-and-plugin-updates/main.php 85% from 13 tests

The entry point to "Easy Updates Manager" version 9.0.17 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("stops-core-theme-and-plugin-updates.php" instead of "main.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)

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
Everything looks great! No dangerous files found in this plugin30,741 lines of code in 98 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript104,3703,32918,402
PHP732,0415,0529,397
CSS8484812,827
JSON20063
Markdown29025
XML201217
HTML10010

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity37.55
▷ Minimum class complexity1.00
▷ Maximum class complexity238.00
Average method complexity4.49
▷ Minimum method complexity1.00
▷ Maximum method complexity64.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes53
▷ Abstract classes35.66%
▷ Concrete classes5094.34%
▷ Final classes00.00%
Methods559
▷ Static methods8314.85%
▷ Public methods45681.57%
▷ Protected methods529.30%
▷ Private methods519.12%
Functions3
▷ Named functions133.33%
▷ Anonymous functions266.67%
Constants9
▷ Global constants666.67%
▷ Class constants333.33%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/images/ui-icons_444444_256x240.png3.19KB3.49KB0.00%
images/notices/subscriben.png3.63KB3.97KB0.00%
images/notices/keyy_logo.png2.25KB1.19KB▼ 47.19%
images/ratings.png14.43KB3.88KB▼ 73.12%
images/notices/eum_logo.png5.45KB3.42KB▼ 37.22%