62% bmlt-wordpress-satellite-plugin

Code Review | BMLT WordPress Plugin

WordPress plugin BMLT WordPress Plugin scored62%from 54 tests.

About plugin

  • Plugin page: bmlt-wordpress-sa...
  • Plugin version: 3.11.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.0.2
  • WordPress version: 6.3.1
  • First release: Jun 15, 2009
  • Latest release: Sep 29, 2022
  • Number of updates: 615
  • Update frequency: every 7.9 days
  • Top authors: magblogapi (97.24%)bmltenabled (1.3%)radius314 (1.14%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /11,498 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.26MB] [CPU: ▼45.96ms] Passed 4 tests

Server-side resources used by BMLT WordPress Plugin
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.73 ▲0.2615.51 ▼28.77
Dashboard /wp-admin3.75 ▲0.4417.89 ▼32.29
Posts /wp-admin/edit.php3.75 ▲0.3920.34 ▼35.57
Add New Post /wp-admin/post-new.php3.75 ▼2.1416.00 ▼87.21
Media Library /wp-admin/upload.php3.75 ▲0.5220.82 ▼16.04

Server storage [IO: ▲3.16MB] [DB: ▲0.00MB] 67% from 3 tests

A short overview of filesystem and database impact
Please fix the following
  • Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/bmlt-wordpress-satellite-plugin/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 497 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
BMLT_lang_base
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

BMLT WordPress Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,860 ▲7414.00 ▼0.601.97 ▲0.0445.96 ▲4.75
Dashboard /wp-admin2,252 ▲495.86 ▲0.00120.44 ▲9.3143.48 ▲1.56
Posts /wp-admin/edit.php2,143 ▲432.66 ▲0.6945.72 ▲10.2537.94 ▲5.68
Add New Post /wp-admin/post-new.php1,568 ▲2023.79 ▲0.63703.46 ▲26.9837.12 ▼15.02
Media Library /wp-admin/upload.php1,434 ▲315.01 ▲0.77103.67 ▲11.0745.70 ▲0.52
BMLT Options /wp-admin/bmlt-wordpress-satellite-plugin.php260.440.0916.05

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the table_display handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • BMLT_lang_base

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 14× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/table_styles.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/js_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/GreyAndMaroon/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlueAndRed/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/NERNA/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlueAndRed/images/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlackWhiteAndRed/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlueAndWhite/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/Australia/style_stripper.php
    • > /wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/GreenAndGold/style_stripper.php
  • 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/GreenAndGold/style_stripper.php on line 36
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/style_stripper.php on line 36
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlueAndWhite/style_stripper.php on line 39
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlueAndRed/style_stripper.php on line 36
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlackWhiteAndRed/style_stripper.php on line 36
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/Australia/style_stripper.php on line 39
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/BlueAndRed/images/style_stripper.php on line 39
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/NERNA/style_stripper.php on line 39
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/js_stripper.php on line 36
    • > PHP Notice
      Undefined index: filename in wp-content/plugins/bmlt-wordpress-satellite-plugin/vendor/bmlt/bmlt-satellite-base-class/themes/default/style_stripper.php on line 36

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/bmlt-wordpress-satellite-plugin.php
    • > Network (severe)
    wp-admin/bmlt-wordpress-satellite-plugin.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: meeting list, webservant, meeting finder, maps, addiction...

bmlt-wordpress-satellite-plugin/bmlt-wordpress-satellite-plugin.php Passed 13 tests

The main PHP file in "BMLT WordPress Plugin" ver. 3.11.3 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
This is a WordPress plugin satellite of the Basic Meeting List Toolbox.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin40,849 lines of code in 97 files:
LanguageFilesBlank linesComment linesLines of code
CSS543,2641,30626,155
JavaScript71,5351,7427,586
PHP291,4612,5526,906
JSON400151
YAML12026
Dockerfile14015
Markdown19010

PHP code 50% from 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
  • Cyclomatic complexity of methods should be reduced to less than 100 (currently 121)
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity59.50
▷ Minimum class complexity1.00
▷ Maximum class complexity691.00
Average method complexity7.16
▷ Minimum method complexity1.00
▷ Maximum method complexity121.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes17
▷ Abstract classes211.76%
▷ Concrete classes1588.24%
▷ Final classes00.00%
Methods175
▷ Static methods2816.00%
▷ Public methods13577.14%
▷ Protected methods3117.71%
▷ Private methods95.14%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
240 PNG files occupy 0.23MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
vendor/bmlt/bmlt-satellite-base-class/themes/GNYR/images/Clock45.png0.30KB0.23KB▼ 21.90%
vendor/bmlt/bmlt-satellite-base-class/themes/default/images/Clock45.png2.96KB0.36KB▼ 87.95%
vendor/bmlt/bmlt-satellite-base-class/themes/default/images/MoreDetails_mouseover.png0.61KB0.41KB▼ 32.37%
vendor/bmlt/bmlt-satellite-base-class/themes/BlackWhiteAndRed/images/Clock60.png0.54KB0.28KB▼ 47.76%
vendor/bmlt/bmlt-satellite-base-class/themes/GNYR2/images/Clock00.png0.22KB0.19KB▼ 11.71%