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.09MB] [CPU: ▼1.80ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.61 ▼1.94 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.49 ▼0.19 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.95 ▲0.25 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.76 ▼5.33 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 35.09 ▲1.61 |
Add New /wp-admin/post-new.php?post_type=wpgo_testimonial | 3.48 | 53.95 |
Settings /wp-admin/edit.php?post_type=wpgo_testimonial&page=wpgo-testimonial-settings-page | 3.28 | 32.26 |
Testimonial Groups /wp-admin/edit-tags.php?taxonomy=wpgo_testimonial_group&post_type=wpgo_testimonial | 3.31 | 33.76 |
All Testimonials /wp-admin/edit.php?post_type=wpgo_testimonial | 3.36 | 36.64 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_wpgo_tml_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.41 ▼0.62 | 1.62 ▼0.15 | 44.70 ▼6.85 |
Dashboard /wp-admin | 2,244 ▲56 | 5.85 ▲0.91 | 96.26 ▼12.05 | 37.88 ▲0.78 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.02 ▼0.02 | 35.78 ▼0.14 | 31.16 ▼6.16 |
Add New Post /wp-admin/post-new.php | 1,569 ▲35 | 23.13 ▲0.08 | 681.36 ▲10.00 | 52.64 ▼0.40 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.25 ▲0.06 | 95.25 ▼7.83 | 40.54 ▼7.85 |
Add New /wp-admin/post-new.php?post_type=wpgo_testimonial | 2,925 | 7.86 | 179.84 | 73.26 |
Settings /wp-admin/edit.php?post_type=wpgo_testimonial&page=wpgo-testimonial-settings-page | 818 | 2.03 | 25.00 | 29.39 |
Testimonial Groups /wp-admin/edit-tags.php?taxonomy=wpgo_testimonial_group&post_type=wpgo_testimonial | 1,330 | 2.14 | 26.17 | 28.04 |
All Testimonials /wp-admin/edit.php?post_type=wpgo_testimonial | 1,207 | 1.96 | 32.09 | 31.73 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_wpgo_tml_widget
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultimate-testimonials/lib/classes/templates/testimonial-post-templates.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ultimate-testimonials/wpgo-ultimate-testimonials.php:152
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-testimonials/lib/classes/widgets/widget-tml.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
No tags were found
ultimate-testimonials/wpgo-ultimate-testimonials.php 92% from 13 tests
Analyzing the main PHP file in "Ultimate Testimonials" version 0.2
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-testimonials.php" instead of "wpgo-ultimate-testimonials.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,637 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 438 | 575 | 1,434 |
CSS | 4 | 57 | 66 | 201 |
JavaScript | 1 | 7 | 13 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 18 | 20.69% |
▷ Public methods | 79 | 90.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 9.20% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin