Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼1.05MB] [CPU: ▼41.25ms] Passed 4 tests
An overview of server-side resources used by Multi Rating & Review Matrix System
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▼0.53 | 20.29 ▼17.91 |
Dashboard /wp-admin | 2.97 ▼0.34 | 18.49 ▼31.39 |
Posts /wp-admin/edit.php | 2.97 ▼0.39 | 19.15 ▼34.70 |
Add New Post /wp-admin/post-new.php | 2.97 ▼2.92 | 19.77 ▼78.32 |
Media Library /wp-admin/upload.php | 2.97 ▼0.26 | 19.21 ▼20.58 |
Rating Matrices /wp-admin/admin.php?page=rmatrix-options | 2.97 | 16.63 |
RMatrix Main /wp-admin/admin.php?page=review-matrix | 2.97 | 16.79 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 60 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_rmatrix_fields |
wp_rmatrix_ratings |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
rmatrix_version |
db_upgraded |
rmatrix_build |
Browser metrics Passed 4 tests
An overview of browser requirements for Multi Rating & Review Matrix System
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.29 ▲0.10 | 2.93 ▲1.16 | 42.71 ▼1.58 |
Dashboard /wp-admin | 2,206 ▲26 | 5.56 ▼0.15 | 84.17 ▼6.84 | 80.47 ▲40.71 |
Posts /wp-admin/edit.php | 2,132 ▲29 | 1.95 ▼0.07 | 38.07 ▲2.68 | 34.10 ▼3.22 |
Add New Post /wp-admin/post-new.php | 6,424 ▲4,875 | 22.55 ▲4.34 | 940.15 ▲299.83 | 64.72 ▼9.36 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.17 ▼0.05 | 101.11 ▲0.92 | 66.27 ▲19.76 |
Rating Matrices /wp-admin/admin.php?page=rmatrix-options | 929 | 1.70 | 28.75 | 52.47 |
RMatrix Main /wp-admin/admin.php?page=review-matrix | 1,271 | 2.06 | 24.83 | 46.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/rating-review-matrix/loader.php+37
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP)
- Zombie tables were found after uninstall: 2 tables
- wp_rmatrix_fields
- wp_rmatrix_ratings
- The uninstall procedure has failed, leaving 8 options in the database
- rmatrix_version
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- rmatrix_build
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=review-matrix
- > Warning in wp-content/plugins/rating-review-matrix/loader.php+38
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=review-matrix
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=review-matrix
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
SRP 50% from 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
Please fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant RMATRIX_PLUGIN_DIR - assumed 'RMATRIX_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/rating-review-matrix/admin-framework/index.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rating-review-matrix/loader-admin.php:505
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rating-review-matrix/admin-framework/index.php:11
- > PHP Warning
Use of undefined constant RMATRIX_PLUGIN_URL - assumed 'RMATRIX_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/rating-review-matrix/admin-framework/index.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rating-review-matrix/post_types.php:2
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=rmatrix-options
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=rmatrix-options:433:15)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=review-matrix
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/rating-review-matrix/admin-framework/js/rmatrix.js:2:22)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=review-matrix
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/admin.php?page=review-matrix
- > Network (severe)
wp-content/plugins/rating-review-matrix/admin-framework/images/sprite.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== rating-review-matrix ===
) - Screenshots: These screenshots require images: #1 (In the Wordpress admin area, create a matrix or delete some), #2 (Once the matrix is created, you can select which one to associate with the post. Be careful not to change matrices as it will mess the ratings/votes up), #3 (Display the matrix on the frontend of the post you selected it for. Simple!), #4 (Matrix can be out of 5 OR out of 10), #5 (Fully Licalizable. French .mo file is included automatically)
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
rating-review-matrix/loader.php 92% from 13 tests
Analyzing the main PHP file in "Multi Rating & Review Matrix System" version 1.0.5
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("rating-review-matrix.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin6,939 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 84 | 96 | 4,768 |
PHP | 6 | 197 | 157 | 1,323 |
JavaScript | 8 | 111 | 175 | 589 |
PO File | 1 | 108 | 228 | 259 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 2.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.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
26 PNG files occupy 0.47MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 42.18KB | 15.73KB | ▼ 62.70% |
images/star_off.png | 2.29KB | 1.75KB | ▼ 23.89% |
images/blue.png | 2.69KB | 2.15KB | ▼ 19.85% |
images/rmatrix-menu-icon.png | 1.36KB | 1.32KB | ▼ 2.59% |
images/icons.png | 5.46KB | 2.29KB | ▼ 58.07% |