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: ▼0.06MB] [CPU: ▼19.40ms] Passed 4 tests
Server-side resources used by Reviews for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 49.67 ▲8.66 |
Dashboard /wp-admin | 3.30 ▼0.04 | 30.33 ▼23.45 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 33.02 ▼14.84 |
Add New Post /wp-admin/post-new.php | 5.62 ▼0.27 | 62.44 ▼29.86 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 25.45 ▼9.44 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
testimonials_settings |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Reviews for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲110 | 13.42 ▼0.84 | 2.21 ▲0.58 | 41.97 ▼0.25 |
Dashboard /wp-admin | 2,238 ▲61 | 5.15 ▼0.51 | 101.83 ▲13.06 | 43.98 ▲4.85 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.61 ▲0.62 | 42.30 ▲5.33 | 31.98 ▼15.27 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.08 ▼0.06 | 696.17 ▲47.36 | 38.23 ▼14.62 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.88 ▲0.66 | 105.55 ▲3.00 | 41.16 ▼4.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- testimonials_settings
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/reviews-for-elementor/Reviews_for_Elementor.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: reviews, google, google reviews for elementor, elementor google reviews, elementor
reviews-for-elementor/Reviews_for_Elementor.php 92% from 13 tests
This is the main PHP file of "Reviews for Elementor" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("reviews-for-elementor.php" instead of "Reviews_for_Elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin16,359 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 4,482 | 279 | 12,613 |
CSS | 6 | 20 | 19 | 1,958 |
PHP | 4 | 391 | 41 | 1,788 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 50.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 1 | 2.08% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/google-img.png | 20.37KB | 3.96KB | ▼ 80.54% |