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: ▲1.84MB] [CPU: ▲7.87ms] Passed 4 tests
Analyzing server-side resources used by Rise Blocks - A Complete Gutenberg Page Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.42 ▲1.96 | 54.05 ▲12.00 |
Dashboard /wp-admin | 5.10 ▲1.80 | 51.71 ▼0.93 |
Posts /wp-admin/edit.php | 5.16 ▲1.80 | 56.58 ▲6.75 |
Add New Post /wp-admin/post-new.php | 8.12 ▲2.23 | 114.25 ▲25.80 |
Media Library /wp-admin/upload.php | 5.03 ▲1.80 | 50.62 ▲13.66 |
Server storage [IO: ▲20.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 256 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
rise_blocks_do_redirect |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Rise Blocks - A Complete Gutenberg Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,997 ▲225 | 13.46 ▼0.87 | 8.50 ▲6.66 | 38.44 ▼8.98 |
Dashboard /wp-admin | 2,221 ▲44 | 5.53 ▼0.13 | 91.49 ▼29.47 | 72.77 ▲13.86 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 1.94 ▼0.08 | 38.30 ▼0.42 | 35.32 ▼4.45 |
Add New Post /wp-admin/post-new.php | 1,971 ▲429 | 25.69 ▲0.30 | 947.75 ▲322.81 | 71.75 ▲8.12 |
Media Library /wp-admin/upload.php | 1,441 ▲38 | 4.14 ▼0.09 | 109.11 ▲3.65 | 70.45 ▲24.89 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- rise_blocks_do_redirect
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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)
Good news, no errors were detected
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
The following issues need your attention
- 32× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/buttons.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/heading.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/news-1.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/carousel-post.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/slider.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/rise-blocks/classes/marketplace/template.php:3
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/accordion-item.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Helper' not found in wp-content/plugins/rise-blocks/classes/admin.php:12
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/accordion.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/section.php:11
- > 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 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
6 plugin tags: gutenberg blocks, gutenberg, fse, block, editor...
rise-blocks/plugin.php 92% from 13 tests
Analyzing the main PHP file in "Rise Blocks - A Complete Gutenberg Page Builder" version 3.2
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rise-blocks.php" instead of "plugin.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
Everything looks great! No dangerous files found in this plugin163,603 lines of code in 164 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 27 | 37,819 | 66,507 | 140,492 |
CSS | 55 | 368 | 274 | 7,737 |
JSON | 22 | 0 | 0 | 6,792 |
PHP | 56 | 990 | 2,476 | 5,580 |
SVG | 3 | 2 | 1 | 2,708 |
PO File | 1 | 138 | 170 | 294 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 1 | 3.45% |
▷ Concrete classes | 28 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 167 | |
▷ Static methods | 84 | 50.30% |
▷ Public methods | 151 | 90.42% |
▷ Protected methods | 16 | 9.58% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 1.00MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/img/rate.png | 68.23KB | 22.18KB | ▼ 67.50% |
templates/img/logo.png | 1.52KB | 1.51KB | ▼ 0.51% |
templates/img/play.png | 0.58KB | 0.69KB | 0.00% |
templates/img/drag-drop.png | 72.87KB | 28.02KB | ▼ 61.55% |
img/logo.png | 1.52KB | 1.51KB | ▼ 0.51% |