Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.66MB] [CPU: ▼22.27ms] Passed 4 tests
Server-side resources used by Responsive Wordpress Testimonial
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.37 ▲6.21 |
Dashboard /wp-admin | 3.19 ▼0.11 | 31.02 ▼24.77 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 50.31 ▲0.08 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 36.88 ▼62.56 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.46 ▼1.81 |
Add New Testimonial /wp-admin/post-new.php?post_type=rwpt_custom_post | 3.17 | 30.75 |
All Testimonials /wp-admin/edit.php?post_type=rwpt_custom_post | 3.30 | 33.75 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/my-responsive-testimonial/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/my-responsive-testimonial/assets/banner-772\303\227250.png"
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Responsive Wordpress Testimonial: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲214 | 13.66 ▼1.02 | 11.65 ▲9.81 | 44.95 ▲1.30 |
Dashboard /wp-admin | 2,237 ▲49 | 5.89 ▲0.97 | 98.26 ▼8.75 | 74.56 ▲35.30 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.14 ▲0.17 | 37.69 ▼0.23 | 31.96 ▼3.37 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 23.22 ▲5.58 | 731.83 ▲24.79 | 53.07 ▲0.13 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.29 ▲0.04 | 106.80 ▲1.82 | 81.89 ▲33.91 |
Add New Testimonial /wp-admin/post-new.php?post_type=rwpt_custom_post | 2,023 | 3.96 | 79.65 | 99.49 |
All Testimonials /wp-admin/edit.php?post_type=rwpt_custom_post | 1,112 | 1.93 | 33.58 | 33.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=rwpt_custom_post
- > Notice in wp-content/plugins/my-responsive-testimonial/index.php+229
Undefined index: wpcpmeta_noncename
- > GET request to /wp-admin/post-new.php?post_type=rwpt_custom_post
- > User notice in wp-includes/functions.php+5905
Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.)
- > GET request to /wp-admin/edit.php?post_type=rwpt_custom_post
- > Notice in wp-content/plugins/my-responsive-testimonial/index.php+133
Trying to get property 'post_type' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/my-responsive-testimonial/tinymce/pop_up_window.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-responsive-testimonial/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues 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
8 plugin tags: wordpress testimonial, responsive testimonial, testimonial, testimonial plugin, wordpress testimonial plugin...
my-responsive-testimonial/index.php 85% from 13 tests
The principal PHP file in "Responsive Wordpress Testimonial" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 345 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("my-responsive-testimonial.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin6,302 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 484 | 32 | 3,260 |
JavaScript | 5 | 148 | 49 | 922 |
PHP | 2 | 97 | 44 | 870 |
SVG | 1 | 0 | 0 | 520 |
XML | 1 | 7 | 16 | 517 |
HTML | 1 | 54 | 0 | 213 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.83MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/quote-mark.png | 4.18KB | 0.86KB | ▼ 79.45% |
img/default_client_img.png | 10.98KB | 5.30KB | ▼ 51.69% |
Documentation/img/import.png | 14.61KB | 14.94KB | 0.00% |
img/hs.png | 2.62KB | 7.54KB | 0.00% |
Documentation/img/setting.png | 59.62KB | 24.51KB | ▼ 58.90% |