Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/weecomments/weecomments.php+187
Function create_function() is deprecated
Server metrics [RAM: ▼1.83MB] [CPU: ▼49.28ms] Passed 4 tests
This is a short check of server-side resources used by weeComments - Shop & Products Reviews
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 4.58 ▼35.53 |
Dashboard /wp-admin | 2.18 ▼1.13 | 9.54 ▼39.24 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 5.83 ▼42.27 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 5.71 ▼80.07 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.54 ▼24.74 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 49 new files
Database: 4 new tables, 7 new options
New tables |
---|
wee_categories |
wee_comments |
wee_comments_replies |
wee_products |
New WordPress options |
---|
widget_recent-posts |
widget_weecomments_box |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by weeComments - Shop & Products Reviews
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 14.42 ▲0.05 | 3.14 ▲1.36 | 36.76 ▼4.79 |
Dashboard /wp-admin | 2,211 ▲26 | 5.79 ▼0.15 | 104.94 ▲3.56 | 70.61 ▲27.73 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.01 ▲0.05 | 36.20 ▼3.92 | 34.80 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 18.30 ▼5.16 | 712.81 ▲61.04 | 76.12 ▲20.99 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.22 ▼0.01 | 94.99 ▼6.20 | 76.94 ▲31.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/weecomments/weecomments.php+187
Function create_function() is deprecated
- Zombie tables were found after uninstall: 4 tables
- wee_comments_replies
- wee_comments
- wee_categories
- wee_products
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_weecomments_box
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: opiniones, reviews, comentarios, ratings, rich snippets...
weecomments/weecomments.php Passed 13 tests
The entry point to "weeComments - Shop & Products Reviews" version 3.1.4 is a PHP file that has certain tags in its header comment area
55 characters long description:
Plugin de weeComments para WooCommerce v2.2 o posterior
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin2,266 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 304 | 73 | 1,127 |
HTML | 9 | 234 | 36 | 1,067 |
CSS | 2 | 22 | 1 | 72 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 10.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 21 | |
▷ Named functions | 21 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
25 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/notebook-white-23.png | 1.92KB | 1.13KB | ▼ 41.03% |
img/star-wee-4.png | 0.51KB | 0.33KB | ▼ 33.98% |
img/star-wee-3.png | 0.59KB | 0.43KB | ▼ 26.20% |
img/ministar-wee-0.png | 0.29KB | 0.23KB | ▼ 19.26% |
img/midstar-wee-2.png | 0.43KB | 0.36KB | ▼ 17.83% |