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 gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.22ms] Passed 4 tests
A check of server-side resources used by Term description by means of block editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.64 ▼2.83 |
Dashboard /wp-admin | 3.47 ▲0.12 | 49.00 ▼7.25 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.08 ▲8.53 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 80.81 ▼18.18 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 32.05 ▼0.61 |
Description of categories /wp-admin/options-general.php?page=betdpl | 3.59 | 36.17 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
betdpl |
Browser metrics Passed 4 tests
Term description by means of block editor: 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,818 ▲32 | 14.35 ▼0.03 | 2.12 ▲0.15 | 41.56 ▼2.25 |
Dashboard /wp-admin | 2,199 ▲25 | 5.62 ▲0.04 | 94.12 ▲3.98 | 42.77 ▲4.51 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.02 | 34.42 ▼4.81 | 32.64 ▼5.92 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.69 ▲5.45 | 681.66 ▲71.97 | 57.04 ▼9.39 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▼0.04 | 103.26 ▲6.38 | 45.44 ▲1.11 |
Description of categories /wp-admin/options-general.php?page=betdpl | 963 | 2.04 | 28.61 | 27.20 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2 in block-editor-taxonomy-description/assets to your readme.txt
block-editor-taxonomy-description/betdpl.php 92% from 13 tests
The main PHP script in "Term description by means of block editor" version 1.0.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("block-editor-taxonomy-description.php" instead of "betdpl.php")
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 plugin1,984 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 487 | 837 | 1,572 |
PO File | 3 | 264 | 432 | 412 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 23.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 83 | |
▷ Static methods | 3 | 3.61% |
▷ Public methods | 53 | 63.86% |
▷ Protected methods | 22 | 26.51% |
▷ Private methods | 8 | 9.64% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG files were detected