Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/Discover.php+64
Methods with the same name as their class will not be constructors in a future version of PHP; Auth_OpenID_ServiceEndpoint has a deprecated constructor
Server metrics [RAM: ▼1.83MB] [CPU: ▼55.31ms] Passed 4 tests
Server-side resources used by OpenID Delegation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.35 ▼37.72 |
Dashboard /wp-admin | 2.18 ▼1.12 | 5.82 ▼46.06 |
Posts /wp-admin/edit.php | 2.19 ▼1.18 | 5.50 ▼42.75 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.71 | 6.82 ▼94.69 |
Media Library /wp-admin/upload.php | 2.19 ▼1.05 | 7.91 ▼30.35 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for OpenID Delegation
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▼0.21 | 1.85 ▲0.01 | 45.03 ▲4.28 |
Dashboard /wp-admin | 2,198 ▲34 | 5.63 ▼0.01 | 98.60 ▼6.56 | 45.33 ▲3.49 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.03 | 35.29 ▼3.04 | 35.63 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.55 ▲0.47 | 676.06 ▲21.07 | 51.78 ▼12.84 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.19 ▼0.00 | 102.24 ▼4.47 | 42.80 ▼5.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/Discover.php+64
Methods with the same name as their class will not be constructors in a future version of PHP; Auth_OpenID_ServiceEndpoint has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 fix the following items
- 67× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(Auth/Yadis/PlainHTTPFetcher.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/Yadis/Yadis.php on line 20
- > PHP Fatal error
require_once(): Failed opening required 'Auth/OpenID/Interface.php' (include_path='.:/usr/share/php') in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/SQLStore.php on line 19
- > PHP Warning
require_once(Auth/OpenID/Extension.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/PAPE.php on line 11
- > PHP Warning
require_once(Auth/OpenID/SQLStore.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/SQLiteStore.php on line 12
- > PHP Warning
require_once(Auth/Yadis/Misc.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/URINorm.php on line 12
- > PHP Warning
require_once(Auth/OpenID/Interface.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/MemcachedStore.php on line 21
- > PHP Warning
require_once(Auth/Yadis/HTTPFetcher.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/Yadis/PlainHTTPFetcher.php on line 20
- > PHP Fatal error
require_once(): Failed opening required 'Auth/Yadis/XRDS.php' (include_path='.:/usr/share/php') in wp-content/plugins/wordpress-openid-delegation/lib/Auth/Yadis/XRIRes.php on line 7
- > PHP Warning
require_once(Auth/OpenID/Interface.php): failed to open stream: No such file or directory in wp-content/plugins/wordpress-openid-delegation/lib/Auth/OpenID/DumbStore.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/wordpress-openid-delegation/lib/Auth/OpenID.php on line 28
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Configure the plugin in the Settings -> General section)
wordpress-openid-delegation/openid-delegation.php 92% from 13 tests
The main PHP script in "OpenID Delegation" version 1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wordpress-openid-delegation.php" instead of "openid-delegation.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin9,131 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 2,235 | 5,051 | 9,127 |
Markdown | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 3.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 95 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 95 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 556 | |
▷ Static methods | 67 | 12.05% |
▷ Public methods | 556 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 90 | |
▷ Named functions | 90 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 70 | |
▷ Global constants | 70 | 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
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 71.81KB | 24.59KB | ▼ 65.76% |