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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.17ms] Passed 4 tests
Analyzing server-side resources used by Builder Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.31 ▲1.08 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.05 ▲1.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.50 ▼8.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.01 ▼9.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.60 ▼0.12 |
Server storage [IO: ▲2.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Builder Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.72 ▲0.37 | 1.95 ▲0.36 | 45.41 ▲3.29 |
Dashboard /wp-admin | 2,192 ▲12 | 5.51 ▼0.14 | 82.28 ▼1.38 | 40.27 ▼4.56 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▼0.01 | 35.75 ▼2.76 | 33.23 ▼8.73 |
Add New Post /wp-admin/post-new.php | 6,373 ▲4,835 | 22.66 ▲4.44 | 868.12 ▲256.83 | 71.52 ▲8.41 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.05 | 98.53 ▲3.86 | 39.84 ▼1.76 |
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
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Editing A Menu Item.), #2 (A Menu Item.), #3 (Menu Item and Menu blocks.)
builder-blocks/builder-blocks.php 92% from 13 tests
The primary PHP file in "Builder Blocks" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
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
Success! There were no dangerous files found in this plugin552 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 40 | 81 | 309 |
SVG | 1 | 0 | 0 | 142 |
CSS | 1 | 2 | 1 | 43 |
PHP | 4 | 9 | 71 | 41 |
Markdown | 1 | 7 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 1.39MB with 1.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 202.50KB | 45.74KB | ▼ 77.41% |
assets/screenshot-3.png | 247.66KB | 61.04KB | ▼ 75.35% |
assets/screenshot-1.png | 202.50KB | 45.74KB | ▼ 77.41% |
assets/screenshot-2.png | 263.27KB | 60.51KB | ▼ 77.02% |
screenshot-3.png | 247.66KB | 61.04KB | ▼ 75.35% |