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.10MB] [CPU: ▼4.24ms] Passed 4 tests
This is a short check of server-side resources used by OpenID
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 46.96 ▲2.73 |
Dashboard /wp-admin | 3.46 ▲0.15 | 52.44 ▼3.43 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 57.63 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.84 ▼18.12 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 42.95 ▲5.18 |
Your Trusted Sites /wp-admin/users.php?page=openid_trusted_sites | 3.26 | 36.25 |
Your OpenIDs /wp-admin/users.php?page=your_openids | 3.28 | 34.52 |
OpenID /wp-admin/options-general.php?page=openid | 3.28 | 34.61 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 84 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_openid_identities |
New WordPress options |
---|
widget_recent-comments |
openid_comment_displayname_length |
can_compress_scripts |
theysaidso_admin_options |
openid_plugin_enabled |
widget_recent-posts |
widget_theysaidso_widget |
openid_plugin_revision |
openid_db_revision |
openid_enable_approval |
... |
Browser metrics Passed 4 tests
A check of browser resources used by OpenID
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 13.25 ▼1.50 | 1.81 ▲0.16 | 43.65 ▼1.19 |
Dashboard /wp-admin | 2,236 ▲36 | 4.83 ▼1.06 | 113.31 ▲3.49 | 38.39 ▼3.84 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.02 ▲0.01 | 41.65 ▼0.70 | 36.02 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.13 ▲5.56 | 683.44 ▲51.32 | 57.21 ▲6.68 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 4.23 ▼0.02 | 109.27 ▲7.07 | 46.33 ▲0.22 |
Your Trusted Sites /wp-admin/users.php?page=openid_trusted_sites | 914 | 2.02 | 24.06 | 27.42 |
Your OpenIDs /wp-admin/users.php?page=your_openids | 880 | 2.05 | 25.53 | 25.98 |
OpenID /wp-admin/options-general.php?page=openid | 1,045 | 2.09 | 24.73 | 30.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/users.php?page=openid_trusted_sites
- > Notice in wp-content/plugins/openid/admin_panels.php+435
Undefined index: action
SRP 50% 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
The following issues need your attention
- 80× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/openid/comments.php:9
- > PHP Warning
require_once(Auth/OpenID.php): failed to open stream: No such file or directory in wp-content/plugins/openid/lib/Auth/OpenID/Message.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'Auth/Yadis/Misc.php' (include_path='.:/usr/share/php') in wp-content/plugins/openid/lib/Auth/OpenID/URINorm.php on line 12
- > PHP Warning
require_once(Auth/OpenID/SReg.php): failed to open stream: No such file or directory in wp-content/plugins/openid/server_ext.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'Auth/OpenID/CryptUtil.php' (include_path='.:/usr/share/php') in wp-content/plugins/openid/lib/Auth/OpenID/Association.php on line 20
- > PHP Fatal error
require_once(): Failed opening required 'Auth/OpenID.php' (include_path='.:/usr/share/php') in wp-content/plugins/openid/lib/Auth/OpenID/DiffieHellman.php on line 17
- > PHP Warning
require_once(Auth/Yadis/HTTPFetcher.php): failed to open stream: No such file or directory in wp-content/plugins/openid/lib/Auth/Yadis/PlainHTTPFetcher.php on line 20
- > PHP Fatal error
require_once(): Failed opening required 'Auth/Yadis/PlainHTTPFetcher.php' (include_path='.:/usr/share/php') in wp-content/plugins/openid/lib/Auth/OpenID.php on line 28
- > PHP Warning
require_once(Auth/OpenID/Message.php): failed to open stream: No such file or directory in wp-content/plugins/openid/lib/Auth/OpenID/SReg.php on line 45
- > PHP Warning
require_once(Auth/OpenID.php): failed to open stream: No such file or directory in wp-content/plugins/openid/lib/Auth/OpenID/Consumer.php on line 163
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Commentors can use their OpenID when leaving a comment), #2 (Users can login with their OpenID in place of a traditional username and password), #3 (Users authorized to use the OpenID Provider can delegate to a different provider), #4 (Users can add additional OpenIDs which they can use to login to WordPress), #5 (Users authorized to use the OpenID Provider can monitor which sites they've logged in to)
openid/openid.php 92% from 13 tests
This is the main PHP file of "OpenID" version 3.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 167 characters long)
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 detected14,518 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 3,087 | 6,657 | 12,169 |
PO File | 9 | 931 | 1,393 | 2,282 |
JavaScript | 2 | 12 | 14 | 48 |
CSS | 1 | 4 | 4 | 19 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 96 | |
▷ Abstract classes | 2 | 2.08% |
▷ Concrete classes | 94 | 97.92% |
▷ Final classes | 0 | 0.00% |
Methods | 573 | |
▷ Static methods | 67 | 11.69% |
▷ Public methods | 565 | 98.60% |
▷ Protected methods | 6 | 1.05% |
▷ Private methods | 2 | 0.35% |
Functions | 224 | |
▷ Named functions | 220 | 98.21% |
▷ Anonymous functions | 4 | 1.79% |
Constants | 77 | |
▷ Global constants | 77 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 15.90KB | 6.04KB | ▼ 62.02% |
f/icon.png | 1.57KB | 1.56KB | 0.44% |
screenshot-5.png | 53.03KB | 17.53KB | ▼ 66.95% |
screenshot-4.png | 49.40KB | 15.89KB | ▼ 67.83% |
screenshot-3.png | 26.64KB | 8.10KB | ▼ 69.60% |