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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.95ms] Passed 4 tests
Analyzing server-side resources used by List Locations BMLT
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.53 ▼6.28 |
Dashboard /wp-admin | 3.41 ▲0.11 | 52.71 ▲0.24 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 49.60 ▲2.11 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 85.99 ▼19.87 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.08 ▲3.66 |
List Locations BMLT /wp-admin/options-general.php?page=list-locations-plugin | 3.31 | 33.67 |
Server storage [IO: ▲0.22MB] [DB: ▲0.07MB] 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 |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
list_locations_options |
Browser metrics Passed 4 tests
A check of browser resources used by List Locations BMLT
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.32 ▼0.03 | 1.97 ▲0.37 | 45.64 ▲7.21 |
Dashboard /wp-admin | 2,208 ▲31 | 5.61 ▼0.01 | 84.54 ▼6.61 | 42.63 ▲2.81 |
Posts /wp-admin/edit.php | 2,110 ▲13 | 1.98 ▼0.01 | 40.23 ▲3.03 | 36.01 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.26 ▼0.25 | 637.52 ▼62.97 | 50.14 ▼11.52 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▲0.04 | 98.27 ▼9.52 | 45.59 ▲0.21 |
List Locations BMLT /wp-admin/options-general.php?page=list-locations-plugin | 1,380 | 2.25 | 47.37 | 44.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- list_locations_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/list-locations-bmlt/src/partials/_instructions.php
- > /wp-content/plugins/list-locations-bmlt/list-locations.php
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: bmlt, list locations, list locations bmlt, na, narcotics anonymous...
list-locations-bmlt/list-locations.php 85% from 13 tests
The principal PHP file in "List Locations BMLT" v. 2.3.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("list-locations-bmlt.php" instead of "list-locations.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 230 characters long)
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 detected2,243 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 48 | 83 | 1,529 |
PHP | 6 | 110 | 40 | 687 |
JavaScript | 2 | 1 | 1 | 18 |
Markdown | 1 | 8 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 24 | 64.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 35.14% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
18 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/start/images/ui-bg_flat_75_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/start/images/ui-icons_f5e175_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
css/start/images/ui-icons_056b93_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |