Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.75MB] [CPU: ▲2.66ms] Passed 4 tests
Server-side resources used by IndieAuth
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.74 | 46.27 ▲1.09 |
Dashboard /wp-admin | 4.05 ▲0.74 | 53.34 ▲3.97 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 54.93 ▲1.09 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 93.37 ▲6.24 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 41.16 ▲4.48 |
IndieAuth /wp-admin/options-general.php?page=indieauth | 3.96 | 57.08 |
Manage Tokens /wp-admin/users.php?page=indieauth_user_token | 4.00 | 38.72 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
_indieauth_token_ids |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by IndieAuth
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲42 | 14.72 ▲0.34 | 1.76 ▲0.20 | 43.22 ▲0.57 |
Dashboard /wp-admin | 2,203 ▲36 | 5.64 ▼0.03 | 91.10 ▼17.80 | 39.54 ▼4.06 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.94 ▼0.03 | 38.73 ▼3.04 | 36.37 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.30 ▲0.14 | 683.08 ▲54.28 | 63.35 ▲4.42 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.18 ▲0.01 | 97.05 ▼10.78 | 42.07 ▼3.65 |
IndieAuth /wp-admin/options-general.php?page=indieauth | 975 | 2.02 | 24.86 | 31.07 |
Manage Tokens /wp-admin/users.php?page=indieauth_user_token | 1,047 | 2.13 | 24.21 | 27.78 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- _indieauth_token_ids
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 29× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indieauth/includes/class-indieauth-client-taxonomy.php:9
- > PHP Fatal error
Uncaught Error: Class 'IndieAuth_Endpoint' not found in wp-content/plugins/indieauth/includes/class-indieauth-revocation-endpoint.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/indieauth/templates/authdiagfail.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function login_header() in wp-content/plugins/indieauth/templates/websignin-form.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Error' not found in wp-content/plugins/indieauth/templates/indieauth-authenticate-form.php:2
- > PHP Fatal error
Uncaught Error: Class 'Token_Generic' not found in wp-content/plugins/indieauth/includes/class-token-transient.php:4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/indieauth/includes/class-external-token-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/indieauth/includes/class-token-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Response' not found in wp-content/plugins/indieauth/includes/class-oauth-response.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/indieauth/templates/indieauth-settings.php:2
- > 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)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: indieweb, login, indiewebcamp, indieauth
indieauth/indieauth.php Passed 13 tests
"IndieAuth" version 4.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
98 characters long description:
IndieAuth is a way to allow users to use their own domain to sign into other websites and services
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
No dangerous file extensions were detected4,446 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 637 | 1,097 | 4,446 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 19.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 2 | 7.69% |
▷ Concrete classes | 24 | 92.31% |
▷ Final classes | 1 | 4.17% |
Methods | 254 | |
▷ Static methods | 45 | 17.72% |
▷ Public methods | 243 | 95.67% |
▷ Protected methods | 5 | 1.97% |
▷ Private methods | 6 | 2.36% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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 files were detected