Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.16MB] [CPU: ▼21.38ms] Passed 4 tests
Server-side resources used by WP OAuth Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 27.94 ▼8.80 |
Dashboard /wp-admin | 3.21 ▼0.14 | 33.18 ▼36.61 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 32.65 ▼12.20 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 66.30 ▼27.90 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 28.70 ▼1.78 |
Meetup Login /wp-admin/options-general.php?page=woi_meetup_settings | 3.18 | 39.54 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP OAuth Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.38 ▼0.14 | 1.65 ▼0.29 | 43.81 ▼0.04 |
Dashboard /wp-admin | 2,199 ▲21 | 5.64 ▼0.22 | 94.95 ▼16.38 | 42.78 ▲0.04 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▲0.02 | 34.82 ▼2.00 | 32.20 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.57 ▼0.13 | 640.59 ▼44.27 | 48.06 ▼6.96 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.01 | 95.84 ▼3.25 | 43.55 ▼1.33 |
Meetup Login /wp-admin/options-general.php?page=woi_meetup_settings | 929 | 1.99 | 22.59 | 26.47 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 6 options in the database
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WP_OAuth_Integration_Main::uninstall() should not be called statically
- The plugin did not uninstall correctly, leaving 14 files (0.08MB) in the plugin directory
- (new file) includes/lib/class-wp-oauth-integration-settings.php
- (new file) includes/lib/class-wp-oauth-integration-autoloader.php
- (new file) LICENSE
- (new file) includes/lib/class-wp-oauth-integration-client.php
- (new file) includes/assets/img/oauth-button.png
- (new file) includes/lib/class-wp-oauth-integration-mods.php
- (new file) includes/class-wp-oauth-integration-main.php
- (new file) includes/lib/class-wp-oauth-integration-factory.php
- (new file) includes/lib/class-wp-oauth-integration-login.php
- (new file) includes/helpers.php
- ...
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=woi_meetup_settings
- > Notice in wp-content/plugins/wp-oauth-integration/includes/lib/class-wp-oauth-integration-mods.php+34
Trying to access array offset on value of type bool
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-oauth-integration/wp-oauth-integration.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: oauth provider, oauth, oauth2 service, oauth2, oauth client...
wp-oauth-integration/wp-oauth-integration.php Passed 13 tests
The main PHP file in "WP OAuth Integration" ver. 0.1.3 adds more information about the plugin and also serves as the entry point for this plugin
68 characters long description:
Allow users to login/register via their different provider accounts.
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
There were no executable files found in this plugin793 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 332 | 385 | 793 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 73 | |
▷ Static methods | 23 | 31.51% |
▷ Public methods | 56 | 76.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 23.29% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/oauth-button.png | 3.83KB | 2.19KB | ▼ 42.82% |