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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.90ms] Passed 4 tests
An overview of server-side resources used by Blocks Kit - Gutenberg Blocks for Freelancers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.42 ▲0.60 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.12 ▼7.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.79 ▲0.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.91 ▼14.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.40 ▼1.56 |
Server storage [IO: ▲2.85MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Blocks Kit - Gutenberg Blocks for Freelancers
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.27 ▼1.03 | 1.91 ▼0.11 | 41.88 ▼3.29 |
Dashboard /wp-admin | 2,203 ▲15 | 5.77 ▲0.89 | 101.35 ▼18.73 | 39.25 ▼2.54 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.03 ▼0.01 | 36.32 ▼1.60 | 31.49 ▼4.25 |
Add New Post /wp-admin/post-new.php | 6,188 ▲4,649 | 19.40 ▲1.29 | 941.70 ▲267.45 | 42.37 ▼15.48 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.23 ▼0.05 | 99.57 ▲0.76 | 39.38 ▼5.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blocks-kit/includes/feedback.php:45
- > PHP Warning
Use of undefined constant DAY_IN_SECONDS - assumed 'DAY_IN_SECONDS' (this will throw an Error in a future version of PHP) in wp-content/plugins/blocks-kit/includes/feedback.php on line 178
- > 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)
There were no browser issues 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
7 plugin tags: gutenberg, blocks, blocks kit, page builder, editor...
blocks-kit/blocks-kit.php Passed 13 tests
"Blocks Kit - Gutenberg Blocks for Freelancers" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
106 characters long description:
Additional Gutenberg Blocks for Editors, Content Writers and freelancers with advanced styles and options.
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
Everything looks great! No dangerous files found in this plugin13,668 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 1,851 | 57 | 4,383 |
JavaScript | 21 | 141 | 184 | 4,290 |
SVG | 3 | 0 | 0 | 3,927 |
Sass | 15 | 20 | 15 | 881 |
PHP | 3 | 42 | 113 | 187 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 5.60 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 13.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin