Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼300.92ms] Passed 4 tests
Server-side resources used by Goserve Review Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.20 | 56.34 ▲4.45 |
Dashboard /wp-admin | 3.54 ▲0.13 | 33.75 ▲0.37 |
Posts /wp-admin/edit.php | 3.78 ▲0.13 | 37.93 ▲1.47 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.04 | 92.19 ▼1,205.06 |
Media Library /wp-admin/upload.php | 3.43 ▲0.13 | 25.02 ▼0.47 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Goserve Review Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲65 | 15.87 ▲0.20 | 5.94 ▼0.20 | 2.77 ▲0.32 |
Dashboard /wp-admin | 2,916 ▲55 | 6.15 ▼0.05 | 114.71 ▼21.84 | 155.85 ▼3.24 |
Posts /wp-admin/edit.php | 2,712 ▲18 | 3.24 ▼0.00 | 72.16 ▲7.89 | 157.08 ▲17.31 |
Add New Post /wp-admin/post-new.php | 1,776 ▲80 | 17.27 ▼3.92 | 401.93 ▼31.14 | 154.11 ▼2.21 |
Media Library /wp-admin/upload.php | 1,719 ▲15 | 5.52 ▲0.03 | 148.03 ▼5.14 | 186.46 ▲1.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (58 tag instead of maximum 10); only the first 5 tags are used in your directory listing
goserve-review-widget/goserve-review-widget.php Passed 13 tests
The primary PHP file in "Goserve Review Widget" version 1.0 is used by WordPress to initiate all plugin functionality
138 characters long description:
The most complete plugin to build social proof, trust and credibility with potential customers by showcasing your reviews on your website.
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
Everything looks great! No dangerous files found in this plugin2,234 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 327 | 161 | 1,356 |
PHP | 1 | 61 | 24 | 878 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 9.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin