10% ebot-matches-viewer

Code Review | eBot Matches Viewer

WordPress plugin eBot Matches Viewer scored 10% from 54 tests.

About plugin

  • Plugin page: ebot-matches-viewer
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.1
  • WordPress version: 6.3.1
  • First release: Feb 3, 2014
  • Latest release: Feb 14, 2015
  • Number of updates: 18
  • Update frequency: every 146.9 days
  • Top authors: ndjbouman (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,066 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • This plugin did not install gracefully
    • > Parse error in wp-content/plugins/ebot-matches-viewer/ebot-matches-viewer.php+288
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼1.68ms] Passed 4 tests

This is a short check of server-side resources used by eBot Matches Viewer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.85 ▲0.83
Dashboard /wp-admin3.31 ▲0.0053.13 ▼2.44
Posts /wp-admin/edit.php3.36 ▲0.0055.60 ▼3.47
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.44 ▼1.65
Media Library /wp-admin/upload.php3.23 ▲0.0049.42 ▲13.92

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

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

Browser metrics Passed 4 tests

eBot Matches Viewer: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲1113.20 ▼1.284.91 ▲2.4441.27 ▲0.45
Dashboard /wp-admin2,200 ▼64.84 ▼1.01104.89 ▼6.2140.77 ▲2.12
Posts /wp-admin/edit.php2,089 ▲32.04 ▲0.0136.51 ▼1.2132.50 ▼2.35
Add New Post /wp-admin/post-new.php1,546 ▲1323.97 ▲0.67661.16 ▼117.8052.56 ▼12.74
Media Library /wp-admin/upload.php1,382 ▼34.20 ▼0.0294.63 ▼7.9241.11 ▼1.60

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/ebot-matches-viewer/ebot-matches-viewer.php on line 288

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • License: Empty string
The official readme.txt is a good inspiration

ebot-matches-viewer/ebot-matches-viewer.php Passed 13 tests

Analyzing the main PHP file in "eBot Matches Viewer" version 1.6
82 characters long description:
Un simple widget pour intégrer les matchs de l'eBot sur votre site communautaire.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1 line of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity3.67
▷ Minimum method complexity1.00
▷ Maximum method complexity9.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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin