Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.84ms] Passed 4 tests
This is a short check of server-side resources used by ESB Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.31 ▼11.07 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.49 ▲0.24 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.04 ▲4.52 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 92.18 ▲5.48 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.00 ▲2.96 |
Generate Shortcode /wp-admin/edit.php?post_type=esb_testimonials&page=esb_tm_gen_stcd | 3.42 | 32.94 |
Add New /wp-admin/post-new.php?post_type=esb_testimonials | 3.50 | 52.73 |
All Testimonials /wp-admin/edit.php?post_type=esb_testimonials | 3.38 | 34.11 |
Categories /wp-admin/edit-tags.php?taxonomy=esbtestimonials&post_type=esb_testimonials | 3.33 | 33.05 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
esb_tm_set_option |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
esbtestimonials_children |
esb_tm_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ESB Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲205 | 14.39 ▲0.01 | 6.02 ▲4.05 | 41.30 ▼1.11 |
Dashboard /wp-admin | 2,266 ▲78 | 5.25 ▲0.19 | 120.55 ▲11.47 | 39.36 ▼6.01 |
Posts /wp-admin/edit.php | 2,157 ▲68 | 2.37 ▲0.35 | 47.09 ▲11.52 | 34.75 ▼2.13 |
Add New Post /wp-admin/post-new.php | 1,565 ▲51 | 17.82 ▲0.06 | 614.42 ▲2.27 | 33.39 ▼25.37 |
Media Library /wp-admin/upload.php | 1,448 ▲63 | 4.52 ▲0.37 | 100.33 ▼0.73 | 41.97 ▼0.65 |
Generate Shortcode /wp-admin/edit.php?post_type=esb_testimonials&page=esb_tm_gen_stcd | 2,076 | 2.73 | 68.88 | 30.67 |
Add New /wp-admin/post-new.php?post_type=esb_testimonials | 2,509 | 8.05 | 189.15 | 66.42 |
All Testimonials /wp-admin/edit.php?post_type=esb_testimonials | 1,177 | 2.31 | 39.97 | 30.57 |
Categories /wp-admin/edit-tags.php?taxonomy=esbtestimonials&post_type=esb_testimonials | 1,333 | 2.14 | 36.00 | 25.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- esbtestimonials_children
- 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Requires at least: Version not formatted correctly
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
esb-testimonials/esb-testimonials.php Passed 13 tests
The main PHP file in "ESB Testimonials" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
Display testimonials with slider, grid or list view used with dynamic shortcode.
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
There were no executable files found in this plugin3,250 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 204 | 144 | 1,049 |
CSS | 3 | 19 | 11 | 900 |
PHP | 9 | 189 | 179 | 781 |
SVG | 1 | 0 | 0 | 520 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin