Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.04ms] Passed 4 tests
A check of server-side resources used by Foxdell Folio BEC Disable Core Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.65 ▲1.55 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.50 ▼0.20 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.93 ▼2.80 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.77 ▼8.48 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.00 ▼0.66 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Foxdell Folio BEC Disable Core Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.70 ▼0.52 | 1.76 ▲0.03 | 42.59 ▲1.20 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▼0.07 | 100.53 ▼20.77 | 39.89 ▼3.40 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.02 | 38.05 ▼4.24 | 34.25 ▼1.97 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.26 ▲4.94 | 664.22 ▲35.90 | 50.97 ▼6.55 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.16 ▼0.09 | 98.89 ▼4.75 | 43.88 ▼0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/foxdell-folio-bec-disable-core-blocks/disable-core-blocks.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
3 plugin tags: gutenberg, customize, block-editor
foxdell-folio-bec-disable-core-blocks/disable-core-blocks.php 85% from 13 tests
"Foxdell Folio BEC Disable Core Blocks" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("foxdell-folio-bec-disable-core-blocks.php" instead of "disable-core-blocks.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin453 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 33 | 53 | 242 |
PHP | 2 | 78 | 149 | 196 |
CSS | 2 | 6 | 11 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/datatables/DataTables-1.10.20/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
vendor/datatables/DataTables-1.10.20/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
vendor/datatables/DataTables-1.10.20/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
vendor/datatables/DataTables-1.10.20/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
vendor/datatables/DataTables-1.10.20/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |