Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.63ms] Passed 4 tests
Server-side resources used by SKT Blocks - Gutenberg based Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 33.49 ▼4.91 |
Dashboard /wp-admin | 3.36 ▲0.06 | 43.32 ▼3.19 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.27 ▲5.90 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 84.68 ▼0.32 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.31 ▲6.54 |
SKT Blocks /wp-admin/options-general.php?page=skt_blocks | 3.24 | 30.91 |
Server storage [IO: ▲12.87MB] [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: 383 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for SKT Blocks - Gutenberg based Page Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲197 | 14.04 ▼0.34 | 7.25 ▲5.52 | 40.21 ▼6.20 |
Dashboard /wp-admin | 2,222 ▲33 | 5.85 ▲0.91 | 107.21 ▼14.40 | 54.02 ▲10.49 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.04 ▲0.03 | 36.42 ▲0.39 | 45.56 ▲10.41 |
Add New Post /wp-admin/post-new.php | 6,194 ▲4,675 | 23.12 ▼0.22 | 953.16 ▲258.36 | 52.56 ▼13.18 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.19 ▼0.01 | 98.61 ▼7.99 | 55.03 ▲10.37 |
SKT Blocks /wp-admin/options-general.php?page=skt_blocks | 1,332 | 2.02 | 23.48 | 105.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/skt-blocks/skt-blocks.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/accordion/index.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/gallery-masonry/index.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/testimonial-slider/index.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/post-grid/index.php:956
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/image-slider/index.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/post-carousel/index.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/utils/fonts.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-blocks/src/blocks/post-timeline/index.php:1096
- > 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
7 plugin tags: wordpress blocks, editor, gutenberg, blocks, page builder...
skt-blocks/skt-blocks.php 92% from 13 tests
This is the main PHP file of "SKT Blocks - Gutenberg based Page Builder" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin118,606 lines of code in 357 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 224 | 2,662 | 2,054 | 60,453 |
JSON | 6 | 0 | 0 | 37,119 |
Sass | 99 | 1,612 | 102 | 16,789 |
PHP | 18 | 537 | 725 | 3,576 |
CSS | 7 | 221 | 2 | 666 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 8 | 34.78% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 50 | |
▷ Named functions | 50 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
21 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/res-icon10.png | 1.32KB | 0.36KB | ▼ 72.65% |
admin/images/res-icon20.png | 2.08KB | 1.19KB | ▼ 43.08% |
admin/images/res-icon7.png | 1.55KB | 0.91KB | ▼ 41.19% |
admin/images/res-icon18.png | 1.33KB | 0.52KB | ▼ 60.49% |
admin/images/res-icon13.png | 1.83KB | 1.21KB | ▼ 33.60% |