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.20MB] [CPU: ▼47.24ms] Passed 4 tests
An overview of server-side resources used by Testimonials Slider Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.77 ▼0.69 | 13.51 ▼25.95 |
Dashboard /wp-admin | 2.81 ▼0.49 | 18.18 ▼39.85 |
Posts /wp-admin/edit.php | 2.81 ▼0.55 | 18.62 ▼38.74 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.08 | 15.85 ▼84.42 |
Media Library /wp-admin/upload.php | 2.81 ▼0.42 | 15.90 ▼23.66 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_simple_testimonial_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Testimonials Slider Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.52 ▼0.64 | 12.56 ▲10.69 | 52.41 ▲9.14 |
Dashboard /wp-admin | 2,198 ▲24 | 5.62 ▲0.01 | 88.91 ▼3.86 | 38.05 ▼5.12 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.03 ▲0.01 | 36.87 ▼3.08 | 35.43 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.15 ▲0.22 | 677.99 ▲76.07 | 53.56 ▲5.34 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▲0.09 | 111.53 ▲8.71 | 49.19 ▲2.14 |
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
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'create_posttype' not found or invalid function name
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_simple_testimonial_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-testimonial-slider-and-grid/testimonial-slider.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Frontend ), #2 (Backend )
simple-testimonial-slider-and-grid/testimonial-slider.php 92% from 13 tests
The main PHP file in "Testimonials Slider Plugin" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-testimonial-slider-and-grid.php" instead of "testimonial-slider.php")
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 detected13,082 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 65 | 37 | 7,672 |
JavaScript | 6 | 1,429 | 249 | 3,726 |
HTML | 1 | 19 | 1 | 353 |
SVG | 2 | 1 | 0 | 301 |
Markdown | 3 | 112 | 0 | 267 |
Sass | 2 | 27 | 5 | 262 |
PHP | 1 | 48 | 22 | 208 |
LESS | 1 | 11 | 5 | 152 |
JSON | 4 | 0 | 0 | 128 |
Ruby | 1 | 2 | 0 | 8 |
make | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
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.23MB with 0.16MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot/screenshot_1.png | 122.69KB | 32.32KB | ▼ 73.65% |
screenshot/screenshot_2.png.png | 108.37KB | 32.89KB | ▼ 69.65% |