Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲7.03MB] [CPU: ▼109.76ms] 50% from 4 tests
This is a short check of server-side resources used by Starcat Review - WordPress Reviews & Rating Plugin with Woocommerce Integration
The following require your attention
- RAM: Total memory usage should be kept under 10MB (currently 10.27MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 7.03MB on /wp-admin/admin.php?page=scr-settings#tab=woocommerce-notification)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.25 ▲7.41 | 73.81 ▲37.92 |
Dashboard /wp-admin | 10.27 ▲7.20 | 77.32 ▲26.79 |
Posts /wp-admin/edit.php | 10.27 ▲7.16 | 79.29 ▲44.89 |
Add New Post /wp-admin/post-new.php | 11.94 ▲6.51 | 118.37 ▼541.90 |
Media Library /wp-admin/upload.php | 10.27 ▲7.26 | 64.83 ▲38.16 |
Freemius Debug [v.2.5.0.1] /wp-admin/admin.php?page=freemius | 10.27 | 67.00 |
Server storage [IO: ▲9.79MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 624 new files
Database: no new tables, 8 new options
New WordPress options |
---|
starcat_review_version |
starcat_review_upgrades |
fs_gdpr |
starcat-review/starcat-review.php |
scr_options |
fs_accounts |
fs_debug_mode |
fs_active_plugins |
Browser metrics Passed 4 tests
Starcat Review - WordPress Reviews & Rating Plugin with Woocommerce Integration: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,132 ▲531 | 16.80 ▲1.12 | 19.50 ▲14.00 | 73.94 ▼19.06 |
Dashboard /wp-admin | 3,207 ▲311 | 6.64 ▲0.49 | 118.20 ▼14.61 | 177.03 ▼1.55 |
Posts /wp-admin/edit.php | 3,807 ▲1,067 | 5.80 ▲2.56 | 115.32 ▲49.20 | 148.68 ▲8.91 |
Add New Post /wp-admin/post-new.php | 2,271 ▼1,472 | 16.17 ▼2.85 | 406.62 ▼32.80 | 213.05 ▲43.70 |
Media Library /wp-admin/upload.php | 2,150 ▲398 | 5.69 ▲0.18 | 125.94 ▼19.81 | 196.40 ▲14.62 |
General Settings /wp-admin/admin.php?page=scr-settings#tab=general-settings | 2,353 | 5.36 | 84.33 | 182.58 |
Woocommerce Settings /wp-admin/admin.php?page=scr-settings#tab=woocommerce-settings | 2,319 | 5.06 | 86.21 | 163.68 |
Category Page /wp-admin/admin.php?page=scr-settings#tab=category-page | 2,322 | 5.31 | 81.37 | 169.57 |
Freemius Debug [v.2.5.0.1] /wp-admin/admin.php?page=freemius | 1,763 | 2.78 | 63.44 | 113.77 |
Main Page /wp-admin/admin.php?page=scr-settings#tab=main-page | 2,346 | 5.36 | 84.09 | 166.37 |
Single Page /wp-admin/admin.php?page=scr-settings#tab=single-page | 2,317 | 5.11 | 82.39 | 176.53 |
Photo Reviews /wp-admin/admin.php?page=scr-settings#tab=photo-reviews | 2,350 | 5.37 | 82.44 | 176.02 |
Comparison Table /wp-admin/admin.php?page=scr-settings#tab=comparison-table | 2,350 | 5.36 | 83.31 | 167.41 |
User Reviews /wp-admin/admin.php?page=scr-settings#tab=user-reviews | 2,353 | 4.95 | 83.46 | 174.48 |
Woocommerce Notification /wp-admin/admin.php?page=scr-settings#tab=woocommerce-notification | 2,353 | 5.37 | 81.94 | 170.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/starcat-review/vendor/pauple/pluginator/src/Library/freemius/includes/class-freemius.php+8911
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 7 options in the database
- scr_options
- fs_debug_mode
- fs_accounts
- fs_gdpr
- starcat_review_upgrades
- fs_active_plugins
- starcat_review_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 128× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Codeception\\Test\\Unit' not found in wp-content/plugins/starcat-review/vendor/pauple/pluginator/tests/unit/WidgetryTest.php:3
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installer\\LibraryInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/Installer.php:14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/starcat-review/app/components/user-reviews/table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/starcat-review/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #11 in starcat-review/assets to your readme.txt
- Screenshots: Screenshot #1 (User review with Multi-criteria, Reply, Voting, Pros & Cons, Search and Sort) image missing
starcat-review/starcat-review.php 92% from 13 tests
"Starcat Review - WordPress Reviews & Rating Plugin with Woocommerce Integration" version 0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "3.0")
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected81,987 lines of code in 517 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 432 | 14,195 | 20,634 | 60,250 |
PO File | 22 | 3,323 | 3,447 | 6,859 |
JavaScript | 14 | 1,317 | 435 | 5,398 |
CSS | 22 | 284 | 690 | 4,585 |
SVG | 8 | 0 | 12 | 2,894 |
Sass | 2 | 123 | 0 | 700 |
SQL | 1 | 124 | 0 | 509 |
JSON | 4 | 0 | 0 | 367 |
JSX | 4 | 58 | 39 | 265 |
YAML | 6 | 5 | 18 | 142 |
Markdown | 1 | 2 | 0 | 15 |
Dockerfile | 1 | 1 | 0 | 3 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,029)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 22.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,029.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 41 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 330 | |
▷ Abstract classes | 9 | 2.73% |
▷ Concrete classes | 321 | 97.27% |
▷ Final classes | 0 | 0.00% |
Methods | 2,252 | |
▷ Static methods | 299 | 13.28% |
▷ Public methods | 1,686 | 74.87% |
▷ Protected methods | 165 | 7.33% |
▷ Private methods | 401 | 17.81% |
Functions | 140 | |
▷ Named functions | 133 | 95.00% |
▷ Anonymous functions | 7 | 5.00% |
Constants | 139 | |
▷ Global constants | 103 | 74.10% |
▷ Class constants | 36 | 25.90% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.17MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/templates/left-sidebar.png | 0.36KB | 0.19KB | ▼ 46.61% |
includes/assets/vendors/semantic/bundle/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |
includes/assets/img/stars-stat.png | 16.94KB | 5.62KB | ▼ 66.83% |
vendor/pauple/pluginator/src/Library/freemius/assets/img/starcat-review.png | 14.07KB | 5.84KB | ▼ 58.47% |
includes/assets/img/tomato-outline.png | 2.43KB | 2.43KB | 0.00% |