Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲0.78ms] Passed 4 tests
An overview of server-side resources used by Testimonial Grid and Testimonial Slider plus Carousel with Rotator Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 42.10 ▲2.86 |
Dashboard /wp-admin | 3.89 ▲0.58 | 46.83 ▼2.10 |
Posts /wp-admin/edit.php | 3.94 ▲0.59 | 52.00 ▲4.95 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.56 | 85.63 ▼2.60 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 38.37 ▲7.22 |
Server storage [IO: ▲2.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 99 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wpos_anylc_redirect |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_sp_testimonials |
widget_recent-posts |
wpos_anylc_site_uid |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Testimonial Grid and Testimonial Slider plus Carousel with Rotator Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,548 ▼1,239 | 13.41 ▼0.99 | 1.47 ▼0.74 | 17.80 ▼27.66 |
Dashboard /wp-admin | 2,221 ▲44 | 5.66 ▲0.13 | 97.83 ▼3.80 | 53.73 ▲8.41 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 2.12 ▲0.11 | 40.95 ▼2.94 | 34.30 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6,227 ▲4,701 | 21.46 ▼1.55 | 884.55 ▲116.13 | 61.24 ▲5.39 |
Media Library /wp-admin/upload.php | 1,416 ▲22 | 4.19 ▲0.00 | 97.89 ▼1.19 | 37.88 ▼6.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- widget_recent-comments
- wpos_anylc_redirect
- widget_theysaidso_widget
- wpos_anylc_site_uid
- db_upgraded
- widget_sp_testimonials
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-testimonial-with-widget/wp-testimonials.php:26
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-testimonial-with-widget/wp-testimonials.php 92% from 13 tests
The entry point to "Testimonial Grid and Testimonial Slider plus Carousel with Rotator Widget" version 3.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-testimonial-with-widget.php" instead of "wp-testimonials.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected7,538 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 801 | 1,264 | 4,102 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 7 | 126 | 58 | 419 |
CSS | 7 | 32 | 38 | 344 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 21.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 2 | 22.22% |
Methods | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 51 | 92.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.27% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
37 PNG files occupy 0.60MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/arrow-left.png | 1.15KB | 0.17KB | ▼ 85.11% |
assets/images/essential-plugin-logo.png | 6.79KB | 2.57KB | ▼ 62.09% |
assets/images/g-logo.png | 41.17KB | 14.04KB | ▼ 65.90% |
wpos-plugins/assets/images/cart-2.png | 2.20KB | 1.82KB | ▼ 17.38% |
assets/images/wpos-team.png | 171.41KB | 48.35KB | ▼ 71.79% |