62% plugins-on-steroids

Code Review | Eazy Plugin Manager - Powerful Plugin Management Solution for WordPress

WordPress plugin Eazy Plugin Manager - Powerful Plugin Management Solution for WordPress scored62%from 54 tests.

About plugin

  • Plugin page: plugins-on-steroids
  • Plugin version: 4.1.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: May 18, 2022
  • Latest release: Nov 13, 2023
  • Number of updates: 28
  • Update frequency: every 20.1 days
  • Top authors: eazyplugins (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

300+ active /4,243 total downloads

Benchmarks

Plugin footprint 65% 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.67MB] [CPU: ▲2.57ms] 75% from 4 tests

A check of server-side resources used by Eazy Plugin Manager - Powerful Plugin Management Solution for WordPress
Please have a look at the following items
  • CPU: Total CPU usage should be kept under 500.00ms (currently 982.46ms on /wp-admin/plugin-install.php?tab=bookmarks)
PageMemory (MB)CPU Time (ms)
Home /4.14 ▲0.6739.35 ▼1.15
Dashboard /wp-admin3.98 ▲0.6764.17 ▲15.81
Posts /wp-admin/edit.php4.03 ▲0.6749.40 ▲3.68
Add New Post /wp-admin/post-new.php6.61 ▲0.7288.88 ▼5.44
Media Library /wp-admin/upload.php3.90 ▲0.6748.04 ▲13.20
All Bookmarks /wp-admin/plugin-install.php?tab=bookmarks4.41982.46
Dashboard /wp-admin/admin.php?page=pos-settings3.8854.12

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 103 new files
Database: 1 new table, 8 new options
New tables
wp_pos_history
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_recent-comments
can_compress_scripts
pos_plugin_image
pos_history_x32

Browser metrics Passed 4 tests

An overview of browser requirements for Eazy Plugin Manager - Powerful Plugin Management Solution for WordPress
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,913 ▲15114.27 ▼0.061.58 ▼0.2238.14 ▼7.77
Dashboard /wp-admin2,322 ▲1445.68 ▼0.0388.49 ▼16.5240.51 ▼5.81
Posts /wp-admin/edit.php2,223 ▲1232.08 ▲0.0737.62 ▲0.3929.78 ▼2.95
Add New Post /wp-admin/post-new.php1,590 ▲6423.62 ▲2.35706.36 ▼3.1151.69 ▼8.66
Media Library /wp-admin/upload.php1,527 ▲1274.21 ▲0.01106.98 ▲6.6946.56 ▲2.49
All Bookmarks /wp-admin/plugin-install.php?tab=bookmarks2,5322.2639.18155.56
Account /wp-admin/admin.php?page=pos-settings#account7,54910.44310.6373.27
Features /wp-admin/admin.php?page=pos-settings#home7,55310.82334.0045.30
History /wp-admin/admin.php?page=pos-settings#history7,63513.96313.3478.49
Support /wp-admin/admin.php?page=pos-settings#support7,55310.85303.1684.31
Settings /wp-admin/admin.php?page=pos-settings#settings7,54610.62295.7747.79
Bookmarks /wp-admin/admin.php?page=pos-settings#bookmarks7,55210.65312.3146.62
Dashboard /wp-admin/admin.php?page=pos-settings7,54710.90304.7691.98

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_pos_history
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • pos_history_x32
    • widget_theysaidso_widget
    • pos_plugin_image
    • widget_recent-posts

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Please fix the following items
  • 6× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/plugins-on-steroids/admin/subpages/video-modal.php
    • > /wp-content/plugins/plugins-on-steroids/admin/dashboard-footer.php
    • > /wp-content/plugins/plugins-on-steroids/admin/subpages/settings/others.php
    • > /wp-content/plugins/plugins-on-steroids/admin/subpages/vault-modal.php
    • > /wp-content/plugins/plugins-on-steroids/admin/dashboard-loader.php
    • > /wp-content/plugins/plugins-on-steroids/admin/subpages/free-vault-modal.php
  • 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugins-on-steroids/libs/class.pos_plugins.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/plugins-on-steroids/admin/plugin-installs-bookmarks.php:45
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/plugins-on-steroids/admin/subpages/accounts/tokens.php:17
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/plugins-on-steroids/libs/class.pos_plugins.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/plugins-on-steroids/admin/subpages/bookmarks.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/plugins-on-steroids/admin/subpages/message-modal.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/plugins-on-steroids/admin/subpages/login.php:6
    • > PHP Warning
      Use of undefined constant POS_URL - assumed 'POS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugins-on-steroids/admin/dashboard-footer.php on line 37
    • > PHP Fatal error
      Uncaught Error: Call to undefined function EazyPlugins\\plugin_dir_path() in wp-content/plugins/plugins-on-steroids/plugins-on-steroids.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/plugins-on-steroids/admin/subpages/confirmation-modal.php:9

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
    • > GET request to /wp-admin/plugin-install.php?tab=bookmarks
    • > Network (severe)
    wp-admin/admin-ajax.php - Failed to load resource: the server responded with a status of 400 (Bad Request)
  • 7 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=pos-settings
    • > Network (severe)
    https://api.eazypluginmanager.com/listsimple - Failed to load resource: the server responded with a status of 401 ()

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: manager, pagespeed, bookmark, security, backup

plugins-on-steroids/plugins-on-steroids.php 85% from 13 tests

"Eazy Plugin Manager - Powerful Plugin Management Solution for WordPress" version 4.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Domain Path: The domain path folder does not exist ("/i18n")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin8,187 lines of code in 83 files:
LanguageFilesBlank linesComment linesLines of code
PHP376491445,001
CSS36281722,478
SVG37021700
JavaScript6208

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity109.75
▷ Minimum class complexity4.00
▷ Maximum class complexity234.00
Average method complexity5.83
▷ Minimum method complexity1.00
▷ Maximum method complexity70.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods90
▷ Static methods11.11%
▷ Public methods7886.67%
▷ Protected methods00.00%
▷ Private methods1213.33%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
16 PNG files occupy 0.23MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/newsletter.png3.44KB1.95KB▼ 43.14%
assets/images/vault.png7.79KB3.55KB▼ 54.37%
assets/images/history.png24.78KB9.67KB▼ 60.98%
assets/images/quick-download.png10.30KB4.97KB▼ 51.76%
assets/images/notes.png5.49KB2.51KB▼ 54.36%