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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.94MB] [CPU: ▲4.86ms] Passed 4 tests
This is a short check of server-side resources used by Client and Product Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.92 | 44.75 ▲9.07 |
Dashboard /wp-admin | 4.28 ▲0.94 | 55.15 ▼1.39 |
Posts /wp-admin/edit.php | 4.30 ▲0.95 | 49.02 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6.88 ▲0.99 | 112.53 ▲10.61 |
Media Library /wp-admin/upload.php | 4.20 ▲0.97 | 44.22 ▲11.74 |
Upgrade to Pro /wp-admin/edit.php?post_type=testimonial&page=client-and-product-testimonial-upgrade | 4.11 | 38.37 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 4.25 | 44.79 |
New Testimonial /wp-admin/post-new.php?post_type=testimonial | 4.24 | 47.75 |
Settings /wp-admin/edit.php?post_type=testimonial&page=cat_options | 4.55 | 44.81 |
Clients /wp-admin/edit-tags.php?taxonomy=testimonial-clients&post_type=testimonial | 4.19 | 40.57 |
Server storage [IO: ▲2.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 249 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
cat_options |
db_upgraded |
widget_capt_list_widget |
widget_capt_fade_slider_widget |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Client and Product Testimonials
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲93 | 13.62 ▼0.84 | 1.83 ▼0.27 | 44.28 ▲5.19 |
Dashboard /wp-admin | 2,261 ▲70 | 4.91 ▲0.06 | 112.84 ▲7.84 | 47.78 ▲1.63 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.34 ▲0.32 | 42.40 ▲6.44 | 32.20 ▼3.72 |
Add New Post /wp-admin/post-new.php | 1,569 ▲27 | 23.26 ▲4.98 | 575.15 ▼39.87 | 50.42 ▼5.63 |
Media Library /wp-admin/upload.php | 1,440 ▲52 | 4.27 ▲0.00 | 102.22 ▲2.26 | 45.52 ▲3.09 |
Upgrade to Pro /wp-admin/edit.php?post_type=testimonial&page=client-and-product-testimonial-upgrade | 1,157 | 2.32 | 29.57 | 74.38 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,175 | 2.47 | 34.47 | 40.08 |
New Testimonial /wp-admin/post-new.php?post_type=testimonial | 2,599 | 8.05 | 171.28 | 144.70 |
Settings /wp-admin/edit.php?post_type=testimonial&page=cat_options | 1,325 | 3.30 | 45.57 | 76.54 |
Clients /wp-admin/edit-tags.php?taxonomy=testimonial-clients&post_type=testimonial | 1,292 | 2.32 | 26.65 | 28.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_capt_fade_slider_widget
- widget_capt_list_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > User deprecated in wp-includes/functions.php+5828
Hook media_buttons_context is deprecated since version 3.5.0! Use media_buttons instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 36× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'args' of non-object in wp-content/plugins/client-and-product-testimonials/lib/admin/metaboxes/partials/star-rating-metabox.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'Client_and_Product_Testimonials' not found in wp-content/plugins/client-and-product-testimonials/lib/admin/cpt/testimonial-cpt.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/client-and-product-testimonials/lib/public/shortcodes/testimonial-list-shortcode.php:221
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/client-and-product-testimonials/lib/admin/capt-helpers.php:248
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/client-and-product-testimonials/lib/admin/metaboxes/partials/pro-upsell-metabox-template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_term_by() in wp-content/plugins/client-and-product-testimonials/lib/admin/testimonial-submission/process.testimonial-submissions.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/client-and-product-testimonials/lib/public/widgets/testimonial-list-widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/client-and-product-testimonials/lib/admin/upgrade/upgrade-to-pro-page.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/client-and-product-testimonials/lib/admin/metaboxes/partials/star-rating-metabox.php on line 11
- > PHP Notice
Undefined index: testimonial-user-url in wp-content/plugins/client-and-product-testimonials/lib/admin/testimonial-submission/process.testimonial-submissions.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: testimonials, product, testimonial, vimeo, clients...
client-and-product-testimonials/client-and-product-testimonials.php Passed 13 tests
The primary PHP file in "Client and Product Testimonials" version 1.0.1 is used by WordPress to initiate all plugin functionality
69 characters long description:
Easily create powerful client and product testimonials for your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin33,485 lines of code in 173 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 94 | 8,873 | 11,789 | 20,306 |
CSS | 14 | 1,305 | 1,234 | 5,660 |
PHP | 39 | 1,245 | 2,982 | 5,549 |
Sass | 11 | 168 | 23 | 1,116 |
JavaScript | 13 | 182 | 188 | 824 |
SVG | 2 | 0 | 1 | 30 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 34.70 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 242 | |
▷ Static methods | 24 | 9.92% |
▷ Public methods | 232 | 95.87% |
▷ Protected methods | 7 | 2.89% |
▷ Private methods | 3 | 1.24% |
Functions | 71 | |
▷ Named functions | 71 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 8 | 80.00% |
▷ Class constants | 2 | 20.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
27 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/images/CAPT-logo-new.png | 16.87KB | 6.45KB | ▼ 61.75% |
lib/images/youtube-icon.png | 2.30KB | 1.25KB | ▼ 45.84% |
lib/admin/CMB2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
lib/images/linkedin.png | 3.80KB | 1.37KB | ▼ 63.93% |
lib/admin/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |