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.00MB] [CPU: ▼7.77ms] Passed 4 tests
An overview of server-side resources used by HivePress Reviews
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.06 ▼10.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.21 ▼8.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.50 ▼2.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.73 ▼6.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.34 ▼4.77 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by HivePress Reviews
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.38 ▼0.15 | 2.04 ▲0.43 | 43.73 ▼3.76 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.10 | 99.63 ▼3.15 | 45.02 ▲2.69 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.96 ▼0.06 | 35.26 ▼0.49 | 34.72 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.04 ▼0.07 | 678.01 ▲5.10 | 55.18 ▼11.88 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.01 | 96.39 ▼12.53 | 44.04 ▼4.26 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 Passed 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: classifieds, listings, directory, reviews, hivepress
hivepress-reviews/hivepress-reviews.php Passed 13 tests
"HivePress Reviews" version 1.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
40 characters long description:
Allow users to rate and review listings.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,703 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 390 | 798 | 1,551 |
LESS | 1 | 26 | 6 | 125 |
JavaScript | 3 | 3 | 11 | 21 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 9.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 2 | 13.33% |
Methods | 74 | |
▷ Static methods | 23 | 31.08% |
▷ Public methods | 66 | 89.19% |
▷ Protected methods | 6 | 8.11% |
▷ Private methods | 2 | 2.70% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin