Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▲5.68ms] Passed 4 tests
An overview of server-side resources used by Wild Apricot Login
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 42.97 ▲3.27 |
Dashboard /wp-admin | 4.01 ▲0.70 | 51.23 ▲8.03 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 48.28 ▲3.54 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 87.89 ▲9.33 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 41.10 ▲7.89 |
Wild Apricot Login /wp-admin/options-general.php?page=wa_integration_settings_page | 3.85 | 34.69 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 67 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_wa_login_widget |
wa_integration_options |
db_upgraded |
wa_integration_settings |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Wild Apricot Login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲58 | 14.28 ▼0.08 | 1.65 ▲0.04 | 40.52 ▲1.68 |
Dashboard /wp-admin | 2,196 ▲18 | 5.58 ▼0.09 | 86.54 ▼13.06 | 39.28 ▼1.60 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.07 | 34.89 ▼2.61 | 34.48 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 18.22 ▼4.63 | 625.94 ▲22.66 | 59.11 ▲3.07 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.01 | 95.22 ▼12.92 | 43.71 ▼0.39 |
Wild Apricot Login /wp-admin/options-general.php?page=wa_integration_settings_page | 869 | 1.71 | 25.25 | 26.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_wa_login_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 30× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WA_Modules_Base_Module' not found in wp-content/plugins/wild-apricot-login/Modules/Authorization/Module.php:3
- > PHP Fatal error
Uncaught Error: Class 'WA_Modules_Base_ShortCode' not found in wp-content/plugins/wild-apricot-login/Modules/ContentRestriction/ShortCode.php:3
- > PHP Fatal error
Uncaught Error: Interface 'WA_Modules_Interfaces_IModule' not found in wp-content/plugins/wild-apricot-login/Modules/Interfaces/ISettingsManager.php:3
- > PHP Fatal error
Uncaught Error: Class 'WA_Modules_Base_Options' not found in wp-content/plugins/wild-apricot-login/Modules/Core/Session/Data.php:3
- > PHP Fatal error
Uncaught Error: Interface 'WA_Modules_Interfaces_ISetting' not found in wp-content/plugins/wild-apricot-login/Modules/Base/Setting/Base.php:3
- > PHP Fatal error
Uncaught Error: Class 'WA_Modules_Base_Setting_Text' not found in wp-content/plugins/wild-apricot-login/Modules/Authorization/Settings/LoginButtonLabel.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wild-apricot-login/Modules/Authorization/WaLogin/Widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WA_Modules_Base_ShortCode' not found in wp-content/plugins/wild-apricot-login/Modules/Authorization/WaLogin/ShortCode.php:3
- > PHP Fatal error
Uncaught Error: Interface 'WA_Modules_Interfaces_ISessionManager' not found in wp-content/plugins/wild-apricot-login/Modules/Core/Session/Manager.php:3
- > PHP Fatal error
Uncaught Error: Class 'WA_Modules_Base_Setting_HiddenText' not found in wp-content/plugins/wild-apricot-login/Modules/Core/Settings/ApiCredentials.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
6 plugin tags: wild apricot, events, members, single sign-on, membership management...
wild-apricot-login/wild-apricot-login.php Passed 13 tests
Analyzing the main PHP file in "Wild Apricot Login" version 1.0.15
110 characters long description:
Provides single sign-on service for Wild Apricot members to provide access to restricted Wild Apricot content.
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
There were no executable files found in this plugin4,158 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 57 | 887 | 37 | 3,844 |
JavaScript | 5 | 53 | 0 | 280 |
CSS | 1 | 4 | 0 | 34 |
PHP code Passed 2 tests
This is a very shot review 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.27 |
Average class complexity | 7.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 389 | |
▷ Static methods | 28 | 7.20% |
▷ Public methods | 308 | 79.18% |
▷ Protected methods | 24 | 6.17% |
▷ Private methods | 57 | 14.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 97 | |
▷ Global constants | 1 | 1.03% |
▷ Class constants | 96 | 98.97% |
▷ Public constants | 96 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Modules/ContentRestriction/img/wa_restricted_shortcode_editor_button.png | 0.38KB | 0.32KB | ▼ 15.90% |
Modules/Authorization/img/wa_login_shortcode_editor_button.png | 0.44KB | 0.37KB | ▼ 14.92% |