Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼11.11ms] Passed 4 tests
A check of server-side resources used by Bordered Blocks - Add subtle borders or outlines and labels to Blocks in the Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.09 | 41.06 ▼4.38 |
Dashboard /wp-admin | 3.44 ▲0.05 | 47.73 ▼17.90 |
Posts /wp-admin/edit.php | 3.55 ▲0.15 | 50.27 ▼4.20 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.11 | 92.59 ▼17.96 |
Media Library /wp-admin/upload.php | 3.36 ▲0.09 | 38.82 ▲1.36 |
Bordered Blocks /wp-admin/options-general.php?page=borderedblocksconfig | 3.38 | 38.98 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
borderedblocks_options |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Bordered Blocks - Add subtle borders or outlines and labels to Blocks in the Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.38 ▼0.03 | 1.88 ▼0.00 | 44.84 ▼2.41 |
Dashboard /wp-admin | 2,218 ▲38 | 5.76 ▲0.16 | 95.32 ▲7.98 | 40.64 ▼3.83 |
Posts /wp-admin/edit.php | 2,128 ▲31 | 2.29 ▲0.25 | 38.73 ▼2.29 | 35.50 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,732 ▲204 | 24.49 ▲1.29 | 626.92 ▼127.17 | 34.96 ▼26.07 |
Media Library /wp-admin/upload.php | 1,423 ▲20 | 4.53 ▲0.35 | 115.33 ▲6.28 | 53.35 ▲7.45 |
Bordered Blocks /wp-admin/options-general.php?page=borderedblocksconfig | 2,225 | 2.57 | 56.60 | 68.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=borderedblocksconfig
- > Notice in wp-content/plugins/bordered-blocks/assets/plugin-info.php+7
Trying to access array offset on value of type bool
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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bordered-blocks/bordered-blocks.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bordered-blocks/assets/supported-blocks.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bordered-blocks/assets/plugin-info.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bordered-blocks/assets/faq.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
5 plugin tags: borders, gutenberg, labels, blocks, editor
bordered-blocks/bordered-blocks.php 92% from 13 tests
The principal PHP file in "Bordered Blocks - Add subtle borders or outlines and labels to Blocks in the Editor" v. 1.1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 228 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,233 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 146 | 37 | 783 |
CSS | 2 | 53 | 3 | 229 |
JavaScript | 3 | 33 | 22 | 146 |
Markdown | 1 | 46 | 0 | 75 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 PNG file occupies 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/sophie.png | 179.83KB | 59.47KB | ▼ 66.93% |