Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.56ms] Passed 4 tests
An overview of server-side resources used by Container Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.88 ▲0.60 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.85 ▼6.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.58 ▼6.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.79 ▼11.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.85 ▼1.98 |
Server storage [IO: ▲0.55MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Container Block
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.17 | 1.66 ▲0.05 | 40.60 ▼4.17 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼0.15 | 104.49 ▼9.70 | 39.62 ▼6.86 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.06 ▲0.05 | 40.62 ▲0.77 | 35.96 ▲1.62 |
Add New Post /wp-admin/post-new.php | 6,243 ▲4,710 | 20.16 ▼2.96 | 903.79 ▲236.98 | 55.32 ▼9.09 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.04 | 94.64 ▼16.48 | 41.76 ▼6.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/container-block/container-block.php:36
- > PHP Fatal error
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 Passed 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: container, shape divider, video background, wrapper, gutenberg...
container-block/container-block.php Passed 13 tests
The entry point to "Container Block" version 1.2.0 is a PHP file that has certain tags in its header comment area
97 characters long description:
A fully customizable Gutenberg editor block used for wrapping several blocks in a parent wrapper.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected99 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 42 | 122 | 93 |
CSS | 4 | 0 | 0 | 4 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 6 | 75.00% |
▷ Protected methods | 2 | 25.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
There were not PNG files found in your plugin