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
Install script ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼8.02ms] Passed 4 tests
This is a short check of server-side resources used by Testimonial Gutenberg Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 46.05 ▲5.07 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.21 ▲0.04 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 44.65 ▼1.12 |
Add New Post /wp-admin/post-new.php | 4.90 ▼0.98 | 50.73 ▼31.43 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 35.19 ▲0.45 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Testimonial Gutenberg Block
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 13.23 ▼1.13 | 2.01 ▼0.05 | 44.86 ▼2.57 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.01 | 103.54 ▼5.64 | 43.17 ▲2.24 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.00 | 33.59 ▼3.38 | 36.00 ▲1.74 |
Add New Post /wp-admin/post-new.php | 6,193 ▲4,673 | 22.86 ▼0.19 | 888.77 ▲223.02 | 74.13 ▲22.39 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▼0.09 | 96.32 ▼1.51 | 42.44 ▼0.71 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6, #7 in testimonial-block/assets to your readme.txt
testimonial-block/jms-testimonialblock.php 85% from 13 tests
The entry point to "Testimonial Gutenberg Block" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("testimonial-block.php" instead of "jms-testimonialblock.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,630 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 247 | 46 | 1,144 |
PHP | 12 | 107 | 193 | 468 |
JSON | 4 | 0 | 0 | 10 |
JavaScript | 3 | 6 | 26 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 5 | 15.15% |
▷ Public methods | 30 | 90.91% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 1 | 3.03% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |