Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.21ms] Passed 4 tests
Analyzing server-side resources used by Testimonial & Review
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.68 ▼7.94 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.98 ▼17.06 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.36 ▲1.07 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 101.35 ▲7.62 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.20 ▼0.92 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial-tax&post_type=testimonial-review | 3.27 | 33.82 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-review | 3.29 | 28.07 |
All Shortcodes /wp-admin/edit.php?post_type=testimonialshortcode | 3.29 | 30.46 |
Generate Shortcode /wp-admin/post-new.php?post_type=testimonialshortcode | 3.33 | 47.67 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonial-review | 3.42 | 55.49 |
Server storage [IO: ▲1.03MB] [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: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Testimonial & Review
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲143 | 13.41 ▼0.92 | 8.24 ▲6.53 | 43.32 ▼0.16 |
Dashboard /wp-admin | 2,234 ▲56 | 5.58 ▼0.03 | 95.54 ▼15.75 | 39.33 ▼1.45 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.95 ▲0.01 | 40.14 ▲4.45 | 35.94 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.44 ▲0.16 | 607.94 ▼89.39 | 54.79 ▼9.31 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.18 ▼0.11 | 97.51 ▼4.78 | 40.83 ▼3.25 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial-tax&post_type=testimonial-review | 1,307 | 2.12 | 26.95 | 28.47 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-review | 1,172 | 2.22 | 39.71 | 31.85 |
All Shortcodes /wp-admin/edit.php?post_type=testimonialshortcode | 1,137 | 2.22 | 33.48 | 29.69 |
Generate Shortcode /wp-admin/post-new.php?post_type=testimonialshortcode | 5,523 | 4.52 | 163.46 | 47.40 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonial-review | 2,496 | 7.88 | 174.24 | 67.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
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)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonialshortcode
- > Notice in wp-content/plugins/testimonial-review/libs/post-types/testimonial-review-post-type.php+247
Undefined index: order
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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/testimonial-review/testimonial-review.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=testimonial-review
- > Network (severe)
wp-content/plugins/testimonial-review/public/js/jquery.raty-fa.js?ver=0.1.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #7 (screenshot-7), #8 (screenshot-8)
testimonial-review/testimonial-review.php 92% from 13 tests
"Testimonial & Review" version 1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 254 characters long)
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
Good job! No executable or dangerous file extensions detected5,919 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 268 | 119 | 2,947 |
JavaScript | 4 | 469 | 923 | 1,890 |
SVG | 1 | 0 | 0 | 565 |
CSS | 5 | 11 | 29 | 517 |
PHP code Passed 2 tests
A brief analysis 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.31 |
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 | 20 | |
▷ Named functions | 20 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin