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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼7.85ms] Passed 4 tests
Analyzing server-side resources used by Buba Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 37.70 ▼2.16 |
Dashboard /wp-admin | 3.61 ▲0.26 | 47.69 ▼10.65 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 48.00 ▼1.40 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 89.00 ▼17.17 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 40.79 ▲5.52 |
Server storage [IO: ▲24.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 533 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Buba Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲259 | 13.52 ▼1.07 | 12.53 ▲11.01 | 35.88 ▼5.09 |
Dashboard /wp-admin | 2,232 ▲55 | 5.64 ▲0.05 | 86.35 ▲1.42 | 36.35 ▼6.27 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.04 ▲0.08 | 34.70 ▼1.70 | 33.03 ▲0.29 |
Add New Post /wp-admin/post-new.php | 7,031 ▲5,503 | 27.26 ▲4.03 | 1,084.98 ▲401.94 | 38.65 ▼36.03 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.26 ▲0.07 | 98.02 ▼1.16 | 41.35 ▼4.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buba-blocks/patterns/index.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: blocks, buba blocks, gutenberg, gutenberg blocks, editor
buba-blocks/index.php 92% from 13 tests
The primary PHP file in "Buba Blocks" version 1.10 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("buba-blocks.php" instead of "index.php")
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 detected62,589 lines of code in 392 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 71 | 0 | 0 | 36,790 |
JavaScript | 153 | 1,929 | 3,775 | 18,054 |
Sass | 53 | 298 | 17 | 3,717 |
PHP | 44 | 268 | 360 | 1,290 |
CSS | 55 | 195 | 44 | 1,221 |
PO File | 2 | 367 | 487 | 788 |
SVG | 14 | 1 | 0 | 729 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
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
There are no PNG files in this plugin