Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲1.59MB] [CPU: ▲3.76ms] Passed 4 tests
An overview of server-side resources used by Codeies - Elite user Ratings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.04 ▲1.58 | 52.65 ▲6.57 |
Dashboard /wp-admin | 4.95 ▲1.64 | 65.41 ▲2.64 |
Posts /wp-admin/edit.php | 5.00 ▲1.64 | 65.82 ▲13.26 |
Add New Post /wp-admin/post-new.php | 7.48 ▲1.59 | 103.31 ▼4.56 |
Media Library /wp-admin/upload.php | 4.78 ▲1.55 | 47.11 ▲10.37 |
Server storage [IO: ▲8.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 591 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_codeies_wmr |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Codeies - Elite user Ratings
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,188 ▲417 | 19.10 ▲4.46 | 6.03 ▲4.07 | 39.39 ▼4.63 |
Dashboard /wp-admin | 2,471 ▲280 | 9.24 ▲3.34 | 188.37 ▲83.82 | 42.40 ▲0.43 |
Posts /wp-admin/edit.php | 2,392 ▲303 | 6.28 ▲4.27 | 86.55 ▲47.91 | 35.62 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,599 ▲71 | 20.18 ▲2.09 | 742.56 ▲97.36 | 38.85 ▼20.29 |
Media Library /wp-admin/upload.php | 1,525 ▲137 | 6.58 ▲2.34 | 113.51 ▼1.77 | 45.98 ▼2.15 |
Member ratings /wp-admin/crb_carbon_fields_container_member_ratings.php | 26 | 0.44 | 0.13 | 14.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_codeies_wmr
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/codeies-elite-user-ratings/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/codeies-elite-user-ratings/public/partials/wordpress-member-ratings-public-display.php
- > /wp-content/plugins/codeies-elite-user-ratings/admin/partials/wordpress-member-ratings-display.php
- 214× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/htmlburger/carbon-fields/core/Container/Condition/User_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/codeies-elite-user-ratings/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Custom_Comparer.php:7
- > PHP Fatal error
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/crb_carbon_fields_container_member_ratings.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_member_ratings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: users, rating, buddypress
codeies-elite-user-ratings/elite-user-ratings.php 85% from 13 tests
The main file in "Codeies - Elite user Ratings" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("codeies-elite-user-ratings.php" instead of "elite-user-ratings.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin30,970 lines of code in 527 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 175 | 5,363 | 8,543 | 13,501 |
PHP | 259 | 2,950 | 7,533 | 11,051 |
PO File | 26 | 816 | 1,017 | 2,194 |
CSS | 10 | 349 | 1,144 | 1,923 |
Sass | 48 | 334 | 0 | 1,746 |
JSON | 5 | 0 | 0 | 472 |
Markdown | 3 | 24 | 0 | 68 |
SVG | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Analyzing 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.27 |
Average class complexity | 5.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 227 | |
▷ Abstract classes | 12 | 5.29% |
▷ Concrete classes | 215 | 94.71% |
▷ Final classes | 1 | 0.47% |
Methods | 1,016 | |
▷ Static methods | 95 | 9.35% |
▷ Public methods | 804 | 79.13% |
▷ Protected methods | 198 | 19.49% |
▷ Private methods | 14 | 1.38% |
Functions | 110 | |
▷ Named functions | 25 | 22.73% |
▷ Anonymous functions | 85 | 77.27% |
Constants | 34 | |
▷ Global constants | 8 | 23.53% |
▷ Class constants | 26 | 76.47% |
▷ Public constants | 26 | 100.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
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/raty/images/cancel-off.png | 1.32KB | 1.50KB | 0.00% |
public/raty/images/cancel-on.png | 4.21KB | 1.51KB | ▼ 64.16% |
public/raty/images/star-off.png | 0.91KB | 0.81KB | ▼ 10.97% |
public/raty/images/star-on.png | 1.01KB | 1.11KB | 0.00% |
public/raty/images/star-half.png | 0.94KB | 1.06KB | 0.00% |