Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.62MB] [CPU: ▼18.65ms] Passed 4 tests
This is a short check of server-side resources used by Client Testimonials Feedback
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.63 ▼4.37 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.55 ▼1.39 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 51.08 ▼11.47 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.72 | 40.82 ▼55.72 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 30.59 ▼3.03 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 3.34 | 41.77 |
Settings /wp-admin/edit.php?post_type=testimonial&page=testimonial-setting | 3.27 | 31.92 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.16 | 33.50 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Client Testimonials Feedback
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲221 | 13.89 ▼0.41 | 7.14 ▲4.98 | 44.49 ▼0.41 |
Dashboard /wp-admin | 2,261 ▲70 | 5.12 ▼0.00 | 101.68 ▼6.03 | 40.00 ▼10.94 |
Posts /wp-admin/edit.php | 2,149 ▲57 | 2.32 ▲0.33 | 44.81 ▲4.01 | 37.50 ▲2.02 |
Add New Post /wp-admin/post-new.php | 1,565 ▲32 | 18.41 ▼4.74 | 630.38 ▼16.49 | 35.90 ▼24.12 |
Media Library /wp-admin/upload.php | 1,437 ▲52 | 4.50 ▲0.28 | 97.23 ▼7.67 | 40.71 ▼5.07 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 1,116 | 2.27 | 37.28 | 30.99 |
Settings /wp-admin/edit.php?post_type=testimonial&page=testimonial-setting | 1,237 | 2.44 | 53.85 | 23.51 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,239 | 7.90 | 168.19 | 67.76 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/client-testimonials-feedback/client-testimonial-feedback.php+196
Trying to get property 'ID' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/client-testimonials-feedback/client-testimonial-feedback.php+203
Undefined index: client_position
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/client-testimonials-feedback/client-testimonial-feedback.php+203
Trying to access array offset on value of type null
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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)
No browser issues were found
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
Attributes that need to be fixed:
- Requires php: Invalid version format
client-testimonials-feedback/client-testimonial-feedback.php 85% from 13 tests
"Client Testimonials Feedback" version 2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("client-testimonials-feedback.php" instead of "client-testimonial-feedback.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 plugin2,677 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 848 | 45 | 2,145 |
PHP | 1 | 13 | 14 | 278 |
CSS | 3 | 18 | 3 | 254 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/images/quote.png | 2.04KB | 0.91KB | ▼ 55.29% |
include/images/left-arrow.png | 1.31KB | 0.68KB | ▼ 47.76% |
include/images/right-arrow.png | 1.30KB | 0.68KB | ▼ 47.29% |