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
Installer ran successfully
Server metrics [RAM: ▼0.26MB] [CPU: ▼17.37ms] Passed 4 tests
Server-side resources used by Demoify Blocks - Gutenberg Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.30 ▼6.37 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.15 ▼4.74 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.52 ▼6.63 |
Add New Post /wp-admin/post-new.php | 4.81 ▼1.08 | 46.77 ▼51.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.79 ▲1.16 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Demoify Blocks - Gutenberg Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲89 | 13.27 ▼1.06 | 6.78 ▲4.74 | 38.43 ▼4.11 |
Dashboard /wp-admin | 2,203 ▲35 | 5.81 ▼0.20 | 108.39 ▲4.27 | 39.85 ▼0.93 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.06 ▲0.01 | 39.90 ▼4.47 | 35.73 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6,365 ▲4,851 | 24.19 ▲6.79 | 840.52 ▲120.32 | 39.08 ▼19.75 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▲0.05 | 94.56 ▼6.51 | 41.30 ▼3.66 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #3, #4, #5 in demoify-blocks/assets to your readme.txt
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
demoify-blocks/plugin.php 85% from 13 tests
The main PHP file in "Demoify Blocks - Gutenberg Page Builder" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 275 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("demoify-blocks.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin5,535 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 277 | 359 | 4,403 |
Sass | 25 | 160 | 7 | 960 |
PHP | 2 | 35 | 57 | 61 |
JSON | 1 | 0 | 0 | 56 |
CSS | 3 | 0 | 0 | 39 |
Markdown | 1 | 8 | 0 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin