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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.29MB] [CPU: ▼19.33ms] Passed 4 tests
A check of server-side resources used by SupportHost Star Rating
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.21 ▼9.95 |
Dashboard /wp-admin | 3.36 ▲0.02 | 47.52 ▼14.11 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.16 ▲1.77 |
Add New Post /wp-admin/post-new.php | 4.65 ▼1.23 | 43.89 ▼48.28 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 32.90 ▼4.96 |
SupportHost star rating /wp-admin/options-general.php?page=supporthost-star-rating-plugin | 3.23 | 30.58 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SupportHost Star Rating
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,692 ▼79 | 13.40 ▼0.97 | 1.10 ▼1.03 | 27.41 ▼16.18 |
Dashboard /wp-admin | 2,207 ▲19 | 5.79 ▼0.09 | 96.19 ▼10.09 | 40.86 ▲1.52 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 41.08 ▲2.68 | 35.93 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.26 ▲0.06 | 642.64 ▲34.57 | 60.83 ▲12.65 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.03 | 96.00 ▼5.11 | 42.48 ▼1.88 |
SupportHost star rating /wp-admin/options-general.php?page=supporthost-star-rating-plugin | 829 | 2.02 | 24.76 | 31.57 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=supporthost-star-rating-plugin
- > Notice in wp-content/plugins/supporthost-star-rating/supporthost-star-rating.php+351
Trying to access array offset on value of type bool
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
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: rating, star, star rating
supporthost-star-rating/supporthost-star-rating.php Passed 13 tests
"SupportHost Star Rating" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
100 characters long description:
This light plugin adds the possibility to give rating while commenting. Optimal for review websites.
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 detected414 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 41 | 256 |
CSS | 1 | 17 | 1 | 89 |
PO File | 1 | 17 | 19 | 69 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin