Benchmarks
Plugin footprint Passed 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.89MB] [CPU: ▼304.18ms] Passed 4 tests
Server-side resources used by Best Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 59.78 ▲8.33 |
Dashboard /wp-admin | 3.46 ▲0.06 | 41.34 ▲1.09 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 88.45 ▲48.45 |
Add New Post /wp-admin/post-new.php | 3.27 ▼3.69 | 30.86 ▼1,226.95 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 26.37 ▲0.82 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.37 | 26.69 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial | 3.27 | 27.13 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Best Testimonials
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲77 | 15.59 ▲0.29 | 6.03 ▼1.06 | 2.24 ▲0.01 |
Dashboard /wp-admin | 2,912 ▲51 | 6.15 ▲0.00 | 119.29 ▼19.02 | 163.91 ▼4.44 |
Posts /wp-admin/edit.php | 2,725 ▲34 | 3.24 ▼0.00 | 67.27 ▲2.54 | 145.06 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,734 ▲44 | 20.67 ▲0.10 | 422.84 ▼30.41 | 167.34 ▼10.86 |
Media Library /wp-admin/upload.php | 1,729 ▲28 | 5.52 ▲0.05 | 131.65 ▼7.55 | 197.17 ▼36.48 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,398 | 3.16 | 64.63 | 150.09 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial | 3,027 | 10.02 | 209.48 | 258.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Warning in wp-includes/class-wp-hook.php+309
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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: testimonials, post, grid, list
best-testimonials/main.php 92% from 13 tests
The primary PHP file in "Best Testimonials" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("best-testimonials.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include 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
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin