Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.13ms] Passed 4 tests
This is a short check of server-side resources used by Super Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.71 ▼3.70 |
Dashboard /wp-admin | 3.37 ▲0.02 | 47.94 ▼11.83 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.53 ▼10.65 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.41 ▲0.11 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.27 ▼2.32 |
Frontend Submission /wp-admin/edit.php?post_type=ktsprotype&page=frontend-form-options | 3.27 | 35.66 |
All Shortcode /wp-admin/edit.php?post_type=tptscode | 3.34 | 39.24 |
All Testimonials /wp-admin/edit.php?post_type=ktsprotype | 3.34 | 37.09 |
doc & Support /wp-admin/edit.php?post_type=ktsprotype&page=testimonial_pro_shortcode | 3.29 | 32.60 |
Categories /wp-admin/edit-tags.php?taxonomy=ktspcategory&post_type=ktsprotype | 3.38 | 36.31 |
Generate Shortcode /wp-admin/post-new.php?post_type=tptscode | 3.34 | 48.05 |
New Testimonial /wp-admin/post-new.php?post_type=ktsprotype | 3.38 | 58.76 |
Server storage [IO: ▲1.28MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 63 new files
Database: no new tables, 8 new options
New WordPress options |
---|
st_user_fields |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
testimonial_installed |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Super Testimonials: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲217 | 13.82 ▼0.53 | 10.79 ▲9.04 | 44.58 ▲0.75 |
Dashboard /wp-admin | 2,246 ▲66 | 5.65 ▲0.02 | 85.74 ▼5.17 | 37.22 ▼6.39 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 1.95 ▲0.00 | 38.26 ▼4.34 | 33.18 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.36 ▲0.19 | 634.01 ▲1.60 | 53.40 ▲2.24 |
Media Library /wp-admin/upload.php | 1,454 ▲57 | 4.23 ▲0.08 | 96.95 ▼4.95 | 44.05 ▼0.33 |
Frontend Submission /wp-admin/edit.php?post_type=ktsprotype&page=frontend-form-options | 1,235 | 1.92 | 29.20 | 31.87 |
All Shortcode /wp-admin/edit.php?post_type=tptscode | 1,165 | 2.23 | 35.38 | 29.68 |
All Testimonials /wp-admin/edit.php?post_type=ktsprotype | 1,177 | 2.20 | 35.78 | 30.58 |
doc & Support /wp-admin/edit.php?post_type=ktsprotype&page=testimonial_pro_shortcode | 900 | 1.93 | 30.60 | 43.57 |
Categories /wp-admin/edit-tags.php?taxonomy=ktspcategory&post_type=ktsprotype | 1,322 | 2.12 | 27.56 | 31.91 |
Generate Shortcode /wp-admin/post-new.php?post_type=tptscode | 5,933 | 3.54 | 161.78 | 35.83 |
New Testimonial /wp-admin/post-new.php?post_type=ktsprotype | 1,942 | 3.77 | 67.17 | 37.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- testimonial_installed
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- st_user_fields
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ktsprotype
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/super-testimonial/tp-testimonials.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=tptscode
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'value')" "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/super-testimonial/admin/js/tp-testimonial-admin.js?ver=1.0:135:28)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=tptscode
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'value')
Optimizations
Plugin configuration 93% 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
7 plugin tags: testimonial, testimonial widget, testimonial shortcode, client review, testimonial slider...
super-testimonial/tp-testimonials.php 85% from 13 tests
This is the main PHP file of "Super Testimonials" version 3.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 263 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("super-testimonial.php" instead of "tp-testimonials.php")
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
Success! There were no dangerous files found in this plugin9,770 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 372 | 323 | 3,867 |
CSS | 6 | 14 | 31 | 2,729 |
JavaScript | 4 | 588 | 966 | 2,489 |
SVG | 1 | 0 | 0 | 685 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontend/images/laquo.png | 1.13KB | 0.29KB | ▼ 74.65% |
frontend/css/grabbing.png | 0.11KB | 0.14KB | 0.00% |
frontend/images/photo-bg.png | 0.07KB | 0.09KB | 0.00% |
frontend/images/raquo.png | 1.11KB | 0.28KB | ▼ 74.50% |
frontend/images/block.png | 17.35KB | 11.25KB | ▼ 35.14% |