Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.99ms] Passed 4 tests
Server-side resources used by Sx Site Rating
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.23 ▼3.01 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.72 ▼2.06 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.62 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.65 ▼28.22 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.52 ▼2.67 |
Settings /wp-admin/admin.php?page=sx-rating-settings | 3.23 | 25.96 |
View Ratings /wp-admin/admin.php?page=sx-rating | 3.23 | 32.35 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 9 new options
New WordPress options |
---|
sx_ratings |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_sx_site_rating_widget |
widget_recent-comments |
theysaidso_admin_options |
sx_rating_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Sx Site Rating
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 13.41 ▼0.94 | 8.17 ▲5.94 | 38.32 ▼4.49 |
Dashboard /wp-admin | 2,220 ▲46 | 5.62 ▲0.04 | 97.70 ▼1.20 | 41.91 ▼7.06 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.03 ▲0.08 | 39.53 ▲4.23 | 34.95 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.22 ▼0.04 | 610.98 ▼67.62 | 53.23 ▲0.07 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.19 ▼0.04 | 101.06 ▼2.05 | 42.86 ▼5.48 |
Settings /wp-admin/admin.php?page=sx-rating-settings | 918 | 2.02 | 25.90 | 54.81 |
View Ratings /wp-admin/admin.php?page=sx-rating | 844 | 2.00 | 23.33 | 59.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_sx_site_rating_widget
- sx_rating_settings
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- sx_ratings
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid URI ("")
sx-site-rating/sx-site-rating.php Passed 13 tests
The main file in "Sx Site Rating" v. 0.9.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
46 characters long description:
A simple rating plugin for your wordpress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin967 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 121 | 109 | 642 |
CSS | 1 | 41 | 16 | 210 |
JavaScript | 2 | 24 | 2 | 115 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 60.00 |
▷ Minimum class complexity | 60.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 9.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 25 | |
▷ Named functions | 25 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin