Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.43ms] Passed 4 tests
An overview of server-side resources used by Plugin Reviews
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.86 ▼3.80 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.15 ▼2.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.71 ▼7.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.66 ▼8.13 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.07 ▲2.86 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wr_reviews_flush_transient |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Plugin Reviews
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲168 | 13.64 ▼0.55 | 7.61 ▲5.51 | 38.18 ▼11.29 |
Dashboard /wp-admin | 2,215 ▲27 | 4.91 ▼0.98 | 94.98 ▼11.91 | 40.69 ▼1.29 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.08 ▲0.07 | 34.05 ▼1.48 | 30.93 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.27 ▼0.02 | 656.04 ▲16.94 | 54.01 ▼4.09 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.35 ▲0.19 | 96.48 ▼0.95 | 42.47 ▲0.82 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- wr_reviews_flush_transient
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: wordpress, ratings, plugin reviews, reviews, plugins
plugin-reviews/plugin-reviews.php 92% from 13 tests
The main file in "Plugin Reviews" v. 0.6.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Please make sure to remedy the following
- For security reasons, never distribute binary or executable files with your plugin
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/plugin-reviews/vendor/echo.url
- ☣ wp-content/plugins/plugin-reviews/vendor/slick.url
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 727 | 42 | 2,029 |
PHP | 3 | 223 | 401 | 464 |
CSS | 3 | 45 | 5 | 271 |
Sass | 2 | 27 | 1 | 258 |
PO File | 1 | 4 | 4 | 29 |
SVG | 1 | 1 | 0 | 13 |
Ruby | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 5 | 12.20% |
▷ Public methods | 16 | 39.02% |
▷ Protected methods | 25 | 60.98% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin