Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.14ms] Passed 4 tests
Analyzing server-side resources used by Testimonials Slider Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.09 ▼1.22 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.39 ▼14.10 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.11 ▼6.57 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.02 ▼10.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.55 ▲4.61 |
Server storage [IO: ▲3.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonials Slider Block
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲130 | 13.59 ▼0.68 | 10.78 ▲9.26 | 41.24 ▲2.84 |
Dashboard /wp-admin | 2,195 ▲15 | 5.52 ▼0.12 | 82.65 ▼0.55 | 43.43 ▼0.68 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.03 ▲0.08 | 35.97 ▼0.98 | 31.82 ▼0.39 |
Add New Post /wp-admin/post-new.php | 6,381 ▲4,855 | 24.65 ▲1.36 | 907.82 ▲269.08 | 43.51 ▼15.82 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.21 ▼0.00 | 95.39 ▼5.59 | 45.53 ▲1.69 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
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 a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is required in testimonials-slider-block/assets to your readme.txt
testimonials-slider-block/testimonials-slider-block.php Passed 13 tests
Analyzing the main PHP file in "Testimonials Slider Block" version 1.2.3
119 characters long description:
Testimonials Slider Block allows you to add a testimonials slider block to your WordPress content via the block editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin22,365 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 17,730 |
SVG | 3 | 0 | 0 | 3,927 |
JavaScript | 7 | 22 | 395 | 492 |
Sass | 2 | 27 | 2 | 157 |
PHP | 2 | 10 | 46 | 30 |
Markdown | 1 | 12 | 0 | 25 |
CSS | 4 | 0 | 10 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 2 | |
▷ Named functions | 2 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin