Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/lr-wp-testimonials-with-slider/lrwp-testimoanils-slider.php+68
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.84MB] [CPU: ▼52.03ms] Passed 4 tests
Analyzing server-side resources used by LR WP Testimonials with slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 6.41 ▼37.34 |
Dashboard /wp-admin | 2.16 ▼1.14 | 7.20 ▼44.23 |
Posts /wp-admin/edit.php | 2.16 ▼1.19 | 7.00 ▼39.54 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.72 | 6.23 ▼87.02 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.85 ▼27.61 |
Add New Testimonial /wp-admin/post-new.php?post_type=lrwp_testimonial | 2.16 | 6.69 |
LR Testimonial /wp-admin/edit.php?post_type=lrwp_testimonial | 2.16 | 8.05 |
Settings /wp-admin/edit.php?post_type=lrwp_testimonial&page=lrwp-setting-page | 2.16 | 6.22 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for LR WP Testimonials with slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲167 | 13.55 ▼1.13 | 5.89 ▲3.41 | 60.93 ▲12.62 |
Dashboard /wp-admin | 2,237 ▲49 | 4.86 ▼1.04 | 103.58 ▼11.34 | 38.73 ▼9.13 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.04 ▲0.02 | 36.06 ▼1.83 | 30.69 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,554 ▲35 | 18.49 ▼4.74 | 646.81 ▼17.97 | 56.11 ▲4.42 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.23 ▲0.05 | 96.00 ▼9.43 | 45.55 ▼1.81 |
Add New Testimonial /wp-admin/post-new.php?post_type=lrwp_testimonial | 2,264 | 7.84 | 172.20 | 65.27 |
LR Testimonial /wp-admin/edit.php?post_type=lrwp_testimonial | 1,093 | 2.00 | 31.62 | 30.56 |
Settings /wp-admin/edit.php?post_type=lrwp_testimonial&page=lrwp-setting-page | 968 | 2.03 | 22.03 | 28.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/lr-wp-testimonials-with-slider/lrwp-testimoanils-slider.php+68
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 26 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=lrwp_testimonial&page=lrwp-setting-page
- > Notice in wp-content/plugins/lr-wp-testimonials-with-slider/lrwp-testimoanils-slider.php+284
Trying to access array offset on value of type bool
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 items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/lr-wp-testimonials-with-slider/includes/lrwp-style3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/lr-wp-testimonials-with-slider/lrwp-testimoanils-slider.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/lr-wp-testimonials-with-slider/includes/lrwp-style2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/lr-wp-testimonials-with-slider/includes/lrwp-style1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/lr-wp-testimonials-with-slider/includes/lrwp-style4.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Stable tag: Not defined
- Donate link: Please fix this invalid url: ""
lr-wp-testimonials-with-slider/lrwp-testimoanils-slider.php 85% from 13 tests
Analyzing the main PHP file in "LR WP Testimonials with slider" version 1.0
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("lr-wp-testimonials-with-slider.php" instead of "lrwp-testimoanils-slider.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
No dangerous file extensions were detected1,392 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 7 | 7 | 522 |
SVG | 1 | 0 | 0 | 504 |
CSS | 8 | 1 | 26 | 364 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin