Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.61ms] Passed 4 tests
Analyzing server-side resources used by Contacts BMLT
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.61 ▲1.80 |
Dashboard /wp-admin | 3.41 ▲0.11 | 52.08 ▲1.85 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 46.59 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.99 ▼5.83 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.96 ▲0.47 |
Contacts BMLT /wp-admin/options-general.php?page=contacts-bmlt | 3.31 | 31.33 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
contacts_bmlt_options |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Contacts BMLT
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲54 | 14.39 ▼0.34 | 2.00 ▼0.16 | 43.37 ▲1.21 |
Dashboard /wp-admin | 2,208 ▲28 | 5.72 ▲0.13 | 93.89 ▼2.87 | 42.42 ▼2.11 |
Posts /wp-admin/edit.php | 2,110 ▲13 | 2.03 ▲0.04 | 33.37 ▼7.01 | 36.50 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.19 ▼0.05 | 673.06 ▼2.24 | 55.83 ▲4.41 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.19 ▼0.00 | 95.89 ▼3.87 | 42.54 ▲0.47 |
Contacts BMLT /wp-admin/options-general.php?page=contacts-bmlt | 1,333 | 2.42 | 41.34 | 49.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- contacts_bmlt_options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/contacts-bmlt/src/partials/_instructions.php
- > /wp-content/plugins/contacts-bmlt/contacts-bmlt.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #3 in contacts-bmlt/assets to your readme.txt
contacts-bmlt/contacts-bmlt.php 92% from 13 tests
The main file in "Contacts BMLT" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,304 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 56 | 83 | 1,569 |
PHP | 6 | 90 | 460 | 714 |
JavaScript | 2 | 0 | 1 | 12 |
Markdown | 1 | 8 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 24 | 58.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 41.46% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png | 0.33KB | 0.16KB | ▼ 53.08% |
css/redmond/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png | 0.29KB | 0.10KB | ▼ 65.41% |
css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png | 0.33KB | 0.13KB | ▼ 60.36% |