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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.19ms] Passed 4 tests
Analyzing server-side resources used by Turbocharged Testimonial Block
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.96 ▼0.10 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.34 ▼2.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.98 ▲2.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.53 ▼15.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.63 ▼1.84 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Turbocharged Testimonial Block
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.40 ▼0.16 | 2.16 ▲0.38 | 45.50 ▲4.74 |
Dashboard /wp-admin | 2,223 ▲23 | 5.84 ▼0.02 | 99.58 ▼3.38 | 40.61 ▼1.21 |
Posts /wp-admin/edit.php | 2,099 ▼1 | 1.99 ▲0.00 | 36.20 ▼1.74 | 33.20 ▼3.22 |
Add New Post /wp-admin/post-new.php | 6,196 ▲4,650 | 19.20 ▼3.94 | 870.07 ▲219.41 | 60.51 ▲6.64 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.23 ▼0.03 | 93.82 ▼13.39 | 42.62 ▼5.59 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: wordpress blocks, gutenberg blocks, block, gutenberg, blocks...
turbocharged-testimonial-block/Plugin.php 77% from 13 tests
The main file in "Turbocharged Testimonial Block" v. 1.0.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("turbocharged-testimonial-block.php" instead of "Plugin.php")
- Domain Path: The domain path folder was not found ("/languages")
- Description: The description should be shorter than 140 characters (currently 152 characters long)
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 plugin2,651 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 110 | 139 | 1,509 |
PHP | 14 | 222 | 298 | 620 |
CSS | 4 | 95 | 12 | 312 |
JSON | 2 | 0 | 0 | 129 |
Sass | 3 | 16 | 5 | 81 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 17 | 40.48% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.28MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/assets/img/is-style-third-flipped.png | 30.56KB | 8.69KB | ▼ 71.58% |
src/assets/img/is-style-full.png | 32.64KB | 10.82KB | ▼ 66.84% |
src/assets/img/is-style-third.png | 30.83KB | 8.62KB | ▼ 72.03% |
src/assets/img/is-style-circle-left.png | 17.80KB | 5.09KB | ▼ 71.39% |
src/assets/img/is-style-half.png | 43.02KB | 11.99KB | ▼ 72.12% |