Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.67ms] Passed 4 tests
An overview of server-side resources used by Photo Reviews for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.69 ▲0.29 |
Dashboard /wp-admin | 3.32 ▼0.03 | 51.67 ▼6.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 41.28 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 77.47 ▼17.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.17 ▲2.79 |
Server storage [IO: ▲2.15MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Photo Reviews for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.04 | 1.86 ▲0.38 | 43.49 ▲4.25 |
Dashboard /wp-admin | 2,204 ▲24 | 5.57 ▼0.08 | 93.83 ▲6.59 | 43.54 ▲2.95 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.00 | 32.53 ▼2.24 | 35.63 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.30 ▼4.90 | 648.85 ▼33.31 | 62.40 ▲9.17 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.16 ▼0.01 | 102.11 ▼6.26 | 44.47 ▼1.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: coupon, woocommerce, woocommerce review by photo, customer reviews, review reminder...
woo-photo-reviews/woo-photo-reviews.php Passed 13 tests
Analyzing the main PHP file in "Photo Reviews for WooCommerce" version 1.2.9
122 characters long description:
Allow you to automatically send email to your customers to request reviews. Customers can include photos in their reviews.
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 detected19,708 lines of code in 72 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 19 | 1,619 | 562 | 10,705 |
PHP | 16 | 326 | 781 | 5,756 |
CSS | 30 | 315 | 135 | 1,824 |
SVG | 6 | 0 | 9 | 867 |
PO File | 1 | 214 | 280 | 556 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 104.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 273.00 |
Average method complexity | 6.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 21 | 14.69% |
▷ Public methods | 136 | 95.10% |
▷ Protected methods | 5 | 3.50% |
▷ Private methods | 2 | 1.40% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 10 | 52.63% |
▷ Class constants | 9 | 47.37% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/prev.png | 1.33KB | 1.59KB | 0.00% |
images/close.png | 0.27KB | 0.29KB | 0.00% |
images/icons.png | 0.71KB | 0.43KB | ▼ 39.64% |
images/next.png | 1.32KB | 1.58KB | 0.00% |