Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > Error in wp-content/plugins/gamipress-buddyboss-integration/gamipress-buddyboss.php+123
Uncaught Error: Call to undefined function gamipress_is_network_wide_active() in wp-content/plugins/gamipress-buddyboss-integration/gamipress-buddyboss.php:123
Stack trace:
#0 wp-includes/class-wp-hook.php(307): GamiPress_BuddyBoss::activate()
#1 wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(474): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(689): do_action()
Server metrics [RAM: ▼0.02MB] [CPU: ▼288.55ms] Passed 4 tests
A check of server-side resources used by GamiPress - BuddyBoss integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 61.17 ▲5.57 |
Dashboard /wp-admin | 3.41 ▲0.00 | 38.49 ▲4.94 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 41.72 ▲5.30 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 147.12 ▼1,157.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 23.66 ▼7.08 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 41 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by GamiPress - BuddyBoss integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲47 | 15.77 ▲0.51 | 6.22 ▲0.27 | 2.85 ▲0.48 |
Dashboard /wp-admin | 2,895 ▲34 | 6.10 ▼0.05 | 118.36 ▼54.58 | 172.11 ▼0.41 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.24 ▲0.00 | 63.65 ▼2.92 | 142.70 ▼70.26 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 17.77 ▲0.48 | 412.38 ▼20.79 | 157.53 ▼8.65 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.51 ▼0.02 | 144.33 ▼1.40 | 195.99 ▼1.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-buddyboss-integration/gamipress-buddyboss.php:298
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (26 tag instead of maximum 10); only the first 5 tags are used in your directory listing
gamipress-buddyboss-integration/gamipress-buddyboss.php 92% from 13 tests
The principal PHP file in "GamiPress - BuddyBoss integration" v. 1.2.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("gamipress-buddyboss-integration.php" instead of "gamipress-buddyboss.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
No dangerous file extensions were detected3,827 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,415 | 1,799 | 3,630 |
CSS | 4 | 13 | 1 | 128 |
JavaScript | 8 | 28 | 8 | 69 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 21 | |
▷ Static methods | 3 | 14.29% |
▷ Public methods | 17 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 19.05% |
Functions | 160 | |
▷ Named functions | 160 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin