Benchmarks
Plugin footprint 63% 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: ▲5.51MB] [CPU: ▲36.52ms] 50% from 4 tests
An overview of server-side resources used by Community by PeepSo - Social Network, Membership, Registration, User Profiles
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 722.06ms on /wp-admin/admin.php?page=peepso_config)
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.51MB on /wp-admin/admin.php?page=peepso_config)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.08 ▲4.62 | 76.60 ▲36.06 |
Dashboard /wp-admin | 9.20 ▲5.86 | 89.24 ▲22.66 |
Posts /wp-admin/edit.php | 9.28 ▲5.92 | 104.57 ▲55.54 |
Add New Post /wp-admin/post-new.php | 11.54 ▲5.65 | 140.67 ▲34.44 |
Media Library /wp-admin/upload.php | 9.21 ▲5.98 | 88.68 ▲52.92 |
Queues /wp-admin/admin.php?page=peepso-queue | 9.21 | 91.88 |
Manage /wp-admin/admin.php?page=peepso-manage | 9.19 | 93.10 |
Installer NEW! /wp-admin/admin.php?page=peepso-installer | 9.18 | 570.92 |
Dashboard /wp-admin/admin.php?page=peepso | 9.21 | 1,219.10 |
Configuration /wp-admin/admin.php?page=peepso_config | 9.20 | 722.06 |
Server storage [IO: ▲25.34MB] [DB: ▲0.17MB] 33% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- There were 2 files (1.57KB) illegally modified outside of "wp-content/plugins/peepso-core/" and "wp-content/uploads/"
- (new file) wp-content/peepso/plugins/foundation/reactions-1701603311.css
- (new file) wp-content/peepso/plugins/foundation/blogposts-1701603311.css
- Filesystem usage must be lower than 25MB (currently using 25.34MB)
Filesystem: 1,646 new files
Database: 21 new tables, 39 new options
New tables |
---|
wp_peepso_brute_force_attempts_logs |
wp_peepso_polls_user_answers |
wp_peepso_reactions |
wp_peepso_blocks |
wp_peepso_notifications_queue_log |
wp_peepso_user_followers |
wp_peepso_activity_followers |
wp_peepso_gdpr_request_data |
wp_peepso_notifications |
wp_peepso_api_rate_limit |
... |
New WordPress options |
---|
peepso_email_failed_login_attempts |
peepso_email_user_approved |
peepso_email_password_recover |
peepso_email_tagged |
peepso_email_share |
peepso_config |
widget_peepsowidgetlogin |
peepso_install_date |
can_compress_scripts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Community by PeepSo - Social Network, Membership, Registration, User Profiles
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,463 ▲716 | 17.94 ▲3.60 | 55.20 ▲53.53 | 31.71 ▼12.11 |
Dashboard /wp-admin | 2,541 ▲374 | 6.21 ▲0.52 | 111.06 ▲1.24 | 96.90 ▲52.61 |
Posts /wp-admin/edit.php | 2,421 ▲324 | 2.82 ▲0.88 | 60.89 ▲20.37 | 62.91 ▲24.59 |
Add New Post /wp-admin/post-new.php | 1,795 ▲269 | 19.17 ▼4.03 | 786.97 ▲127.85 | 27.76 ▼32.63 |
Media Library /wp-admin/upload.php | 1,708 ▲308 | 5.65 ▲1.37 | 109.33 ▲12.83 | 110.20 ▲66.07 |
Queues /wp-admin/admin.php?page=peepso-queue | 1,881 | 4.13 | 66.69 | 117.19 |
Manage /wp-admin/admin.php?page=peepso-manage | 1,882 | 4.41 | 66.87 | 119.56 |
Installer NEW! /wp-admin/admin.php?page=peepso-installer | 1,601 | 3.20 | 56.95 | 114.73 |
Dashboard /wp-admin/admin.php?page=peepso | 1,886 | 3.00 | 71.06 | 110.80 |
Configuration /wp-admin/admin.php?page=peepso_config | 2,648 | 4.27 | 62.48 | 140.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.17MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 21 tables in the database
- wp_peepso_activity_ranking
- wp_peepso_reactions
- wp_peepso_api_rate_limit
- wp_peepso_likes
- wp_peepso_activities
- wp_peepso_brute_force_attempts_logs
- wp_peepso_gdpr_request_data
- wp_peepso_saved_posts
- wp_peepso_polls_user_answers
- wp_peepso_notifications
- ...
- This plugin does not fully uninstall, leaving 39 options in the database
- theysaidso_admin_options
- peepso_config
- peepso_install_date
- widget_peepsowidgetlatestmembers
- peepso_email_share
- peepso_email_new_user_no_approval
- peepso_email_new_user_registration
- peepso_email_failed_login_attempts
- widget_peepsowidgetonlinemembers
- peepso_email_like_post
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following items
- 26× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/peepso-core/templates/general/email-header.php
- > /wp-content/plugins/peepso-core/templates/members/member-buttons.php
- > /wp-content/plugins/peepso-core/templates/blogposts/wp-post-hashtags.php
- > /wp-content/plugins/peepso-core/templates/activity/activity-placeholder.php
- > /wp-content/plugins/peepso-core/templates/vip/hovercard.php
- > /wp-content/plugins/peepso-core/templates/admin/admin_notice_help.php
- > /wp-content/plugins/peepso-core/templates/admin/profiles_field_config_field_select.php
- > /wp-content/plugins/peepso-core/templates/giphy/comment-addon.php
- > /wp-content/plugins/peepso-core/templates/members/member-options.php
- > /wp-content/plugins/peepso-core/templates/notifications/email-preview.php
- 376× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PeepSo3_Search_Adapter_WP_Pages' not found in wp-content/plugins/peepso-core/3/classes/search/search_adapter_wp_posts.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/peepso-core/classes/widgets/widgetuserbar.php:4
- > PHP Fatal error
Uncaught Error: Class 'PeepSoFieldTestAbstract' not found in wp-content/plugins/peepso-core/classes/fields/tests/fieldtestcountmin.php:3
- > PHP Notice
Undefined variable: field in wp-content/plugins/peepso-core/templates/admin/urlnofollow.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/peepso-core/templates/profile/dialog-profile-download-account-data.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/peepso-core/3/classes/compatibility/wordpress_query_caching.php:14
- > PHP Fatal error
Uncaught Error: Class 'PeepSoInput' not found in wp-content/plugins/peepso-core/templates/general/external-link-warning.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/peepso-core/templates/post-backgrounds/admin_post_backgrounds.php:3
- > PHP Fatal error
Uncaught Error: Class 'PeepSo' not found in wp-content/plugins/peepso-core/templates/activity/content-embed.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/peepso-core/templates/general/register-panel.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=peepso-installer
- > Network (severe)
peepsoajax/adminAddons.check_license - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=peepso
- > Network (severe)
peepsoajax/adminEngagementDashboard.get_graph_data - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #13, #14, #2, #4, #6, #8, #9 in peepso-core/assets to your readme.txt
peepso-core/peepso.php 92% from 13 tests
The principal PHP file in "Community by PeepSo - Social Network, Membership, Registration, User Profiles" v. 6.2.7.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("peepso-core.php" instead of "peepso.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin242,155 lines of code in 1,333 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 19 | 43,491 | 51,604 | 88,983 |
PHP | 442 | 13,227 | 8,727 | 50,482 |
Sass | 248 | 8,210 | 2,456 | 33,665 |
JavaScript | 250 | 5,476 | 5,836 | 28,136 |
CSS | 43 | 1,357 | 609 | 21,324 |
SVG | 327 | 189 | 8 | 19,447 |
JSON | 2 | 0 | 0 | 85 |
Markdown | 1 | 11 | 0 | 23 |
Ruby | 1 | 8 | 12 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 24.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 891.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 255 | |
▷ Abstract classes | 7 | 2.75% |
▷ Concrete classes | 248 | 97.25% |
▷ Final classes | 0 | 0.00% |
Methods | 1,816 | |
▷ Static methods | 389 | 21.42% |
▷ Public methods | 1,524 | 83.92% |
▷ Protected methods | 89 | 4.90% |
▷ Private methods | 203 | 11.18% |
Functions | 184 | |
▷ Named functions | 13 | 7.07% |
▷ Anonymous functions | 171 | 92.93% |
Constants | 138 | |
▷ Global constants | 1 | 0.72% |
▷ Class constants | 137 | 99.28% |
▷ Public constants | 137 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
186 PNG files occupy 2.66MB with 0.81MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/avatar/group-category.png | 19.25KB | 6.81KB | ▼ 64.62% |
assets/images/powered-by-giphy.png | 1.53KB | 0.91KB | ▼ 40.83% |
assets/images/cover/undefined-default.png | 56.20KB | 61.36KB | 0.00% |
assets/images/share-icons/odnoklassniki.png | 0.17KB | 0.18KB | 0.00% |
assets/aceadmin/css/img/alpha.png | 3.19KB | 1.68KB | ▼ 47.45% |