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
Installer ran successfully
Server metrics [RAM: ▲3.83MB] [CPU: ▼273.45ms] Passed 4 tests
Server-side resources used by BlockyPage - Gutenberg Based Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.91 ▲4.39 | 126.05 ▲70.06 |
Dashboard /wp-admin | 7.92 ▲4.52 | 59.75 ▲23.14 |
Posts /wp-admin/edit.php | 7.93 ▲4.29 | 61.53 ▲21.26 |
Add New Post /wp-admin/post-new.php | 9.10 ▲2.13 | 105.53 ▼1,167.86 |
Media Library /wp-admin/upload.php | 7.93 ▲4.63 | 57.19 ▲29.65 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 7.93 | 45.34 |
Server storage [IO: ▲23.76MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 199 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_api_cache |
fs_debug_mode |
fs_accounts |
fs_active_plugins |
fs_gdpr |
Browser metrics Passed 4 tests
An overview of browser requirements for BlockyPage - Gutenberg Based Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,969 ▲247 | 17.17 ▲1.52 | 25.50 ▲19.58 | 2.13 ▲0.05 |
Dashboard /wp-admin | 2,941 ▲87 | 6.14 ▼0.03 | 124.61 ▼41.51 | 184.63 ▼19.30 |
Posts /wp-admin/edit.php | 2,761 ▲70 | 3.25 ▲0.02 | 64.32 ▼3.85 | 156.27 ▲14.88 |
Add New Post /wp-admin/post-new.php | 1,710 ▲49 | 51.89 ▲35.64 | 845.79 ▲398.33 | 141.61 ▼16.93 |
Media Library /wp-admin/upload.php | 1,750 ▲53 | 5.54 ▲0.03 | 139.32 ▼34.32 | 213.33 ▲27.81 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 1,465 | 2.50 | 52.61 | 129.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 5 options in the database
- fs_accounts
- fs_active_plugins
- fs_api_cache
- fs_gdpr
- fs_debug_mode
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/blockypage/freemius/templates/ajax-loader.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/blockypage/freemius/templates/partials/network-activation.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/blockypage/page-templates/boxed.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/blockypage/freemius/templates/account/partials/addon.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/blockypage/page-templates/full-width.php:1
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-content/plugins/blockypage/dist/css/style.css?v=1.2.4&ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-content/plugins/blockypage/dist/js/common-script.js?v=1.2.4 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== blockypage ===
) - Screenshots: Add descriptions for screenshots #1, #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #2, #20, #21, #22, #23, #24, #25, #26, #27, #3, #3, #4, #4, #5, #6, #6, #7, #7, #8, #9 in blockypage/assets to your readme.txt
blockypage/plugin.php 92% from 13 tests
The entry point to "BlockyPage - Gutenberg Based Page Builder" version 1.2.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("blockypage.php" instead of "plugin.php")
Code Analysis 97% from 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
There were no executable files found in this plugin50,195 lines of code in 145 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 6,787 | 15,401 | 28,365 |
PO File | 10 | 5,710 | 6,913 | 12,558 |
SVG | 3 | 0 | 12 | 8,777 |
JavaScript | 7 | 34 | 59 | 198 |
Markdown | 1 | 61 | 0 | 192 |
CSS | 15 | 0 | 4 | 78 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,609)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 81.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,609.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 2 | 4.35% |
▷ Concrete classes | 44 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 1,085 | |
▷ Static methods | 171 | 15.76% |
▷ Public methods | 753 | 69.40% |
▷ Protected methods | 15 | 1.38% |
▷ Private methods | 317 | 29.22% |
Functions | 109 | |
▷ Named functions | 109 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 119 | |
▷ Global constants | 96 | 80.67% |
▷ Class constants | 23 | 19.33% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
images/blpge_logo.png | 1.74KB | 0.67KB | ▼ 61.59% |
images/blocky.png | 10.21KB | 4.68KB | ▼ 54.14% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/blockypage.png | 9.16KB | 5.26KB | ▼ 42.58% |