Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.37ms] Passed 4 tests
An overview of server-side resources used by BuddyPress Group Folders
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.06 ▼3.45 |
Dashboard /wp-admin | 3.42 ▲0.11 | 51.20 ▼1.65 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.91 ▼5.63 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 85.04 ▼10.73 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.23 ▲6.71 |
Group Folders /wp-admin/options-general.php?page=bp-gfold-admin | 3.30 | 32.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
BuddyPress Group Folders: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.27 ▼1.09 | 1.78 ▼0.57 | 44.58 ▲1.21 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.02 | 115.70 ▲3.57 | 42.35 ▼5.91 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.01 ▼0.03 | 36.01 ▲2.14 | 32.75 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.21 ▼0.07 | 645.33 ▼90.21 | 55.13 ▼7.03 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.06 | 98.95 ▼17.31 | 46.12 ▼2.05 |
Group Folders /wp-admin/options-general.php?page=bp-gfold-admin | 861 | 2.03 | 22.19 | 26.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/buddypress-group-folders/bp-gfold-worker.php
- > /wp-content/plugins/buddypress-group-folders/bp-gfold-download.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: ajax in wp-content/plugins/buddypress-group-folders/bp-gfold-worker.php on line 22
- > PHP Notice
Undefined index: bp-gfold-group-id in wp-content/plugins/buddypress-group-folders/bp-gfold-worker.php on line 23
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
4 plugin tags: files, folders, groups, buddypress
buddypress-group-folders/bp-gfold.php 92% from 13 tests
The principal PHP file in "BuddyPress Group Folders" v. 1.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("buddypress-group-folders.php" instead of "bp-gfold.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,109 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 187 | 75 | 682 |
JavaScript | 1 | 26 | 3 | 173 |
PO File | 2 | 74 | 78 | 172 |
CSS | 1 | 4 | 0 | 82 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 37.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin