Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.20MB] [CPU: ▲11.69ms] Passed 4 tests
A check of server-side resources used by WordPress + Microsoft Office 365 / Azure AD | LOGIN
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.46 ▲0.99 | 47.36 ▲7.42 |
Dashboard /wp-admin | 4.56 ▲1.26 | 55.78 ▲6.64 |
Posts /wp-admin/edit.php | 4.68 ▲1.32 | 61.31 ▲15.35 |
Add New Post /wp-admin/post-new.php | 7.17 ▲1.28 | 104.52 ▲20.23 |
Media Library /wp-admin/upload.php | 4.49 ▲1.26 | 50.91 ▲17.36 |
Server storage [IO: ▲11.82MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 178 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress + Microsoft Office 365 / Azure AD | LOGIN
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲109 | 13.80 ▼0.54 | 7.90 ▲6.25 | 43.28 ▲0.75 |
Dashboard /wp-admin | 2,208 ▲28 | 5.93 ▲0.29 | 91.45 ▼7.11 | 42.74 ▼3.39 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.39 ▲0.42 | 42.08 ▲3.85 | 35.42 ▲2.07 |
Add New Post /wp-admin/post-new.php | 6,270 ▲4,744 | 21.77 ▼1.13 | 997.73 ▲374.67 | 41.26 ▼18.73 |
Media Library /wp-admin/upload.php | 1,422 ▲28 | 4.59 ▲0.36 | 113.78 ▲12.12 | 45.11 ▲1.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/Rijndael.php:64
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/RC4.php:54
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/Twofish.php:48
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\DES' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/TripleDES.php:46
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/DES.php:52
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/RC2.php:44
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/Blowfish.php:48
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Rijndael' not found in wp-content/plugins/wpo365-login/phpseclib/Crypt/AES.php:59
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\et\\SSH2' not found in wp-content/plugins/wpo365-login/phpseclib/Net/SFTP.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 33 tag instead of maximum 10
wpo365-login/wpo365-login.php 92% from 13 tests
The main PHP script in "WordPress + Microsoft Office 365 / Azure AD | LOGIN" version 25.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 298 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected43,707 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 7,821 | 16,875 | 38,916 |
XSD | 12 | 233 | 40 | 2,414 |
Markdown | 3 | 456 | 0 | 1,349 |
PO File | 2 | 160 | 337 | 583 |
JavaScript | 12 | 16 | 490 | 322 |
JSON | 3 | 0 | 0 | 80 |
CSS | 2 | 3 | 5 | 25 |
XML | 1 | 0 | 0 | 18 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 64.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 633.00 |
Average method complexity | 6.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 109 | |
▷ Abstract classes | 1 | 0.92% |
▷ Concrete classes | 108 | 99.08% |
▷ Final classes | 0 | 0.00% |
Methods | 1,305 | |
▷ Static methods | 330 | 25.29% |
▷ Public methods | 1,220 | 93.49% |
▷ Protected methods | 5 | 0.38% |
▷ Private methods | 80 | 6.13% |
Functions | 53 | |
▷ Named functions | 3 | 5.66% |
▷ Anonymous functions | 50 | 94.34% |
Constants | 375 | |
▷ Global constants | 21 | 5.60% |
▷ Class constants | 354 | 94.40% |
▷ Public constants | 354 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin