Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/auto-scrolling-testimonials/auto-scrolling-testimonial.php+185
Function create_function() is deprecated
Server metrics [RAM: ▼1.86MB] [CPU: ▼60.38ms] Passed 4 tests
Server-side resources used by Auto Scrolling Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 4.78 ▼40.69 |
Dashboard /wp-admin | 2.16 ▼1.19 | 5.61 ▼59.58 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.41 ▼43.75 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.49 ▼97.51 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.26 ▼32.36 |
Add New /wp-admin/post-new.php?post_type=ast_testimonial | 2.16 | 6.18 |
AST Testimonial /wp-admin/edit.php?post_type=ast_testimonial | 2.16 | 7.72 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_ast_testimonial_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Scrolling Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 14.36 ▼0.08 | 2.60 ▲0.96 | 41.91 ▼4.31 |
Dashboard /wp-admin | 2,225 ▲48 | 5.74 ▲0.05 | 85.91 ▼8.68 | 40.12 ▼5.28 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.05 | 39.96 ▲3.60 | 36.61 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,577 ▲46 | 23.43 ▲0.12 | 617.54 ▼56.54 | 55.92 ▼4.19 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.20 ▼0.03 | 102.39 ▼8.24 | 49.76 ▲4.17 |
Add New /wp-admin/post-new.php?post_type=ast_testimonial | 2,509 | 7.73 | 178.74 | 65.10 |
AST Testimonial /wp-admin/edit.php?post_type=ast_testimonial | 1,122 | 1.95 | 30.38 | 34.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/auto-scrolling-testimonials/auto-scrolling-testimonial.php+185
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_ast_testimonial_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ast_testimonial
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/auto-scrolling-testimonials/auto-scrolling-testimonial.php+185
Function create_function() is deprecated
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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-scrolling-testimonials/auto-scrolling-testimonial.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: auto scrolling testimonials, vertical auto scrolling, testimonials, auto scrolling
auto-scrolling-testimonials/auto-scrolling-testimonial.php 85% from 13 tests
"Auto Scrolling Testimonials" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 400 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("auto-scrolling-testimonials.php" instead of "auto-scrolling-testimonial.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin367 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 67 | 38 | 204 |
JavaScript | 1 | 31 | 201 | 132 |
CSS | 1 | 9 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
default-display-on-frontend.png | 47.80KB | 19.41KB | ▼ 59.40% |
shortcode.png | 32.44KB | 12.98KB | ▼ 59.99% |