Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.31ms] Passed 4 tests
Server-side resources used by Advnaced Background for Gutenberg Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 33.74 ▼6.63 |
Dashboard /wp-admin | 3.37 ▲0.02 | 43.47 ▼17.17 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.86 ▼1.56 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 82.36 ▼10.58 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.46 ▼2.87 |
Section Builder /wp-admin/tools.php?page=scbb-section-builder | 3.26 | 29.88 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Advnaced Background for Gutenberg Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲52 | 14.24 ▲0.19 | 1.71 ▲0.02 | 37.10 ▼6.73 |
Dashboard /wp-admin | 2,201 ▲20 | 5.50 ▼0.20 | 84.52 ▼28.89 | 40.49 ▼6.22 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 1.94 ▼0.06 | 39.00 ▲2.00 | 36.19 ▲0.85 |
Add New Post /wp-admin/post-new.php | 6,371 ▲4,845 | 27.53 ▲4.30 | 913.27 ▲236.42 | 55.76 ▲1.19 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.21 ▲0.02 | 96.83 ▼11.14 | 40.58 ▼7.32 |
Section Builder /wp-admin/tools.php?page=scbb-section-builder | 1,292 | 9.04 | 273.93 | 72.20 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/section-builder-block/admin/admin.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in section-builder-block/assets to your readme.txt
section-builder-block/plugin.php 69% from 13 tests
"Advnaced Background for Gutenberg Blocks" version 1.5.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("section-builder-block.php" instead of "plugin.php")
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.7")
- Description: Please don't use more than 140 characters for the plugin description (currently 216 characters long)
- Requires PHP: The required version number must match the one declared in readme.txt ("5.4" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,368 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 94 | 129 | 1,765 |
CSS | 4 | 37 | 14 | 231 |
PHP | 3 | 28 | 67 | 169 |
JSON | 1 | 0 | 0 | 148 |
Sass | 2 | 4 | 0 | 55 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin