Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.14MB] [CPU: ▼15.66ms] Passed 4 tests
An overview of server-side resources used by Wa Testimonial Slider WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.52 ▼3.84 |
Dashboard /wp-admin | 3.20 ▼0.10 | 27.76 ▼21.67 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 32.86 ▼13.93 |
Add New Post /wp-admin/post-new.php | 5.52 ▼0.37 | 68.24 ▼23.19 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 30.83 ▼2.91 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Wa Testimonial Slider WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,110 ▲375 | 15.62 ▲1.02 | 8.06 ▲6.17 | 44.39 ▼3.52 |
Dashboard /wp-admin | 2,399 ▲211 | 6.55 ▲1.67 | 126.11 ▲9.50 | 37.99 ▼8.17 |
Posts /wp-admin/edit.php | 2,287 ▲198 | 3.55 ▲1.51 | 48.64 ▲13.60 | 31.26 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,709 ▲186 | 24.74 ▲1.58 | 601.29 ▼85.49 | 35.24 ▼31.34 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.28 ▲0.08 | 79.47 ▼25.95 | 42.32 ▼3.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wa-testimonial-slider-wp/public/partials/watestimonialsliderwp-public-display.php
- > /wp-content/plugins/wa-testimonial-slider-wp/admin/partials/watestimonialsliderwp-admin-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wa-testimonial-slider-wp/admin/partials/modalforms.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wa-testimonial-slider-wp/admin/class-watestimonialsliderwp-admin.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wa-testimonial-slider-wp/admin/partials/list.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Please fix this invalid url: "webactualizable.com"
- Contributors: Contributors not specified
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wa-testimonial-slider-wp ===
)
wa-testimonial-slider-wp/watestimonialsliderwp.php 77% from 13 tests
Analyzing the main PHP file in "Wa Testimonial Slider WP" version 1.0.3
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 ("wa-testimonial-slider-wp.php" instead of "watestimonialsliderwp.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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,263 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 244 | 631 | 643 |
CSS | 2 | 7 | 46 | 515 |
JavaScript | 3 | 29 | 71 | 105 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin