Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.65MB] [CPU: ▼15.90ms] Passed 4 tests
This is a short check of server-side resources used by Best Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.27 ▼3.11 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.36 ▼0.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 44.52 ▼0.51 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.75 | 36.48 ▼58.49 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.26 ▼1.47 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.32 | 34.29 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial | 3.14 | 34.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Best Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲59 | 13.55 ▼0.99 | 1.65 ▼0.33 | 38.08 ▼6.98 |
Dashboard /wp-admin | 2,236 ▲48 | 5.81 ▼0.09 | 96.29 ▼5.12 | 37.24 ▼7.73 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.05 ▲0.05 | 34.32 ▼6.67 | 31.19 ▼6.03 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.13 ▲0.06 | 642.77 ▼28.75 | 53.07 ▼7.17 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.26 ▲0.07 | 95.67 ▼3.96 | 40.21 ▼4.97 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,080 | 2.00 | 31.42 | 30.08 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial | 2,318 | 7.58 | 171.55 | 67.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Warning in wp-includes/class-wp-hook.php+312
call_user_func_array() expects parameter 1 to be a valid callback, function 'custom_add_save' not found or invalid function name
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: post, testimonials, list, grid
best-testimonials/main.php 92% from 13 tests
The principal PHP file in "Best Testimonials" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("best-testimonials.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected166 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 21 | 166 |
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.20 |
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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin