Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.47ms] Passed 4 tests
Server-side resources used by Review & testimonial widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.40 ▲0.20 |
Dashboard /wp-admin | 3.45 ▲0.14 | 49.25 ▼4.74 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 52.13 ▲5.09 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 96.47 ▼6.42 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.18 ▲5.40 |
Settings /wp-admin/admin.php?page=trustmary-settings | 3.34 | 34.48 |
Gather reviews /wp-admin/admin.php?page=trustmary-reviews | 3.16 | 27.47 |
Experiments /wp-admin/admin.php?page=trustmary-experiments | 3.16 | 27.34 |
Dashboard /wp-admin/admin.php?page=trustmary-dashboard | 3.34 | 33.59 |
Popups /wp-admin/admin.php?page=trustmary-popups | 3.16 | 25.10 |
Inline widgets /wp-admin/admin.php?page=trustmary-inline | 3.16 | 25.15 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Review & testimonial widgets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 14.71 ▲0.06 | 1.64 ▲0.11 | 43.77 ▲4.34 |
Dashboard /wp-admin | 2,242 ▲65 | 5.57 ▼0.01 | 87.81 ▼7.96 | 71.33 ▲31.36 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 1.98 ▼0.03 | 33.72 ▼0.11 | 35.00 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,731 ▲203 | 22.12 ▼0.61 | 684.81 ▲13.17 | 49.01 ▼9.59 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.14 ▲0.01 | 98.49 ▼18.63 | 75.77 ▲28.43 |
Settings /wp-admin/admin.php?page=trustmary-settings | 918 | 2.04 | 24.29 | 28.47 |
Gather reviews /wp-admin/admin.php?page=trustmary-reviews | 918 | 2.04 | 23.97 | 22.42 |
Experiments /wp-admin/admin.php?page=trustmary-experiments | 924 | 2.04 | 25.11 | 26.34 |
Dashboard /wp-admin/admin.php?page=trustmary-dashboard | 844 | 1.99 | 26.04 | 27.79 |
Popups /wp-admin/admin.php?page=trustmary-popups | 921 | 2.01 | 27.57 | 27.18 |
Inline widgets /wp-admin/admin.php?page=trustmary-inline | 918 | 2.04 | 29.95 | 25.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/trustmary/trustmary.php
- > /wp-content/plugins/trustmary/includes/connect.php
- > /wp-content/plugins/trustmary/includes/settings.php
- > /wp-content/plugins/trustmary/includes/helper.php
- > /wp-content/plugins/trustmary/includes/shortcodes.php
- > /wp-content/plugins/trustmary/includes/pages.php
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: reviews, star ratings, review slider, testimonials, testimonial slider
trustmary/trustmary.php 92% from 13 tests
The main file in "Review & testimonial widgets" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin599 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 120 | 309 | 549 |
JavaScript | 1 | 5 | 0 | 23 |
CSS | 1 | 2 | 0 | 19 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 34 | |
▷ Static methods | 7 | 20.59% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin