Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.13MB] [CPU: ▲1.02ms] Passed 4 tests
An overview of server-side resources used by Widgets for AliExpress Reviews
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.59 ▲1.12 | 47.26 ▲5.33 |
Dashboard /wp-admin | 4.46 ▲1.15 | 53.20 ▲0.50 |
Posts /wp-admin/edit.php | 4.49 ▲1.13 | 56.08 ▲5.56 |
Add New Post /wp-admin/post-new.php | 7.10 ▲1.21 | 92.78 ▼7.33 |
Media Library /wp-admin/upload.php | 4.34 ▲1.10 | 46.22 ▲9.88 |
Server storage [IO: ▲6.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 262 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_trustindex_aliexpress_reviews |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
trustindex-aliexpress-version |
trustindex-aliexpress-active |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Widgets for AliExpress Reviews: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲62 | 14.22 ▼0.13 | 1.75 ▼0.03 | 38.15 ▼6.49 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▼0.12 | 99.28 ▲4.91 | 80.51 ▲38.15 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.99 ▲0.03 | 40.18 ▼3.87 | 36.70 ▲1.71 |
Add New Post /wp-admin/post-new.php | 6,379 ▲4,853 | 27.62 ▲4.47 | 829.33 ▲235.41 | 36.22 ▼17.50 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.24 ▲0.08 | 98.08 ▼2.28 | 68.81 ▲28.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 22× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/widgets-for-aliexpress-reviews/tabs/setup_trustindex_join.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/setup_trustindex_join.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/tabs/setup_no_reg_header.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/tabs/setup_trustindex.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/feature_request.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/tabs/my_reviews.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/my_reviews.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/trunk/widgets-for-aliexpress-reviews.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/trunk/settings.php
- > /wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/rate.php
- 24× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_aliexpress' not found in wp-content/plugins/widgets-for-aliexpress-reviews/tabs/_get_more_customers.php:1
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/widgets-for-aliexpress-reviews/include/activate.php on line 2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/widgets-for-aliexpress-reviews/trunk/include/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/widgets-for-aliexpress-reviews/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_aliexpress' not found in wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/_get_more_customers.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/widgets-for-aliexpress-reviews/include/schema.php:4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/widgets-for-aliexpress-reviews/trunk/include/activate.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_aliexpress' not found in wp-content/plugins/widgets-for-aliexpress-reviews/tabs/setup_no_reg_platform.php:1
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_aliexpress' not found in wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/_rate_us_feedback.php:2
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_aliexpress' not found in wp-content/plugins/widgets-for-aliexpress-reviews/trunk/tabs/demo_widgets.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
widgets-for-aliexpress-reviews/widgets-for-aliexpress-reviews.php Passed 13 tests
The principal PHP file in "Widgets for AliExpress Reviews" v. 11.1 is loaded by WordPress automatically on each request
122 characters long description:
Embed AliExpress reviews fast and easily into your WordPress site. Increase SEO, trust and sales using AliExpress reviews.
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
No dangerous file extensions were detected10,474 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 43 | 38 | 9,281 |
JavaScript | 6 | 301 | 175 | 1,018 |
CSS | 4 | 13 | 0 | 63 |
SVG | 3 | 2 | 0 | 60 |
JSON | 1 | 0 | 0 | 52 |
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.43 |
Average class complexity | 127.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 348.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 196 | |
▷ Static methods | 12 | 6.12% |
▷ Public methods | 192 | 97.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.04% |
Functions | 34 | |
▷ Named functions | 16 | 47.06% |
▷ Anonymous functions | 18 | 52.94% |
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
8 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/no.png | 1.92KB | 0.28KB | ▼ 85.53% |
trunk/static/img/platforms.png | 10.24KB | 4.08KB | ▼ 60.12% |
trunk/static/img/trustindex-sign-logo.png | 3.34KB | 0.59KB | ▼ 82.47% |
static/img/yes.png | 1.91KB | 0.25KB | ▼ 87.08% |
trunk/static/img/no.png | 1.92KB | 0.28KB | ▼ 85.53% |