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
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼2.33ms] Passed 4 tests
A check of server-side resources used by Wiremo - Customer reviews for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 44.22 ▲1.04 |
Dashboard /wp-admin | 3.72 ▲0.41 | 53.48 ▼1.16 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 57.26 ▲8.43 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 91.00 ▼11.55 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 40.54 ▲2.35 |
Server storage [IO: ▲3.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wiremo - Customer reviews for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲189 | 13.45 ▼0.83 | 8.70 ▲6.95 | 44.05 ▲1.41 |
Dashboard /wp-admin | 2,219 ▲42 | 5.62 ▲0.02 | 86.81 ▼6.07 | 39.46 ▼5.46 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.05 ▲0.06 | 36.06 ▼0.63 | 35.89 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,546 ▼8 | 23.37 ▲0.16 | 661.95 ▼20.71 | 54.39 ▼3.07 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.22 ▼0.01 | 98.99 ▼9.84 | 45.52 ▼1.99 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant WRMR_URLAPP - assumed 'WRMR_URLAPP' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-reviews-by-wiremo/includes/oauth-user.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/wp-reviews-by-wiremo/includes/oauth-user.php:62
- > PHP Warning
Use of undefined constant WRMR_URLAPP - assumed 'WRMR_URLAPP' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-reviews-by-wiremo/includes/oauth-user.php on line 39
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Wiremo review widget.), #2 (Wiremo review widget mobile view.), #3 (Pop-up trigger in action.), #4 (Wiremo Triggers (Pop-up, Open a conversation, Auto-reply).), #5 (Wiremo Review Carousel.), #6 (Wiremo General settings.), #7 (Wiremo Gutenberg blocks and shortcodes.), #8 (Manual Review Request Campaign template.), #9 (Manual Review Request Campaign schedule.)
wp-reviews-by-wiremo/function.php 77% from 13 tests
The primary PHP file in "Wiremo - Customer reviews for WordPress" version 1.2.23 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-reviews-by-wiremo.php" instead of "function.php")
- Git Repository: An alternative Git repository was detected
- 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
No dangerous file extensions were detected15,754 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 9,280 |
PHP | 29 | 530 | 771 | 3,477 |
SVG | 2 | 0 | 0 | 2,683 |
Markdown | 3 | 83 | 0 | 202 |
JavaScript | 9 | 8 | 23 | 73 |
YAML | 1 | 4 | 0 | 26 |
CSS | 7 | 0 | 24 | 7 |
Sass | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 50.88 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 1 | 0.72% |
▷ Public methods | 103 | 74.64% |
▷ Protected methods | 6 | 4.35% |
▷ Private methods | 29 | 21.01% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/images/icon-wp.png | 2.17KB | 1.60KB | ▼ 26.44% |