Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method loginviaexchange::activation_hook() should not be called statically
Server metrics [RAM: ▼0.92MB] [CPU: ▼34.69ms] Passed 4 tests
This is a short check of server-side resources used by Login via exchange
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.39 ▲1.45 |
Dashboard /wp-admin | 3.02 ▼0.28 | 23.00 ▼29.46 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 23.16 ▼36.26 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.86 | 25.36 ▼59.93 |
Media Library /wp-admin/upload.php | 3.02 ▼0.20 | 27.26 ▼13.09 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
loginviaexchange_version |
db_upgraded |
loginviaexchange_ews_url |
theysaidso_admin_options |
loginviaexchange_allow_wp_user |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Login via exchange
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.72 ▲0.46 | 1.61 ▼0.14 | 42.24 ▼5.04 |
Dashboard /wp-admin | 2,211 ▲37 | 5.56 ▼0.08 | 87.90 ▼7.96 | 40.25 ▼2.91 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.00 ▲0.01 | 38.74 ▲3.73 | 35.20 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,539 ▼9 | 23.26 ▲4.87 | 680.27 ▼8.08 | 57.05 ▼7.12 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.17 ▲0.00 | 98.49 ▼3.61 | 42.19 ▼5.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method loginviaexchange::admin_menu_action() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/login-via-exchange/login-via-exchange.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: ews, asmx, owa, exchange, authentication...
login-via-exchange/login-via-exchange.php Passed 13 tests
This is the main PHP file of "Login via exchange" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
52 characters long description:
Authenticate WordPress against exchange web service.
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 plugin135 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 29 | 135 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin