72% bmlt-meeting-map

Code Review | BMLT Meeting Map

WordPress plugin BMLT Meeting Map scored72%from 54 tests.

About plugin

  • Plugin page: bmlt-meeting-map
  • Plugin version: 2.6.0
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.3.0
  • WordPress version: 6.3.1
  • First release: Aug 6, 2019
  • Latest release: Nov 5, 2023
  • Number of updates: 19
  • Update frequency: every 81.7 days
  • Top authors: bmltenabled (47.37%)otrok7 (42.11%)pjaudiomv (21.05%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,249 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.26ms] Passed 4 tests

An overview of server-side resources used by BMLT Meeting Map
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.49 ▼6.57
Dashboard /wp-admin3.32 ▼0.0344.93 ▼14.62
Posts /wp-admin/edit.php3.43 ▲0.0748.68 ▲1.73
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.60 ▼11.88
Media Library /wp-admin/upload.php3.24 ▲0.0131.31 ▼3.98

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
bmlt_meeting_map_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for BMLT Meeting Map
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5514.33 ▲0.011.80 ▼0.3943.10 ▼0.24
Dashboard /wp-admin2,207 ▲275.66 ▲0.0993.81 ▲8.0141.72 ▲4.09
Posts /wp-admin/edit.php2,112 ▲122.00 ▲0.0039.79 ▲0.7937.54 ▲3.52
Add New Post /wp-admin/post-new.php1,546 ▲2025.04 ▲1.94615.64 ▼56.5874.43 ▲20.65
Media Library /wp-admin/upload.php1,412 ▲94.16 ▼0.0197.34 ▼3.6541.36 ▼2.48
BMLT Meeting Map /wp-admin/meeting_map.php260.410.0919.83

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • bmlt_meeting_map_options
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/bmlt-meeting-map/index.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bmlt-meeting-map/meeting_map.php:398

User-side errors 0% from 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: meeting list, na, maps, meeting finder, addiction...

bmlt-meeting-map/meeting_map.php 92% from 13 tests

The main PHP file in "BMLT Meeting Map" ver. 2.6.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bmlt-meeting-map.php" instead of "meeting_map.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,539 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript665561,687
CSS287381,052
PHP8259778
JSON20022

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity73.00
▷ Minimum class complexity73.00
▷ Maximum class complexity73.00
Average method complexity3.17
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods25
▷ Static methods00.00%
▷ Public methods2184.00%
▷ Protected methods14.00%
▷ Private methods312.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants0
▷ Global constants00.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
12 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
map_images/NAMarkerS.png1.58KB0.78KB▼ 50.71%
lang/ar.png0.49KB0.69KB0.00%
lang/en.png0.58KB0.65KB0.00%
map_images/NAMarkerSel.png2.86KB1.52KB▼ 46.81%
lang/fr.png0.53KB0.63KB0.00%