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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.63MB] [CPU: ▲8.49ms] Passed 4 tests
An overview of server-side resources used by Easy Client Testimonial
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.88 ▲1.42 | 51.85 ▲4.84 |
Dashboard /wp-admin | 5.01 ▲1.71 | 60.36 ▲7.59 |
Posts /wp-admin/edit.php | 5.04 ▲1.68 | 64.86 ▲13.40 |
Add New Post /wp-admin/post-new.php | 7.61 ▲1.72 | 107.40 ▲8.12 |
Media Library /wp-admin/upload.php | 4.94 ▲1.71 | 57.37 ▲19.87 |
Add New /wp-admin/post-new.php?post_type=nice_testi_all_post | 5.40 | 65.79 |
All Testimonial /wp-admin/edit.php?post_type=nice_testi_all_post | 4.98 | 52.16 |
Settings /wp-admin/edit.php?post_type=nice_testi_all_post&page=nice_testi_options | 7.10 | 52.64 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 157 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
_nice_testi_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Client Testimonial
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲208 | 13.88 ▼0.76 | 8.19 ▲6.40 | 38.49 ▼8.15 |
Dashboard /wp-admin | 2,249 ▲72 | 5.68 ▲0.10 | 91.43 ▼0.87 | 38.17 ▼7.42 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 2.05 ▲0.04 | 41.80 ▲2.42 | 37.14 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 22.92 ▼0.27 | 695.11 ▲15.76 | 56.83 ▼2.34 |
Media Library /wp-admin/upload.php | 1,448 ▲51 | 4.33 ▲0.11 | 100.14 ▼2.52 | 45.28 ▲2.28 |
Add New /wp-admin/post-new.php?post_type=nice_testi_all_post | 2,357 | 7.83 | 179.73 | 69.31 |
All Testimonial /wp-admin/edit.php?post_type=nice_testi_all_post | 1,115 | 1.98 | 37.86 | 31.45 |
Settings /wp-admin/edit.php?post_type=nice_testi_all_post&page=nice_testi_options | 1,443 | 3.88 | 57.94 | 44.62 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- _nice_testi_options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 40× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/helper-functions.php:131
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/easy-client-testimonial/assets/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3 in easy-client-testimonial/assets to your readme.txt
easy-client-testimonial/testimonial.php 69% from 13 tests
"Easy Client Testimonial" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-client-testimonial.php" instead of "testimonial.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Requires PHP: Required version does not match the one declared in readme.txt ("7.0.0" instead of "7.2")
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "5.2")
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 plugin13,915 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 116 | 3,772 | 6,862 | 12,280 |
JavaScript | 11 | 362 | 597 | 1,487 |
CSS | 9 | 2 | 10 | 148 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 20.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 119 | |
▷ Abstract classes | 11 | 9.24% |
▷ Concrete classes | 108 | 90.76% |
▷ Final classes | 0 | 0.00% |
Methods | 715 | |
▷ Static methods | 119 | 16.64% |
▷ Public methods | 623 | 87.13% |
▷ Protected methods | 89 | 12.45% |
▷ Private methods | 3 | 0.42% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.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
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
assets/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
assets/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
assets/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |