Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼2.51ms] Passed 4 tests
Server-side resources used by Testimonial
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 47.60 ▲5.63 |
Dashboard /wp-admin | 3.66 ▲0.35 | 64.90 ▲15.68 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 53.30 ▼1.38 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 87.44 ▼18.14 |
Media Library /wp-admin/upload.php | 3.50 ▲0.26 | 40.12 ▲3.86 |
Categories /wp-admin/edit-tags.php?taxonomy=tctestimonial_category&post_type=tctestimonial | 3.52 | 43.31 |
Testimonial Settings /wp-admin/edit.php?post_type=tctestimonial&page=tct-settings | 3.50 | 41.40 |
Help & Upgrade /wp-admin/edit.php?post_type=tctestimonial&page=tcodes_testimonial_menu_help | 3.50 | 39.24 |
Add New /wp-admin/post-new.php?post_type=tctestimonial | 3.62 | 72.40 |
All Testimonials /wp-admin/edit.php?post_type=tctestimonial | 3.57 | 47.61 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 9 new options
New WordPress options |
---|
tct_basics |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
tct_advanced |
widget_recent-comments |
tct_styles |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,107 ▲346 | 15.01 ▲0.61 | 6.47 ▲4.86 | 42.23 ▼4.58 |
Dashboard /wp-admin | 2,387 ▲210 | 6.39 ▲0.74 | 119.13 ▲24.87 | 43.68 ▼0.26 |
Posts /wp-admin/edit.php | 2,318 ▲218 | 3.51 ▲1.53 | 49.86 ▲7.75 | 34.87 ▲1.41 |
Add New Post /wp-admin/post-new.php | 6,306 ▲4,780 | 26.12 ▲3.24 | 907.81 ▲211.62 | 40.20 ▼13.29 |
Media Library /wp-admin/upload.php | 1,458 ▲61 | 4.32 ▲0.09 | 88.06 ▼15.27 | 45.59 ▲0.21 |
Categories /wp-admin/edit-tags.php?taxonomy=tctestimonial_category&post_type=tctestimonial | 1,498 | 3.31 | 45.15 | 31.28 |
Testimonial Settings /wp-admin/edit.php?post_type=tctestimonial&page=tct-settings | 2,625 | 3.88 | 103.68 | 26.47 |
Help & Upgrade /wp-admin/edit.php?post_type=tctestimonial&page=tcodes_testimonial_menu_help | 1,594 | 10.20 | 305.56 | 76.73 |
Add New /wp-admin/post-new.php?post_type=tctestimonial | 2,368 | 7.91 | 174.55 | 67.40 |
All Testimonials /wp-admin/edit.php?post_type=tctestimonial | 1,326 | 3.62 | 45.20 | 29.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- tct_styles
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- tct_advanced
- tct_basics
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tc-testimonial/lib/tc-testimonial-help-upgrade.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tc-testimonial/lib/tc-testimonial-metabox.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tc-testimonial/tc-testimonial.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 29 tag instead of maximum 10
tc-testimonial/tc-testimonial.php 85% from 13 tests
The main file in "Testimonial" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
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
No dangerous file extensions were detected3,320 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 450 | 857 | 1,764 |
PHP | 10 | 233 | 248 | 996 |
CSS | 5 | 48 | 46 | 490 |
Markdown | 1 | 38 | 0 | 70 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendors/owl-carousel/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |