Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼5.54ms] Passed 4 tests
Analyzing server-side resources used by WP Client Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 35.47 ▼7.41 |
Dashboard /wp-admin | 3.51 ▲0.21 | 45.90 ▼0.37 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 47.66 ▲0.97 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 85.84 ▼13.32 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.24 ▼1.07 |
Alpha Testimonials /wp-admin/edit.php?post_type=alprt_testimonial | 3.47 | 36.80 |
Add New /wp-admin/post-new.php?post_type=alprt_testimonial | 3.56 | 51.12 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=alprt-testicat&post_type=alprt_testimonial | 3.42 | 35.40 |
Testimonial Help /wp-admin/edit.php?post_type=alprt_testimonial&page=testi-help | 3.40 | 33.14 |
Server storage [IO: ▲2.60MB] [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: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Client Testimonials
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲122 | 13.33 ▼1.12 | 1.98 ▲0.27 | 39.11 ▲0.33 |
Dashboard /wp-admin | 2,245 ▲70 | 5.85 ▲0.90 | 101.86 ▼20.02 | 69.05 ▲24.14 |
Posts /wp-admin/edit.php | 2,131 ▲39 | 2.02 ▼0.01 | 38.24 ▼1.93 | 33.86 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 23.23 ▼0.11 | 745.06 ▲88.26 | 50.01 ▼1.43 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.28 ▲0.09 | 98.81 ▼1.93 | 72.26 ▲28.95 |
Alpha Testimonials /wp-admin/edit.php?post_type=alprt_testimonial | 1,114 | 1.94 | 32.62 | 29.00 |
Add New /wp-admin/post-new.php?post_type=alprt_testimonial | 2,423 | 7.71 | 173.44 | 127.45 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=alprt-testicat&post_type=alprt_testimonial | 1,301 | 2.15 | 26.17 | 32.21 |
Testimonial Help /wp-admin/edit.php?post_type=alprt_testimonial&page=testi-help | 1,083 | 2.15 | 26.65 | 62.22 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 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/alpharage-testimonials/admin/partials/alpharage-testimonials-post-type.php:182
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alpharage-testimonials/admin/partials/alpharage-testimonials-shortcode-builder.php:16
- > PHP Fatal error
Uncaught Error: Class 'ALPRT_testimonials_Public' not found in wp-content/plugins/alpharage-testimonials/public/partials/alpharage-testimonials-public-display.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/alpharage-testimonials/alpharage-testimonials.php:43
- > PHP Fatal error
Uncaught Error: Class 'ALPRT_testimonials_Admin' not found in wp-content/plugins/alpharage-testimonials/admin/partials/alpharage-testimonials-menu-page.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=alprt_testimonial
- > Network (severe)
wp-content/plugins/alpharage-testimonials/admin/js/alpharage-testimonials-admin.js?wp-mce-49110-20201110 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #4 (**Shortcode Builder Icon** - Click on the highlighted icon to generate testimonials shortcode.), #5 (**Shortcode Builder Form** - User can add shortcode in page/post after specifying required values in form.), #6 (**Settings** - Users can change color options of Testimonials Through Shortcode Popup.)
alpharage-testimonials/alpharage-testimonials.php Passed 13 tests
The primary PHP file in "WP Client Testimonials" version 1.0.0 is used by WordPress to initiate all plugin functionality
97 characters long description:
WP Client Testimonials is an awesome full featured plugin for managing testimonials on your site.
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
Everything looks great! No dangerous files found in this plugin12,907 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,473 | 29 | 11,227 |
PHP | 14 | 227 | 573 | 842 |
SVG | 2 | 0 | 1 | 691 |
JavaScript | 4 | 17 | 19 | 147 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 49 | 90.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.26% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.36MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/visualicon.png | 3.70KB | 1.42KB | ▼ 61.74% |
admin/review.png | 0.67KB | 0.60KB | ▼ 10.45% |
admin/images/img01.png | 302.27KB | 165.62KB | ▼ 45.21% |
admin/images/img02.png | 22.69KB | 8.82KB | ▼ 61.15% |
admin/images/visual-toolbar.png | 6.16KB | 3.72KB | ▼ 39.61% |