Benchmarks
Plugin footprint 65% 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.02MB] [CPU: ▲54.68ms] Passed 4 tests
This is a short check of server-side resources used by Star Review Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 91.46 ▲48.28 |
Dashboard /wp-admin | 3.33 ▲0.02 | 100.72 ▲54.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 104.93 ▲60.32 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 138.54 ▲55.84 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 103.73 ▲69.74 |
Review container settings /wp-admin/admin.php?page=reviewcontainer_settings | 3.24 | 87.32 |
Star Manager Review Settings /wp-admin/options-general.php?page=settings | 3.25 | 80.05 |
Manage review instances /wp-admin/admin.php?page=manage_reviewcontainers | 3.26 | 82.10 |
Manage reviews /wp-admin/admin.php?page=manage_reviews | 3.28 | 84.88 |
Help /wp-admin/admin.php?page=help | 3.31 | 85.03 |
Create new review container /wp-admin/admin.php?page=new_reviewcontainer | 3.26 | 85.41 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 37 new files
Database: 5 new tables, 6 new options
New tables |
---|
srm_container |
srm_rating |
srm_containerrating |
srm_reviews |
srm_users |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Star Review Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.57 ▼0.80 | 4.88 ▲3.00 | 42.11 ▼3.40 |
Dashboard /wp-admin | 2,240 ▲55 | 4.92 ▼0.94 | 105.26 ▲3.46 | 39.45 ▲0.01 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.27 ▲0.22 | 38.12 ▼10.63 | 37.74 ▼6.01 |
Add New Post /wp-admin/post-new.php | 1,699 ▲154 | 20.34 ▲1.96 | 713.17 ▲97.39 | 62.13 ▲13.42 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.19 ▲0.03 | 102.81 ▼13.87 | 52.23 ▲8.29 |
Review container settings /wp-admin/admin.php?page=reviewcontainer_settings | 806 | 1.81 | 24.78 | 22.58 |
Star Manager Review Settings /wp-admin/options-general.php?page=settings | 853 | 1.80 | 25.46 | 31.45 |
Manage review instances /wp-admin/admin.php?page=manage_reviewcontainers | 873 | 1.81 | 26.89 | 27.82 |
Manage reviews /wp-admin/admin.php?page=manage_reviews | 902 | 1.80 | 28.39 | 27.43 |
Help /wp-admin/admin.php?page=help | 1,131 | 1.76 | 24.36 | 38.19 |
Create new review container /wp-admin/admin.php?page=new_reviewcontainer | 881 | 1.84 | 27.00 | 28.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables detected upon uninstall: 5 tables
- srm_containerrating
- srm_rating
- srm_container
- srm_users
- srm_reviews
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=settings
- > Notice in wp-content/plugins/star-review-manager/admin/settings.php+3
Undefined index: css_text
- > GET request to /wp-admin/admin.php?page=manage_reviewcontainers
- > Deprecated in wp-content/plugins/star-review-manager/admin/manage_reviewcontainers.php+19
Non-static method ReviewContainer::get_reviewcontainers() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage_reviews
- > Warning in wp-content/plugins/star-review-manager/admin/manage_reviews.php+94
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=manage_reviews
- > Notice in wp-content/plugins/star-review-manager/admin/manage_reviews.php+28
Undefined variable: pending_reviews
- > GET request to /wp-admin/admin.php?page=manage_reviews
- > Notice in wp-content/plugins/star-review-manager/admin/manage_reviews.php+94
Undefined variable: active_reviews
SRP 50% from 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 following issues need your attention
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function showDonate() in wp-content/plugins/star-review-manager/admin/manage_reviews.php:11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/star-review-manager/admin/settings.php on line 2
- > PHP Notice
Undefined index: css_text in wp-content/plugins/star-review-manager/admin/settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/star-review-manager/admin/help.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/star-review-manager/admin/admin_menu.php:2
- > PHP Warning
Use of undefined constant SRM_FREE - assumed 'SRM_FREE' (this will throw an Error in a future version of PHP) in wp-content/plugins/star-review-manager/admin/manage_reviewcontainers.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/star-review-manager/admin/new_reviewcontainer.php:55
- > PHP Warning
Use of undefined constant SRM_FREE - assumed 'SRM_FREE' (this will throw an Error in a future version of PHP) in wp-content/plugins/star-review-manager/admin/manage_reviews.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/star-review-manager/admin/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function showDonate() in wp-content/plugins/star-review-manager/admin/manage_reviewcontainers.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
star-review-manager/star-review-manager.php Passed 13 tests
The entry point to "Star Review Manager" version 1.2.2 is a PHP file that has certain tags in its header comment area
78 characters long description:
Easily set up a review page and manage your reviews using Star Review Manager.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin9,164 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 77 | 51 | 6,326 |
JavaScript | 2 | 506 | 193 | 1,258 |
PHP | 17 | 110 | 54 | 1,017 |
PO File | 1 | 131 | 240 | 334 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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 files were detected