10% wp-remote-manager-client

Code Review | WP Remote Manager Client

WordPress plugin WP Remote Manager Client scored 10% from 54 tests.

About plugin

  • Plugin page: wp-remote-manager...
  • Plugin version: 0.7.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9.2-3.3.1
  • WordPress version: 5.9.2
  • First release: Mar 9, 2012
  • Latest release: Apr 10, 2012
  • Number of updates: 7
  • Update frequency: every 5.1 days
  • Top authors: wokamoto (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 15,500 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
  • This plugin did not install gracefully
    • > Parse error in wp-content/plugins/wp-remote-manager-client/includes/class-oauth-provider.php+361
    syntax error, unexpected 'new' (T_NEW)

Server metrics [RAM: ▼0.02MB] [CPU: ▼283.81ms] Passed 4 tests

This is a short check of server-side resources used by WP Remote Manager Client
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0151.68 ▲3.76
Dashboard /wp-admin3.41 ▲0.0034.06 ▼0.90
Posts /wp-admin/edit.php3.64 ▲0.0037.94 ▲2.49
Add New Post /wp-admin/post-new.php6.88 ▼0.0996.31 ▼1,139.05
Media Library /wp-admin/upload.php3.29 ▲0.0024.25 ▲2.23

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for WP Remote Manager Client
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲1016.01 ▲0.395.55 ▼0.652.17 ▼0.18
Dashboard /wp-admin2,888 ▲276.14 ▼0.05117.82 ▼18.64157.13 ▼5.31
Posts /wp-admin/edit.php2,694 ▼03.23 ▼0.0163.69 ▼0.78139.06 ▼5.86
Add New Post /wp-admin/post-new.php1,661 ▼016.93 ▲0.99428.66 ▲2.76154.22 ▼1.42
Media Library /wp-admin/upload.php1,698 ▲35.52 ▼0.03137.53 ▼9.11187.19 ▼1.74

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/wp-remote-manager-client/includes/class-oauth.php+101
    Array and string offset access syntax with curly braces is deprecated

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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
The following issues need your attention
  • 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/wp-remote-manager-client/includes/pear/PEAR/FixPHP5PEARWarnings.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-remote-manager-client/total-backup.php:108
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/wp-remote-manager-client/includes/pear/XML/Parser.php on line 616
    • > PHP Fatal error
      Uncaught Error: Call to undefined function diraname() in wp-content/plugins/wp-remote-manager-client/includes/pear/XML/Unserializer.php:53
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Upgrader_Skin' not found in wp-content/plugins/wp-remote-manager-client/includes/class-remote-upgrader-skin.php:4
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/wp-remote-manager-client/includes/pear/XML/Parser.php on line 616
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/admin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-remote-manager-client/includes/class-remote-upgrader.php on line 2
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-remote-manager-client/includes/class-remote-upgrader-skin.php on line 2
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/wp-remote-manager-client/includes/class-oauth-provider.php on line 361
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/wp-remote-manager-client/includes/class-oauth-provider.php on line 361

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: multiple wordpress, remote administration

wp-remote-manager-client/plugin.php 85% from 13 tests

"WP Remote Manager Client" version 0.7.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-remote-manager-client.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected11,774 lines of code in 27 files:
LanguageFilesBlank linesComment linesLines of code
PHP232,5336,49511,507
PO File3102113264
CSS1003

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity49.95
▷ Minimum class complexity1.00
▷ Maximum class complexity553.00
Average method complexity5.15
▷ Minimum method complexity1.00
▷ Maximum method complexity67.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes41
▷ Abstract classes24.88%
▷ Concrete classes3995.12%
▷ Final classes00.00%
Methods488
▷ Static methods112.25%
▷ Public methods36875.41%
▷ Protected methods20.41%
▷ Private methods11824.18%
Functions25
▷ Named functions25100.00%
▷ Anonymous functions00.00%
Constants174
▷ Global constants16695.40%
▷ Class constants84.60%
▷ Public constants8100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/backup32.png2.37KB1.74KB▼ 26.54%
images/backup16.png0.73KB0.75KB0.00%
images/success.png0.76KB0.81KB0.00%
images/failure.png0.57KB0.62KB0.00%