Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.56ms] Passed 4 tests
A check of server-side resources used by WP vBulletin SSO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 47.21 ▲0.17 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.25 ▼2.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.05 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.58 ▼15.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.85 ▲4.31 |
WP vBulletin SSO /wp-admin/options-general.php?page=wvsso_options | 3.27 | 33.90 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 136 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP vBulletin SSO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.71 ▼0.66 | 4.01 ▲1.76 | 39.92 ▼7.85 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.90 | 102.47 ▼1.09 | 37.46 ▼3.15 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.03 | 42.21 ▲1.31 | 36.07 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 23.37 ▲5.31 | 685.43 ▲37.25 | 53.90 ▼14.44 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.09 | 91.06 ▼10.65 | 40.12 ▼3.84 |
WP vBulletin SSO /wp-admin/options-general.php?page=wvsso_options | 962 | 2.07 | 23.74 | 23.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 75× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php:40
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/SamplingHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\BufferHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php:36
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/wp-vbulletin-sso/vendor/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2 in wp-vbulletin-sso/assets to your readme.txt
wp-vbulletin-sso/wp-vbulletin-sso.php Passed 13 tests
The main PHP script in "WP vBulletin SSO" version 1.3.5 is automatically included on every request by WordPress
95 characters long description:
The WP vBulletin SSO allows you to synchronize the WordPress authentication with the vBulletin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin8,637 lines of code in 130 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 118 | 1,890 | 4,753 | 7,920 |
JSON | 5 | 0 | 0 | 304 |
Markdown | 3 | 108 | 0 | 163 |
XML | 1 | 5 | 0 | 136 |
JavaScript | 2 | 12 | 2 | 65 |
CSS | 1 | 7 | 0 | 49 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 5 | |
Traits | 2 | |
Classes | 99 | |
▷ Abstract classes | 7 | 7.07% |
▷ Concrete classes | 92 | 92.93% |
▷ Final classes | 0 | 0.00% |
Methods | 589 | |
▷ Static methods | 32 | 5.43% |
▷ Public methods | 395 | 67.06% |
▷ Protected methods | 140 | 23.77% |
▷ Private methods | 54 | 9.17% |
Functions | 86 | |
▷ Named functions | 63 | 73.26% |
▷ Anonymous functions | 23 | 26.74% |
Constants | 85 | |
▷ Global constants | 33 | 38.82% |
▷ Class constants | 52 | 61.18% |
▷ Public constants | 52 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin