73% esoftplay-multipanel-client

Code Review | Esoftplay Multipanel Client

WordPress plugin Esoftplay Multipanel Client scored73%from 54 tests.

About plugin

  • Plugin page: esoftplay-multipa...
  • Plugin version: 1...
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jan 8, 2019
  • Latest release: Jan 9, 2019
  • Number of updates: 9
  • Update frequency: every 0.1 days
  • Top authors: esoftplay (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /518 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼1.18MB] [CPU: ▼44.95ms] Passed 4 tests

Server-side resources used by Esoftplay Multipanel Client
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.81 ▼0.6613.76 ▼28.25
Dashboard /wp-admin2.84 ▼0.5016.62 ▼47.02
Posts /wp-admin/edit.php2.85 ▼0.5116.87 ▼28.31
Add New Post /wp-admin/post-new.php2.85 ▼3.0417.53 ▼76.21
Media Library /wp-admin/upload.php2.85 ▼0.3818.52 ▼14.78

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Esoftplay Multipanel Client: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.75 ▲0.401.68 ▼0.4340.51 ▼3.28
Dashboard /wp-admin2,192 ▲185.61 ▲0.0494.98 ▼5.1841.88 ▼1.84
Posts /wp-admin/edit.php2,097 ▼01.95 ▼0.0640.14 ▲2.8435.78 ▲2.84
Add New Post /wp-admin/post-new.php1,526 ▼123.05 ▲0.05674.14 ▲22.7255.97 ▼11.01
Media Library /wp-admin/upload.php1,403 ▲64.21 ▲0.03103.34 ▼0.5444.47 ▼3.07

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/esoftplay-multipanel-client/esoftplay-multipanel-client.php+29
    Undefined index: HTTP_TOKEN
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

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)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Warning
      Use of undefined constant AUTH_SALT - assumed 'AUTH_SALT' (this will throw an Error in a future version of PHP) in wp-content/plugins/esoftplay-multipanel-client/esoftplay-multipanel-client.php on line 19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/esoftplay-multipanel-client/esoftplay-multipanel-client.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Contributors: The plugin contributors field is not present
You can take inspiration from this readme.txt

esoftplay-multipanel-client/esoftplay-multipanel-client.php 85% from 13 tests

"Esoftplay Multipanel Client" version 1...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected670 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP28212670

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity33.00
▷ Minimum class complexity33.00
▷ Maximum class complexity33.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods20
▷ Static methods00.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin