Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.69ms] 75% from 4 tests
Analyzing server-side resources used by Testimonial - Customer Feedback, client testimonial, Review
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 620.52ms on /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 34.24 ▼3.78 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.97 ▼16.91 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.34 ▲1.99 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 80.77 ▼21.20 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 34.03 ▼0.86 |
Featured Plugin /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page | 3.45 | 620.52 |
All Testimonial /wp-admin/edit.php?post_type=testimonial-maker | 3.36 | 37.12 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial-maker | 3.43 | 46.50 |
Testimonial Setting /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-setting-page | 3.40 | 30.74 |
Server storage [IO: ▲3.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Testimonial - Customer Feedback, client testimonial, Review
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.72 ▲0.37 | 1.76 ▲0.19 | 43.98 ▲5.01 |
Dashboard /wp-admin | 2,230 ▲50 | 5.64 ▼0.22 | 81.78 ▼3.52 | 36.79 ▼3.59 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.02 ▲0.02 | 39.05 ▲5.58 | 35.59 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 22.82 ▼0.83 | 643.13 ▼94.05 | 58.37 ▼4.79 |
Media Library /wp-admin/upload.php | 1,435 ▲41 | 4.24 ▼0.00 | 101.69 ▲1.46 | 44.34 ▲1.42 |
Featured Plugin /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page | 3,340 | 1.76 | 28.66 | 226.51 |
All Testimonial /wp-admin/edit.php?post_type=testimonial-maker | 1,108 | 1.98 | 29.69 | 30.32 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial-maker | 2,249 | 7.68 | 161.59 | 62.01 |
Testimonial Setting /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-setting-page | 1,413 | 1.94 | 32.66 | 51.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/testimonial-maker/featured-plugins/featured-plugins.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/testimonial-maker/our-theme/awp-theme.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page
- > Network (severe)
wp-content/plugins/testimonial-maker/css/bootstrap.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page
- > Network (severe)
wp-content/plugins/testimonial-maker/js/bootstrap.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page
- > Network (severe)
wp-content/plugins/testimonial-maker/js/featured-plugins/acl-media-upload-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page
- > Network (severe)
wp-content/plugins/testimonial-maker/js/featured-plugins/bootstrap.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page
- > Network (severe)
wp-content/plugins/testimonial-maker/featured-plugins/fonts/bootstrap/glyphicons-halflings-regular-2.html - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=testimonial-maker&page=tmonial-featured-page
- > Network (severe)
wp-content/plugins/testimonial-maker/featured-plugins/fonts/bootstrap/glyphicons-halflings-regular-3.html - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: easy testimonial, client feedback, client testimonial, testimonials, testimonial
testimonial-maker/testimonial-maker.php Passed 13 tests
"Testimonial - Customer Feedback, client testimonial, Review" version 1.1.21's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
41 characters long description:
A very easy Plugin for make testimonials.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected26,412 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 2,814 | 117 | 20,747 |
JavaScript | 5 | 843 | 346 | 3,331 |
PHP | 5 | 100 | 63 | 1,228 |
SVG | 2 | 0 | 0 | 973 |
PO File | 1 | 58 | 58 | 133 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 2 | 18.18% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.75MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/img/tml-plugin-img.png | 53.96KB | 21.15KB | ▼ 60.80% |
include/img/templet-2.png | 106.53KB | 41.36KB | ▼ 61.18% |
include/img/tml-testi-img.png | 272.04KB | 100.69KB | ▼ 62.99% |
our-theme/img/aneeq-premium.png | 165.42KB | 57.84KB | ▼ 65.04% |
include/img/templet-3.png | 65.69KB | 25.79KB | ▼ 60.75% |