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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.66ms] Passed 4 tests
An overview of server-side resources used by WPMinds Growth Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.19 ▼3.41 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.77 ▼3.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.46 ▼1.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 77.12 ▼13.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.02 ▲5.10 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WPMinds Growth Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲146 | 13.83 ▼0.90 | 9.58 ▲7.84 | 38.48 ▼5.38 |
Dashboard /wp-admin | 2,198 ▲24 | 5.59 ▼0.07 | 95.33 ▲2.83 | 41.55 ▼1.29 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.07 | 41.71 ▲3.99 | 34.74 ▼3.08 |
Add New Post /wp-admin/post-new.php | 1,656 ▲130 | 21.72 ▼1.68 | 701.37 ▲27.81 | 66.30 ▲14.77 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▼0.03 | 102.74 ▲2.85 | 43.22 ▼0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpminds-growth-blocks/inc/customizer.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: blocks, page building, block enabled, wpminds, gutenberg blocks...
wpminds-growth-blocks/wpminds-growth-blocks.php Passed 13 tests
The main file in "WPMinds Growth Blocks" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
93 characters long description:
WPMinds Growth Blocks is a collection of page building blocks for the Gutenberg block editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin34,791 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 28,057 |
JavaScript | 18 | 325 | 372 | 4,880 |
CSS | 2 | 157 | 9 | 871 |
Sass | 2 | 37 | 0 | 866 |
PHP | 3 | 15 | 53 | 117 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.55MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 222.51KB | 93.09KB | ▼ 58.16% |
assets/screenshot-1.png | 73.32KB | 33.09KB | ▼ 54.87% |
assets/icon-256x256.png | 6.66KB | 3.47KB | ▼ 47.86% |
assets/screenshot-3.png | 73.13KB | 34.22KB | ▼ 53.21% |
assets/screenshot-2.png | 115.98KB | 49.78KB | ▼ 57.08% |