Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.61ms] Passed 4 tests
A check of server-side resources used by myCred BP Group Leaderboards
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.55 ▼5.00 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.25 ▼6.23 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.01 ▲0.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.85 ▼1.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.83 ▼1.96 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by myCred BP Group Leaderboards
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.17 ▼1.39 | 1.53 ▼0.16 | 42.19 ▼2.25 |
Dashboard /wp-admin | 2,209 ▲24 | 4.86 ▼1.04 | 113.36 ▼24.77 | 40.47 ▼16.57 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▼0.01 | 39.51 ▲2.25 | 35.66 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.30 ▲5.84 | 584.74 ▼111.11 | 42.01 ▼11.98 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.07 | 102.25 ▼10.88 | 46.50 ▲1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/mycred-bp-group-leaderboards/mycred-bp-group-leaderboards.php:97
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in mycred-bp-group-leaderboards/assets to your readme.txt
mycred-bp-group-leaderboards/mycred-bp-group-leaderboards.php 85% from 13 tests
The main file in "myCred BP Group Leaderboards" v. 1.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WP 4.8")
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
Good job! No executable or dangerous file extensions detected901 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 319 | 228 | 778 |
PO File | 1 | 49 | 50 | 123 |
PHP code Passed 2 tests
Analyzing 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.40 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin