Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.71ms] Passed 4 tests
An overview of server-side resources used by BMLT Tabbed Map
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 43.64 ▼0.43 |
Dashboard /wp-admin | 3.41 ▲0.06 | 54.37 ▼16.99 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 53.24 ▼2.44 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 96.81 ▼0.54 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.32 ▼2.88 |
BMLT Tabbed Map /wp-admin/options-general.php?page=bmlt_tabbed_map | 3.30 | 34.44 |
Server storage [IO: ▲6.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
bmlt_tabbed_map_lng_position |
widget_recent-comments |
db_upgraded |
bmlt_tabbed_map_zoom_position |
bmlt_tabbed_map_lat_position |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by BMLT Tabbed Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲211 | 14.98 ▲0.63 | 23.68 ▲21.98 | 72.04 ▲25.80 |
Dashboard /wp-admin | 2,225 ▲48 | 5.22 ▼0.31 | 108.08 ▲13.73 | 42.67 ▼0.08 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.36 ▲0.41 | 47.46 ▲7.60 | 37.32 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.36 ▼0.28 | 636.26 ▼41.86 | 38.07 ▼19.65 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.94 ▲0.75 | 105.50 ▼16.13 | 46.17 ▼2.90 |
BMLT Tabbed Map /wp-admin/options-general.php?page=bmlt_tabbed_map | 936 | 2.55 | 49.58 | 55.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- bmlt_tabbed_map_lng_position
- bmlt_tabbed_map_zoom_position
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- bmlt_tabbed_map_lat_position
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/bmlt-tabbed-map/public/partials/bmlt_tabbed_map-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/bmlt-tabbed-map/admin/partials/bmlt_tabbed_map-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 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
8 plugin tags: maps, meeting finder, meeting list, na, addiction...
bmlt-tabbed-map/bmlt_tabbed_map.php 85% from 13 tests
This is the main PHP file of "BMLT Tabbed Map" version 1.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bmlt-tabbed-map.php" instead of "bmlt_tabbed_map.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
No dangerous file extensions were detected9,367 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 4,479 |
CSS | 10 | 1,467 | 55 | 3,659 |
JavaScript | 10 | 109 | 97 | 813 |
PHP | 12 | 79 | 199 | 416 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 2.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
public/css/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
public/css/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
public/img/map.png | 1.31KB | 1.07KB | ▼ 18.06% |
public/css/images/layers.png | 0.68KB | 1.05KB | 0.00% |