Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.56ms] Passed 4 tests
An overview of server-side resources used by WP Responsive Testimonial Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.75 ▼1.51 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.92 ▲1.52 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.18 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 101.47 ▼9.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.25 ▲0.80 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.38 | 45.19 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.30 | 37.14 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Responsive Testimonial Slider: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.60 ▼0.78 | 9.92 ▲8.35 | 40.77 ▲1.66 |
Dashboard /wp-admin | 2,233 ▲45 | 4.84 ▼0.04 | 113.09 ▲10.57 | 43.05 ▼0.66 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.03 ▼0.03 | 44.92 ▲1.58 | 35.62 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,565 ▲32 | 18.57 ▼4.80 | 603.81 ▼64.21 | 58.39 ▼1.58 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.24 ▼0.07 | 103.69 ▲2.45 | 42.54 ▼3.00 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,163 | 7.73 | 173.05 | 63.94 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,089 | 1.99 | 29.53 | 28.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-responsive-testimonial-slider/wpiconlistcarousel.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Admin list interface showing Slider images and titles.), #2 (Example output.(see documentation).)
wp-responsive-testimonial-slider/wpiconlistcarousel.php 85% from 13 tests
The main PHP file in "WP Responsive Testimonial Slider" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-responsive-testimonial-slider.php" instead of "wpiconlistcarousel.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 173 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,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
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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% |