Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.23MB] [CPU: ▼45.22ms] Passed 4 tests
Server-side resources used by WP Testimonial Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.72 | 13.15 ▼27.29 |
Dashboard /wp-admin | 2.78 ▼0.52 | 15.38 ▼35.78 |
Posts /wp-admin/edit.php | 2.78 ▼0.58 | 15.41 ▼33.75 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.11 | 15.76 ▼84.06 |
Media Library /wp-admin/upload.php | 2.78 ▼0.45 | 14.10 ▼21.24 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Testimonial Carousel: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲172 | 13.58 ▼0.82 | 9.30 ▲7.57 | 41.57 ▼1.16 |
Dashboard /wp-admin | 2,203 ▲18 | 5.79 ▼0.09 | 97.10 ▼2.16 | 41.30 ▼1.56 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▲0.01 | 35.45 ▼2.95 | 31.21 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.32 ▼5.12 | 601.47 ▼78.88 | 49.47 ▼4.34 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▼0.03 | 93.03 ▼1.57 | 41.69 ▼4.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'testimonial_list' not found or invalid function name
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-testimonial-carousel/wp-testimonial-carousel.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin list interface showing Slider images and titles.), #2 (Example output.(see documentation).)
wp-testimonial-carousel/wp-testimonial-carousel.php Passed 13 tests
"WP Testimonial Carousel" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
92 characters long description:
WP Testimonial Carousel Plugin is for Add Testimonials with this Shortcode '[testimonials]'.
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
Good job! No executable or dangerous file extensions detected1,607 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 207 | 17 | 1,335 |
PHP | 1 | 6 | 13 | 139 |
CSS | 2 | 13 | 18 | 133 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 5 | |
▷ Named functions | 5 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/grabbing.png | 0.11KB | 0.14KB | 0.00% |
images/arrow.png | 10.96KB | 5.73KB | ▼ 47.67% |