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.11MB] [CPU: ▼7.33ms] Passed 4 tests
An overview of server-side resources used by Temporary Closures BMLT
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 37.79 ▼1.32 |
Dashboard /wp-admin | 3.43 ▲0.08 | 46.77 ▼13.26 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.81 ▼5.78 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 91.41 ▼8.96 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.22 ▼0.07 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
temporary_closures_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Temporary Closures BMLT: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 13.80 ▼0.55 | 8.70 ▲6.90 | 37.22 ▼1.72 |
Dashboard /wp-admin | 2,214 ▲26 | 5.77 ▲0.90 | 94.48 ▼10.06 | 39.90 ▼3.09 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.01 ▼0.03 | 36.55 ▼1.69 | 34.76 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.04 ▲0.04 | 644.61 ▼17.58 | 55.93 ▲1.35 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.24 ▲0.04 | 112.84 ▼2.42 | 47.87 ▲2.15 |
Temporary Closures BMLT /wp-admin/temporary-closures-bmlt.php | 26 | 0.44 | 0.09 | 12.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- temporary_closures_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/temporary-closures-bmlt/partials/_instructions.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/temporary-closures-bmlt/temporary-closures-bmlt.php:458
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/temporary-closures-bmlt.php
- > Network (severe)
wp-admin/temporary-closures-bmlt.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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: temporary closures bmlt, basic meeting list toolbox, temporary closures, bmlt, narcotics anonymous...
temporary-closures-bmlt/temporary-closures-bmlt.php 92% from 13 tests
The main PHP file in "Temporary Closures BMLT" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected2,463 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 70 | 83 | 1,649 |
PHP | 3 | 83 | 90 | 739 |
Markdown | 2 | 46 | 0 | 57 |
JavaScript | 2 | 1 | 1 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 118.00 |
▷ Minimum class complexity | 118.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.04MB with 0.01MB 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_75_d0e5f5_1x400.png | 0.33KB | 0.16KB | ▼ 52.38% |
css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/redmond/images/ui-icons_6da8d5_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/redmond/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png | 0.29KB | 0.10KB | ▼ 65.41% |