Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.12ms] Passed 4 tests
Analyzing server-side resources used by XL Testimonial Carousel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.98 ▼4.99 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.46 ▼5.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.72 ▲1.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.40 ▼11.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.46 ▲3.15 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 3.29 | 36.07 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.36 | 47.25 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by XL Testimonial Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲190 | 13.72 ▼0.57 | 6.35 ▲4.19 | 40.23 ▼3.70 |
Dashboard /wp-admin | 2,230 ▲39 | 5.85 ▲0.99 | 99.60 ▼15.85 | 40.06 ▼2.21 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.02 ▼0.01 | 39.46 ▲0.32 | 35.44 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,557 ▲21 | 23.21 ▲0.15 | 665.84 ▲32.42 | 45.48 ▼6.85 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.21 ▼0.03 | 108.99 ▲9.91 | 47.43 ▲3.58 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 1,086 | 1.99 | 30.90 | 29.47 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,219 | 7.83 | 160.53 | 64.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 5× 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/xl-testimonial-carousel/inc/xl-scripts.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xl-testimonial-carousel/inc/xl-cpt.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xl-testimonial-carousel/inc/xl-scripts.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xl-testimonial-carousel/inc/xl-metabox.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/xl-testimonial-carousel/inc/xl-markup.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
xl-testimonial-carousel/functions.php 85% from 13 tests
"XL Testimonial Carousel" 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:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("xl-testimonial-carousel.php" instead of "functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,352 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 14 | 35 | 991 |
SVG | 1 | 0 | 0 | 211 |
PHP | 5 | 37 | 26 | 128 |
JavaScript | 2 | 4 | 3 | 22 |
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.25 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin