Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.61MB] [CPU: ▼16.97ms] Passed 4 tests
This is a short check of server-side resources used by WE - Testimonial Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 29.88 ▼8.46 |
Dashboard /wp-admin | 3.40 ▲0.10 | 52.06 ▼0.46 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 54.09 ▲3.77 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.64 | 38.75 ▼62.32 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 42.84 ▲3.37 |
WE Testimonial /wp-admin/edit.php?post_type=testimonial&page=we_testimonial_setting_page | 3.29 | 33.89 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.37 | 38.55 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonial | 3.33 | 41.21 |
Add new /wp-admin/post-new.php?post_type=testimonial | 3.25 | 37.72 |
Server storage [IO: ▲1.82MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
testimonial-category_children |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WE - Testimonial Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲176 | 13.84 ▼0.54 | 8.61 ▲6.48 | 41.50 ▲3.90 |
Dashboard /wp-admin | 2,224 ▲49 | 5.58 ▼0.11 | 85.84 ▼18.11 | 40.00 ▼1.01 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.02 ▼0.11 | 36.28 ▼0.68 | 35.24 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.50 ▲5.81 | 659.54 ▼35.24 | 49.66 ▼10.47 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.20 ▲0.07 | 96.29 ▼26.77 | 45.51 ▼2.11 |
WE Testimonial /wp-admin/edit.php?post_type=testimonial&page=we_testimonial_setting_page | 1,139 | 2.02 | 24.50 | 31.62 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,107 | 1.99 | 32.37 | 31.76 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonial | 1,417 | 2.15 | 26.33 | 30.60 |
Add new /wp-admin/post-new.php?post_type=testimonial | 2,459 | 7.65 | 175.18 | 66.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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: 7 options
- testimonial-category_children
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/we-testimonial-slider/includes/testimonial_init.php+171
Undefined index: we_testimonial_author_meta_box_nonce
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: A description for screenshot #5 is required in we-testimonial-slider/assets to your readme.txt
we-testimonial-slider/we-testimonial.php 85% from 13 tests
"WE - Testimonial Slider" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 241 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("we-testimonial-slider.php" instead of "we-testimonial.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin6,723 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 25 | 8 | 3,120 |
SVG | 3 | 0 | 12 | 3,015 |
PHP | 6 | 77 | 113 | 554 |
JavaScript | 1 | 6 | 3 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 17 | |
▷ Named functions | 17 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/we-bg.png | 3.89KB | 2.06KB | ▼ 47.10% |
images/logo.png | 22.35KB | 12.56KB | ▼ 43.80% |