Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.69ms] Passed 4 tests
Analyzing server-side resources used by Testimonial Gutenberg Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.72 ▼1.31 |
Dashboard /wp-admin | 3.36 ▲0.01 | 42.63 ▼20.42 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.28 ▲0.01 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.06 ▼4.27 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.78 ▼0.77 |
Testimonial Blocks /wp-admin/tools.php?page=etb-blocks | 3.25 | 30.56 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Testimonial Gutenberg Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲78 | 14.20 ▼0.51 | 1.96 ▲0.27 | 44.22 ▼0.87 |
Dashboard /wp-admin | 2,193 ▲18 | 5.55 ▼0.11 | 84.32 ▼23.37 | 38.15 ▼5.31 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.96 ▼0.04 | 40.21 ▲5.35 | 35.57 ▲1.15 |
Add New Post /wp-admin/post-new.php | 6,375 ▲4,849 | 27.78 ▲4.51 | 878.16 ▲194.42 | 35.95 ▼18.64 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.26 ▲0.06 | 95.26 ▼2.29 | 40.08 ▼4.30 |
Testimonial Blocks /wp-admin/tools.php?page=etb-blocks | 1,366 | 9.02 | 284.52 | 57.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- 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)
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-testimonial-blocks/admin/admin-class.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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2 in easy-testimonial-blocks/assets to your readme.txt
easy-testimonial-blocks/plugin.php 85% from 13 tests
The primary PHP file in "Testimonial Gutenberg Blocks" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-testimonial-blocks.php" instead of "plugin.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.6" instead of "5.7")
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
No dangerous file extensions were detected964 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 84 | 91 | 410 |
JSON | 2 | 0 | 0 | 275 |
JavaScript | 5 | 14 | 5 | 143 |
CSS | 5 | 28 | 2 | 136 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin