Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.13ms] Passed 4 tests
A check of server-side resources used by GamiPress - PeepSo Group Leaderboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.86 ▲3.99 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.80 ▼1.41 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.17 ▲5.81 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.26 ▼20.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.95 ▼3.05 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by GamiPress - PeepSo Group Leaderboard
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.26 ▼0.11 | 1.70 ▲0.06 | 47.55 ▲8.36 |
Dashboard /wp-admin | 2,221 ▲44 | 5.64 ▲0.06 | 82.53 ▼2.18 | 40.54 ▼3.60 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▼0.01 | 39.07 ▲0.38 | 36.64 ▲4.54 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.45 ▲0.16 | 671.68 ▼15.63 | 58.33 ▲5.95 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.11 ▼0.09 | 106.26 ▲7.59 | 44.37 ▼2.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-peepso-group-leaderboard/gamipress-peepso-group-leaderboard.php:263
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
gamipress-peepso-group-leaderboard/gamipress-peepso-group-leaderboard.php Passed 13 tests
"GamiPress - PeepSo Group Leaderboard" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
97 characters long description:
Add a completely configurable tab on PeepSo groups with a GamiPress leaderboard of group members.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected565 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 169 | 268 | 444 |
JavaScript | 2 | 29 | 13 | 73 |
CSS | 2 | 8 | 2 | 48 |
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.38 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 9 | |
▷ Static methods | 3 | 33.33% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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