Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.16ms] Passed 4 tests
An overview of server-side resources used by WP Steam Auth
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 38.90 ▲0.92 |
Dashboard /wp-admin | 3.45 ▲0.15 | 45.95 ▼3.80 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.31 ▲2.85 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 86.69 ▼8.60 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 38.06 ▲5.14 |
WP Steam Auth /wp-admin/options-general.php?page=wp-steam-auth | 3.35 | 31.39 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wpsapSettings_steamAppLoginUrl |
db_upgraded |
wpsapSettings_steamAppLogoutUrl |
widget_theysaidso_widget |
wpsapSettings_steamAppSyncUrl |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Steam Auth
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.39 ▼1.28 | 1.61 ▼0.11 | 37.79 ▼3.17 |
Dashboard /wp-admin | 2,229 ▲37 | 4.89 ▼0.03 | 104.39 ▼2.19 | 47.30 ▲6.54 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.04 ▲0.07 | 40.84 ▼2.41 | 38.48 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,525 ▲6 | 17.74 ▼5.53 | 695.37 ▲50.87 | 62.44 ▲13.58 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.21 ▼0.01 | 101.81 ▲2.29 | 45.08 ▲0.35 |
WP Steam Auth /wp-admin/options-general.php?page=wp-steam-auth | 1,586 | 1.77 | 30.69 | 62.03 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- theysaidso_admin_options
- wpsapSettings_steamAppLoginUrl
- widget_recent-posts
- db_upgraded
- wpsapSettings_steamAppLogoutUrl
- widget_recent-comments
- can_compress_scripts
- wpsapSettings_steamAppSyncUrl
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-steam-auth/wp-steam-auth.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-steam-auth/inc/filters.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function user_trailingslashit() in wp-content/plugins/wp-steam-auth/inc/modifiers.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-steam-auth/inc/shortcodes.php:34
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% 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: A description for screenshot #3 is missing in wp-steam-auth/assets to your readme.txt
wp-steam-auth/wp-steam-auth.php Passed 13 tests
The primary PHP file in "WP Steam Auth" version 0.6.4 is used by WordPress to initiate all plugin functionality
65 characters long description:
Register, Login & Synchronize WP Users via Steam Authentification
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
Success! There were no dangerous files found in this plugin7,408 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 20 | 9 | 5,900 |
PHP | 6 | 378 | 484 | 1,444 |
JavaScript | 2 | 16 | 4 | 64 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 190.00 |
▷ Minimum class complexity | 190.00 |
▷ Maximum class complexity | 190.00 |
Average method complexity | 7.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 36.67% |
▷ Protected methods | 17 | 56.67% |
▷ Private methods | 2 | 6.67% |
Functions | 33 | |
▷ Named functions | 33 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin