Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.13ms] Passed 4 tests
Analyzing server-side resources used by Artur Store Reviews for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.46 ▼5.51 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.95 ▼2.88 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 54.21 ▼1.34 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 92.99 ▲1.21 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.15 ▲1.24 |
Artur Store Review /wp-admin/options-general.php?page=artur-store-review | 3.36 | 38.39 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
artur-store-review-messages |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Artur Store Reviews for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.23 ▼0.13 | 1.65 ▼0.07 | 45.94 ▼5.05 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▼0.02 | 90.97 ▼0.65 | 40.43 ▼2.87 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.00 | 40.24 ▼0.23 | 36.04 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.05 ▲4.73 | 673.36 ▲7.05 | 54.24 ▼12.29 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.28 ▲0.11 | 100.42 ▲1.25 | 41.64 ▼4.16 |
Artur Store Review /wp-admin/options-general.php?page=artur-store-review | 1,048 | 2.03 | 22.03 | 32.31 |
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 does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Contributors: Plugin contributors field is missing
artur-store-reviews/artur-store-reviews.php 77% from 13 tests
The main PHP script in "Artur Store Reviews for WooCommerce" version 1.2.1 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
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
Everything looks great! No dangerous files found in this plugin740 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 266 | 213 | 740 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 27.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 44 | |
▷ Static methods | 6 | 13.64% |
▷ Public methods | 27 | 61.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 38.64% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 3 | 17.65% |
▷ Class constants | 14 | 82.35% |
▷ Public constants | 14 | 100.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
PNG images were not found in this plugin