Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.91MB] [CPU: ▼33.62ms] Passed 4 tests
This is a short check of server-side resources used by AllPlayers.com Connect
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.53 ▼6.26 |
Dashboard /wp-admin | 3.05 ▼0.30 | 23.88 ▼35.85 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 24.03 ▼23.56 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 24.97 ▼63.83 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 20.98 ▼11.25 |
AllPlayers.com Connect /wp-admin/options-general.php?page=ap | 3.05 | 23.71 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AllPlayers.com Connect
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲28 | 14.72 ▲0.17 | 1.63 ▼0.35 | 43.18 ▲1.67 |
Dashboard /wp-admin | 2,205 ▲28 | 5.56 ▼0.11 | 83.64 ▼4.72 | 39.57 ▼1.83 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 1.98 ▼0.04 | 34.50 ▼1.74 | 35.20 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 18.23 ▼4.69 | 585.66 ▼84.61 | 65.75 ▲7.54 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.33 ▲0.18 | 96.37 ▼6.70 | 42.15 ▼2.87 |
AllPlayers.com Connect /wp-admin/options-general.php?page=ap | 962 | 1.78 | 25.95 | 28.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/allplayerscom-connect/ap.php+69
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=ap
- > Deprecated in wp-content/plugins/allplayerscom-connect/ap.php+69
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=ap
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ap
- > Notice in wp-content/plugins/allplayerscom-connect/ap.php+262
Trying to access array offset on value of type bool
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/allplayerscom-connect/uninstall.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/allplayerscom-connect/ap.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/allplayerscom-connect/ap-login.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Login screen with AllPlayers.com login option.), #2 (AllPlayers.com Connect on My Profile screen.), #3 (AllPlayers.com Connect, connected, on My Profile screen.)
allplayerscom-connect/ap.php 92% from 13 tests
"AllPlayers.com Connect" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("allplayerscom-connect.php" instead of "ap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected896 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 228 | 285 | 896 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 10 | 14.29% |
▷ Public methods | 59 | 84.29% |
▷ Protected methods | 2 | 2.86% |
▷ Private methods | 9 | 12.86% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Sign-in-with-AllPlayers-darker.png | 5.87KB | 3.54KB | ▼ 39.76% |
images/ap_bug_w.png | 1.71KB | 1.60KB | ▼ 6.46% |
images/Sign-in-with-AllPlayers-lighter-small.png | 2.30KB | 1.83KB | ▼ 20.52% |
images/Sign-in-with-AllPlayers-lighter.png | 5.94KB | 3.26KB | ▼ 45.14% |
images/ap_btn_sm_b.png | 4.24KB | 2.79KB | ▼ 34.09% |