Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.93ms] Passed 4 tests
A check of server-side resources used by WPGraphQL BuddyPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.36 ▼7.19 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.06 ▲2.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.12 ▲2.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.08 ▼23.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.94 ▲0.90 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 244 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WPGraphQL BuddyPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.20 ▼1.17 | 4.95 ▲3.05 | 40.48 ▼7.05 |
Dashboard /wp-admin | 2,203 ▲18 | 5.77 ▼0.11 | 96.01 ▼6.58 | 36.51 ▼2.62 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▼0.02 | 37.28 ▼3.81 | 33.18 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.11 ▲5.60 | 645.70 ▲27.03 | 52.64 ▲2.40 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.32 ▲0.02 | 98.62 ▼1.22 | 41.12 ▼2.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 143× 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/wp-graphql-buddypress/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'WPGraphQL\\Data\\Loader\\AbstractDataLoader' not found in wp-content/plugins/wp-graphql-buddypress/src/Data/Loader/NotificationObjectLoader.php:19
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-graphql-buddypress/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPGraphQL\\Data\\Connection\\AbstractConnectionResolver' not found in wp-content/plugins/wp-graphql-buddypress/src/Connection/Resolvers/BlogsConnectionResolver.php:20
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-graphql-buddypress/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-graphql-buddypress/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'WPGraphQL\\Data\\Loader\\AbstractDataLoader' not found in wp-content/plugins/wp-graphql-buddypress/src/Data/Loader/MessageObjectLoader.php:18
- > PHP Fatal error
Uncaught Error: Class 'WPGraphQL\\Data\\Connection\\AbstractConnectionResolver' not found in wp-content/plugins/wp-graphql-buddypress/src/Connection/Resolvers/MembersConnectionResolver.php:20
- > PHP Fatal error
Uncaught Error: Class 'WPGraphQL\\Data\\Connection\\AbstractConnectionResolver' not found in wp-content/plugins/wp-graphql-buddypress/src/Connection/Resolvers/FriendshipsConnectionResolver.php:22
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-graphql-buddypress/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% 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
8 plugin tags: bp graphql, rest, social networking, graphql, api...
wp-graphql-buddypress/wp-graphql-buddypress.php 92% from 13 tests
The principal PHP file in "WPGraphQL BuddyPress" v. 0.1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin13,152 lines of code in 239 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 238 | 2,507 | 5,519 | 12,992 |
JSON | 1 | 0 | 0 | 160 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 5.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 231 | |
▷ Abstract classes | 1 | 0.43% |
▷ Concrete classes | 230 | 99.57% |
▷ Final classes | 1 | 0.43% |
Methods | 582 | |
▷ Static methods | 297 | 51.03% |
▷ Public methods | 499 | 85.74% |
▷ Protected methods | 69 | 11.86% |
▷ Private methods | 14 | 2.41% |
Functions | 335 | |
▷ Named functions | 2 | 0.60% |
▷ Anonymous functions | 333 | 99.40% |
Constants | 9 | |
▷ Global constants | 5 | 55.56% |
▷ Class constants | 4 | 44.44% |
▷ Public constants | 4 | 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
No PNG files were detected