Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼7.32ms] Passed 4 tests
An overview of server-side resources used by SSO vBulletin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 43.54 ▼0.22 |
Dashboard /wp-admin | 3.57 ▲0.22 | 55.52 ▼11.13 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.28 ▼1.60 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.75 ▼16.34 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 42.06 ▲6.67 |
SSO vBulletin /wp-admin/options-general.php?page=wvsso_options | 3.41 | 34.90 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 133 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for SSO vBulletin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.75 ▲0.35 | 1.84 ▼0.09 | 43.88 ▼0.58 |
Dashboard /wp-admin | 2,202 ▲25 | 5.70 ▲0.05 | 85.52 ▼10.21 | 40.01 ▼6.82 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.03 | 36.84 ▼4.92 | 33.24 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,548 ▲2 | 23.21 ▲0.02 | 665.10 ▲1.81 | 57.22 ▲3.59 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▼0.02 | 107.48 ▼3.24 | 49.44 ▲6.64 |
SSO vBulletin /wp-admin/options-general.php?page=wvsso_options | 961 | 2.16 | 23.36 | 27.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- 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)
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 take a closer look at the following
- 74× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Processor\\MemoryProcessor' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/MandrillHandler.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php:33
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Log\\LoggerInterface' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Logger.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/RavenHandler.php:25
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sso-vbulletin/vendor/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php:24
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: authentication, login, vbulletin, bridge, user management...
sso-vbulletin/sso-vbulletin.php Passed 13 tests
The principal PHP file in "SSO vBulletin" v. 1.2.0 is loaded by WordPress automatically on each request
92 characters long description:
The SSO vBulletin allows you to synchronize the WordPress authentication with the vBulletin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin8,088 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 1,841 | 4,555 | 7,657 |
JSON | 5 | 0 | 0 | 304 |
JavaScript | 2 | 12 | 2 | 65 |
CSS | 1 | 7 | 0 | 49 |
Markdown | 1 | 8 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 5 | |
Traits | 2 | |
Classes | 98 | |
▷ Abstract classes | 7 | 7.14% |
▷ Concrete classes | 91 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 581 | |
▷ Static methods | 32 | 5.51% |
▷ Public methods | 387 | 66.61% |
▷ Protected methods | 140 | 24.10% |
▷ Private methods | 54 | 9.29% |
Functions | 80 | |
▷ Named functions | 60 | 75.00% |
▷ Anonymous functions | 20 | 25.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin