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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.48ms] Passed 4 tests
Server-side resources used by Blockly - Gutenberg Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.56 ▼3.69 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.28 ▼17.56 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.39 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 125.00 ▲37.49 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.28 ▼2.56 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 114 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Blockly - Gutenberg Blocks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.69 ▼0.69 | 1.66 ▼0.30 | 40.31 ▼8.87 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▲0.90 | 98.24 ▼20.44 | 42.37 ▼3.87 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.05 ▲0.08 | 39.42 ▲2.69 | 36.10 ▲1.59 |
Add New Post /wp-admin/post-new.php | 6,294 ▲4,775 | 20.47 ▼2.80 | 866.67 ▲187.15 | 60.10 ▲7.94 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.14 ▼0.03 | 94.18 ▼9.45 | 43.21 ▼0.58 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blockly/src/blocks/alert/index.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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 your attention:
- Screenshots: Please add images for these screenshots: #7 (Alert or Notice box block), #8 (FAQs)
blockly/class-blockly.php 92% from 13 tests
"Blockly - Gutenberg Blocks" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("blockly.php" instead of "class-blockly.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin16,829 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 76 | 1,791 | 1,510 | 12,880 |
Sass | 20 | 426 | 56 | 2,090 |
CSS | 3 | 200 | 96 | 1,532 |
PHP | 7 | 84 | 265 | 327 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 26 | |
▷ Static methods | 3 | 11.54% |
▷ Public methods | 24 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.69% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
PNG images were not found in this plugin