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.02MB] [CPU: ▼2.39ms] Passed 4 tests
This is a short check of server-side resources used by Testimonial
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.79 ▲0.84 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.91 ▼8.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.74 ▼1.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.35 ▼0.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.54 ▲5.50 |
Add New /wp-admin/post-new.php?post_type=c4d-testimonial | 3.37 | 46.24 |
C4D Testimonial /wp-admin/edit.php?post_type=c4d-testimonial | 3.29 | 34.19 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Testimonial: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲239 | 13.63 ▼0.64 | 8.74 ▲7.04 | 38.48 ▼6.47 |
Dashboard /wp-admin | 2,233 ▲42 | 4.85 ▼1.05 | 107.51 ▲9.60 | 44.02 ▼0.78 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.10 ▲0.10 | 39.98 ▲2.80 | 35.59 ▲5.87 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 22.83 ▼0.50 | 609.91 ▼61.03 | 48.20 ▼5.53 |
Media Library /wp-admin/upload.php | 1,409 ▲27 | 4.21 ▼0.08 | 96.66 ▼3.76 | 42.60 ▼3.68 |
Add New /wp-admin/post-new.php?post_type=c4d-testimonial | 2,220 | 7.69 | 172.45 | 64.58 |
C4D Testimonial /wp-admin/edit.php?post_type=c4d-testimonial | 1,089 | 2.00 | 33.40 | 32.21 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: params in wp-content/plugins/c4d-testimonial/templates/default.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/c4d-testimonial/templates/default.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/c4d-testimonial/c4d-testimonial.php:12
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
1 plugin tags: 100
c4d-testimonial/c4d-testimonial.php Passed 13 tests
This is the main PHP file of "Testimonial" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
47 characters long description:
Manager client comments and create slider/ grid
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,945 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 214 | 22 | 1,324 |
CSS | 4 | 18 | 28 | 268 |
PHP | 2 | 18 | 15 | 171 |
Sass | 1 | 2 | 0 | 144 |
JSON | 2 | 0 | 0 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/owl-carousel/grabbing.png | 0.11KB | 0.14KB | 0.00% |