Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.24MB] [CPU: ▼16.12ms] Passed 4 tests
A check of server-side resources used by ScBlocks - Page Builder Gutenberg Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.53 ▼0.41 |
Dashboard /wp-admin | 3.34 ▼0.01 | 44.67 ▼16.40 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.35 ▲2.09 |
Add New Post /wp-admin/post-new.php | 4.87 ▼1.02 | 52.52 ▼46.34 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 30.76 ▼1.31 |
ScBlocks /wp-admin/options-general.php?page=scblocks-settings | 3.22 | 30.03 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
scblocks_css_write_time |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ScBlocks - Page Builder Gutenberg Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▼0.08 | 1.63 ▲0.00 | 40.20 ▼1.34 |
Dashboard /wp-admin | 2,210 ▲22 | 5.01 ▼0.86 | 101.77 ▼15.11 | 38.36 ▼8.12 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.04 | 41.12 ▲4.69 | 34.94 ▼0.53 |
Add New Post /wp-admin/post-new.php | 6,198 ▲4,684 | 19.36 ▲1.70 | 809.31 ▲125.95 | 35.80 ▼15.94 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.22 ▼0.01 | 98.65 ▲1.00 | 42.32 ▲0.29 |
ScBlocks /wp-admin/options-general.php?page=scblocks-settings | 824 | 2.06 | 24.08 | 28.31 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- scblocks_css_write_time
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: gutenberg, container, blocks, page builder, wordpress blocks
scblocks/scblocks.php Passed 13 tests
The main PHP script in "ScBlocks - Page Builder Gutenberg Blocks" version 1.2.0 is automatically included on every request by WordPress
69 characters long description:
A collection of Gutenberg Blocks that help you build WordPress sites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin3,493 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 260 | 725 | 3,458 |
CSS | 2 | 0 | 0 | 29 |
JavaScript | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.07 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 14 | 13.86% |
▷ Public methods | 99 | 98.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.98% |
Functions | 37 | |
▷ Named functions | 4 | 10.81% |
▷ Anonymous functions | 33 | 89.19% |
Constants | 13 | |
▷ Global constants | 3 | 23.08% |
▷ Class constants | 10 | 76.92% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin