Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.41ms] Passed 4 tests
A check of server-side resources used by myCred - BuddyBoss Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.70 ▼2.79 |
Dashboard /wp-admin | 3.37 ▲0.02 | 52.20 ▼12.53 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.50 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.71 ▼13.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 32.88 ▼1.11 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for myCred - BuddyBoss Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.36 ▲0.01 | 1.80 ▼0.06 | 43.98 ▼4.12 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.04 | 93.09 ▲4.60 | 41.26 ▲2.38 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.04 | 39.84 ▼5.03 | 36.45 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.63 ▲0.41 | 616.48 ▲18.40 | 52.29 ▲9.03 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.01 | 98.59 ▼5.54 | 43.58 ▼0.28 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% 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 | 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/mycred-buddyboss/includes/index.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mycred-buddyboss/mycred-buddyboss.php:112
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Screenshots: Screenshot #1 (The hook provides multiple event scenarios associated with the BuddyBoss Profiles. The events that can be set to Award points for include,Change Profile Avatar,Change Cover Image,Profile Update, Minimum Percent Profile,User Account activation,User Assigned Specific Profile type.) image missing
mycred-buddyboss/mycred-buddyboss.php 85% from 13 tests
The primary PHP file in "myCred - BuddyBoss Integration" version 1.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WP 4.8")
- Text Domain: The text domain should only use lowercase characters and dashes
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
There were no executable files found in this plugin4,888 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 2,040 | 820 | 4,441 |
CSS | 4 | 84 | 0 | 249 |
JavaScript | 3 | 90 | 1 | 198 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 86.80 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 6.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 145 | |
▷ Static methods | 2 | 1.38% |
▷ Public methods | 141 | 97.24% |
▷ Protected methods | 1 | 0.69% |
▷ Private methods | 3 | 2.07% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin